# Functions
根据args请求参数判断请求类型
如:{"channel": "account","ccy": "BTC"} 类型为 EVENT_BOOK_ACCOUNT
*/.
通过ErrorCode判断事件类型
*/.
从error返回中解析出对应的channel
error信息样例
{"event":"error","msg":"channel:index-tickers,instId:BTC-USDT1 doesn't exist","code":"60018"}
*/.
创建ws对象.
# Constants
instrument Type.
instrument Type.
操作符.
操作符.
操作符.
操作符.
instrument Type.
instrument Type.
instrument Type.
# Structs
服务端响应详细信息
Timestamp: 接受到消息的时间
Info: 接受到的消息字符串
*/.
订阅结果封装后的消息结构体
*/.
websocket.
# Type aliases
No description provided by the author
全局回调函数.
深度订阅推送数据回调函数.
普通订阅推送数据回调函数.
No description provided by the author