Quote

Depth Subscription

WSPush · cmd 102

Real-time depth data push of the subscribed security.

message PushDepth {
  string symbol = 1;
  int64 sequence = 2;
  repeated Depth ask = 3;
  repeated Depth bid = 4;
}
Quote Permission RequiredFree
  • US stocks: US LV1 1-level bid/ask included free by default (pre-market, regular, after-hours, and overnight sessions).
  • HK stocks: LV1 1-level bid/ask included by default; 10-level order book requires "LV2 Advanced Quotes - Plus (OpenAPI)".
  • US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)".

Push fields

NameTypeRequiredDescription
symbolstringOptionalSecurity code, for example: AAPL.US
sequenceint64OptionalSequence number
askobject[]OptionalAsk depth
└ positionint32OptionalPosition
└ pricestringOptionalPrice
└ volumeint64OptionalVolume
└ order_numint64OptionalNumber of orders
bidobject[]OptionalBid depth
└ positionint32OptionalPosition
└ pricestringOptionalPrice
└ volumeint64OptionalVolume
└ order_numint64OptionalNumber of orders

Response JSON example

{
  "symbol": "700.HK",
  "sequence": 160808750000000,
  "ask": [
    {
      "position": 1,
      "price": "335.000",
      "volume": 500,
      "order_num": 1
    }
  ],
  "bid": [
    {
      "position": 1,
      "price": "334.800",
      "volume": 69400,
      "order_num": 13
    }
  ]
}