为何币安U本合约 wss有限深度 返回的json有两个a数组

为何币安U本合约 wss有限深度 返回的json有两个a数组
{
“stream”: “steemusdt@depth20@100ms”,
“data”: {
“e”: “depthUpdate”,
“E”: 1710014167252,
“T”: 1710014167147,
“s”: “STEEMUSDT”,
“U”: 4142860908982,
“u”: 4142860908982,
“pu”: 4142860863554,
“b”: [
[
“0.337800”,
“8812”
],
[
“0.337700”,
“13333”
],
[
“0.337600”,
“24051”
],
[
“0.337500”,
“19789”
],
[
“0.337400”,
“25676”
],
[
“0.337300”,
“32597”
],
[
“0.337200”,
“22832”
],
[
“0.337100”,
“28809”
],
[
“0.337000”,
“97071”
],
[
“0.336900”,
“48565”
],
[
“0.336800”,
“23977”
],
[
“0.336700”,
“10267”
],
[
“0.336600”,
“4524”
],
[
“0.336500”,
“5253”
],
[
“0.336400”,
“30016”
],
[
“0.336300”,
“4875”
],
[
“0.336200”,
“14382”
],
[
“0.336100”,
“19914”
],
[
“0.336000”,
“4946”
],
[
“0.335900”,
“20401”
]
],
“a”: [
[
“0.337900”,
“2003”
],
[
“0.338000”,
“7760”
],
[
“0.33810025”
],
[
“0.1583”,
“38012”
],
[
“0.1582”,
“40778”
],
[
“0.1581”,
“92201”
],
[
“0.1580”,
“198090”
],
[
“0.1579”,
“9128”
],
[
“0.1578”,
“7368”
]
],
“a”: [
[
“0.1598”,
“12843”
],
[
“0.1599”,
“86095”
],
[
“0.1600”,
“133274”
],
[
“0.1601”,
“132017”
],
[
“0.1602”,
“178072”
],
[
“0.1603”,
“86560”
],
[
“0.1604”,
“296352”
],
[
“0.1605”,
“137329”
],
[
“0.1606”,
“73482”
],
[
“0.1607”,
“172814”
],
[
“0.1608”,
“62273”
],
[
“0.1609”,
“72633”
],
[
“0.1610”,
“39048”
],
[
“0.1611”,
“31070”
],
[
“0.1612”,
“32477”
],
[
“0.1613”,
“70471”
],
[
“0.1614”,
“27379”
],
[
“0.1615”,
“19388”
],
[
“0.1616”,
“156046”
],
[
“0.1617”,
“8983”
]
]
}
}

应该您的代码哪里出了问题? 我这边douOK,可以看下面参考:

aisling$ websocat -v wss://fstream.binance.com/ws/btcusdt@depth5 | jq '.'
[INFO  websocat::lints] Auto-inserting the line mode
[INFO  websocat::stdio_threaded_peer] get_stdio_peer (threaded)
[INFO  websocat::ws_client_peer] get_ws_client_peer
[INFO  websocat::ws_client_peer] Connected to ws
{
  "e": "depthUpdate",
  "E": 1710744970459,
  "T": 1710744970458,
  "s": "BTCUSDT",
  "U": 4214056505858,
  "u": 4214056537789,
  "pu": 4214056503412,
  "b": [
    [
      "68572.40",
      "9.144"
    ],
    [
      "68572.30",
      "2.863"
    ],
    [
      "68572.20",
      "0.044"
    ],
    [
      "68571.90",
      "1.297"
    ],
    [
      "68571.80",
      "0.269"
    ]
  ],
  "a": [
    [
      "68572.50",
      "0.174"
    ],
    [
      "68572.60",
      "0.011"
    ],
    [
      "68573.00",
      "0.029"
    ],
    [
      "68573.10",
      "0.013"
    ],
    [
      "68573.40",
      "0.002"
    ]
  ]
}