Quote
Real-time trades data push of the subscribed security.
message PushTrade {
string symbol = 1;
int64 sequence = 2;
repeated Trade trade = 3;
}
Quote Permission RequiredFree
- US stocks: US LV1 included free by default (last ~1,000 ticks across pre-market, regular, after-hours, and overnight sessions).
- HK stocks: LV1 included by default (last ~1,000 ticks).
- US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)".
Push fields
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | Optional | Security code, for example: AAPL.US |
sequence | int64 | Optional | Sequence number |
trades | object[] | Optional | Trades data |
└ price | string | Optional | Price |
└ volume | int64 | Optional | Volume |
└ timestamp | int64 | Optional | Time of trading |
└ trade_type | string | Optional | Trade type |
└ direction | int32 | Optional | Trade direction: 0 neutral, 1 down, 2 up |
└ trade_session | int32 | Optional | Trade session, see TradeSession |
Response JSON example
{
"symbol": "700.HK",
"sequence": 160808750000000,
"trade": [
{
"price": "158.760",
"volume": 1,
"timestamp": 1651103979,
"trade_type": "I",
"direction": 0,
"trade_session": 2
}
]
}