Quote

Quotes

WSRequest · cmd 11

This API is used to obtain the real-time quotes of securities, and supports all types of securities. To view these real-time data streams aggregated into live indices, sector heatmaps, and macro market overviews, you can reference the Longbridge Global Markets.

message MultiSecurityRequest {
  repeated string symbol = 1;
}

message SecurityQuoteResponse {
  repeated SecurityQuote secu_quote = 1;
}
Quote Permission RequiredFree
  • US stocks: US LV1 included free by default, covering pre-market, regular, after-hours, and overnight sessions. To receive overnight data, enable it via LONGBRIDGE_ENABLE_OVERNIGHT=true (see Q6 & Q7 in the Broker FAQ).
  • HK stocks: LV1 real-time quotes included by default.
  • US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)" in the Quote Store.

Request parameters

NameTypeRequiredDescription
symbolstring[]RequiredSecurity code list, in ticker.region format; max 500 symbols per request

Response fields

NameTypeRequiredDescription
secu_quoteobject[]OptionalSecurities quote
└ symbolstringOptionalSecurity code
└ last_donestringOptionalLatest price
└ prev_closestringOptionalYesterday's close
└ openstringOptionalOpen
└ highstringOptionalHigh
└ lowstringOptionalLow
└ timestampint64OptionalTime of latest price
└ volumeint64OptionalVolume
└ turnoverstringOptionalTurnover
└ trade_statusint32OptionalSecurity trading status
└ pre_market_quoteobjectOptionalQuote of US pre market
 └ last_donestringOptionalLatest price
 └ timestampint64OptionalTime of latest price
 └ volumeint64OptionalVolume
 └ turnoverstringOptionalTurnover
 └ highstringOptionalHigh
 └ lowstringOptionalLow
 └ prev_closestringOptionalClose of the last trade session
└ post_market_quoteobjectOptionalQuote of US post market
 └ last_donestringOptionalLatest price
 └ timestampint64OptionalTime of latest price
 └ volumeint64OptionalVolume
 └ turnoverstringOptionalTurnover
 └ highstringOptionalHigh
 └ lowstringOptionalLow
 └ prev_closestringOptionalClose of the last trade session
└ over_night_quoteobjectOptionalQuote of US overnight market; requires enable_overnight, returns null otherwise (US stocks only)
 └ last_donestringOptionalLatest price
 └ timestampint64OptionalTime of latest price
 └ volumeint64OptionalVolume
 └ turnoverstringOptionalTurnover
 └ highstringOptionalHigh
 └ lowstringOptionalLow
 └ prev_closestringOptionalClose of the last trade session

Response JSON example

{
  "secu_quote": [
    {
      "symbol": "700.HK",
      "last_done": "338.000",
      "prev_close": "334.800",
      "open": "340.600",
      "high": "340.600",
      "low": "333.000",
      "timestamp": 1651115955,
      "volume": 7310881,
      "turnover": "2461463161.000"
    }
  ]
}