实时推送(Server-Sent Events)
Stream
实时推送(Server-Sent Events)
WebSocket 的只读 SSE 备选,适合无法直接使用 WS 的客户端。订阅在请求时通过 query 一次性指定,连接断开即取消。事件以 event: push(业务推送)、event: ack(订阅确认)、event: error(错误)三种类型下发,每条事件的 data 字段为 JSON 字符串,结构与 WebSocket 完全一致。
GET
实时推送(Server-Sent Events)
Authorizations
Financial Context key generated from account settings. Send it as x-api-key: <key>.
Query Parameters
逗号分隔的 symbol 列表,例如 700.HK,AAPL.US。
逗号分隔的订阅类型;可选值 quote,depth,broker,trade。
Response
SSE 流
The response is of type string.