行情
仅支持 Longbridge 香港 / 新加坡账户
此方法仅支持 Longbridge 香港 / 新加坡账户,可操作任意标的,包括美股。
已订阅标的的实时经纪队列数据推送。
message PushBrokers {
string symbol = 1;
int64 sequence = 2;
repeated Brokers ask_brokers = 3;
repeated Brokers bid_brokers = 4;
}
行情权限要求仅港股LV2 高级行情
- 港股特有数据,提供前 40 个买卖盘经纪队列。
- 默认无权限,需到行情商店购买「LV2 高级行情 - Plus (OpenAPI)」行情卡。
推送字段
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
symbol | string | 可选 | 标的代码,例如:AAPL.US |
sequence | int64 | 可选 | 序列号 |
ask_brokers | object[] | 可选 | 卖盘经纪队列 |
└ position | int32 | 可选 | 档位 |
└ broker_ids | int32[] | 可选 | 券商席位 Id |
bid_brokers | object[] | 可选 | 买盘经纪队列 |
└ position | int32 | 可选 | 档位 |
└ broker_ids | int32[] | 可选 | 券商席位 Id |
响应 JSON 示例
{
"symbol": "700.HK",
"sequence": 160808750000000,
"ask_brokers": [
{
"position": 1,
"broker_ids": [
7358,
9057,
9028,
7364
]
}
],
"bid_brokers": [
{
"position": 1,
"broker_ids": [
6996,
5465,
8026,
8304,
4978
]
}
]
}