{
"op": "subscribe",
"channel": "quotes",
"symbols": [
"600000.SH",
"000001.SZ"
]
}{
"op": "unsubscribe",
"channel": "depth",
"symbols": [
"600000.SH"
]
}{
"op": "subscribed",
"channel": "quotes",
"symbols": [
"600000.SH",
"000001.SZ"
],
"total": 2
}{
"op": "quotes",
"data": [
{
"symbol": "600000.SH",
"region": "CN",
"last_price": 9.72,
"prev_close": 9.78,
"open": 9.78,
"high": 9.78,
"low": 9.68,
"volume": 426585,
"amount": 422430500,
"timestamp": 1776754802000,
"ext": {
"type": "cn_equity",
"name": "浦发银行",
"change_pct": -0.006135,
"change_amount": -0.06,
"amplitude": 0.010225,
"turnover_rate": 0.001281
}
}
]
}{
"op": "depth",
"data": [
{
"symbol": "600000.SH",
"region": "CN",
"timestamp": 1776754802000,
"bid_prices": [
9.72,
9.71,
9.7,
9.69,
9.68
],
"bid_volumes": [
3192,
3870,
26168,
5849,
5480
],
"ask_prices": [
9.73,
9.74,
9.75,
9.76,
9.77
],
"ask_volumes": [
74,
1602,
1148,
1209,
1109
]
}
]
}{
"op": "error",
"message": "no permission for channel: depth"
}统一推送接口,按频道(channel)订阅行情和市场深度。
支持频道: quotes(需 WebSocket 实时行情权限)、depth(需市场深度权限)。
Documentation Index
Fetch the complete documentation index at: https://docs.tickflow.org/llms.txt
Use this file to discover all available pages before exploring further.
{
"op": "subscribe",
"channel": "quotes",
"symbols": [
"600000.SH",
"000001.SZ"
]
}{
"op": "unsubscribe",
"channel": "depth",
"symbols": [
"600000.SH"
]
}{
"op": "subscribed",
"channel": "quotes",
"symbols": [
"600000.SH",
"000001.SZ"
],
"total": 2
}{
"op": "quotes",
"data": [
{
"symbol": "600000.SH",
"region": "CN",
"last_price": 9.72,
"prev_close": 9.78,
"open": 9.78,
"high": 9.78,
"low": 9.68,
"volume": 426585,
"amount": 422430500,
"timestamp": 1776754802000,
"ext": {
"type": "cn_equity",
"name": "浦发银行",
"change_pct": -0.006135,
"change_amount": -0.06,
"amplitude": 0.010225,
"turnover_rate": 0.001281
}
}
]
}{
"op": "depth",
"data": [
{
"symbol": "600000.SH",
"region": "CN",
"timestamp": 1776754802000,
"bid_prices": [
9.72,
9.71,
9.7,
9.69,
9.68
],
"bid_volumes": [
3192,
3870,
26168,
5849,
5480
],
"ask_prices": [
9.73,
9.74,
9.75,
9.76,
9.77
],
"ask_volumes": [
74,
1602,
1148,
1209,
1109
]
}
]
}{
"op": "error",
"message": "no permission for channel: depth"
}按频道和标的列表订阅,订阅成功后推送缓存快照
按频道退订指定标的
subscribe / unsubscribe 操作后返回该频道的完整订阅列表
实时行情数据,仅包含已订阅且有更新的标的
五档盘口数据,仅包含已订阅 depth 频道且有更新的标的
操作失败时返回的错误信息