推送规则
- 需用户登录
- 订阅后有变化才推送
请求
请求
{"action":"subscribe","args":["<channel:currency>","<channel:currency>"]}
- action:
subscribe - channel: 频道名, 如
futures/asset, 固定值 - currency: 币种, 如
BTC, 支持订阅的资产类型有:USDT(U本位)、BTC(币本位)、ETH(币本位)
返回
返回
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
请求
{
"action":"subscribe",
"args":["futures/asset:USDT", "futures/asset:BTC", "futures/asset:ETH"]
}
{"action":"subscribe","args":["<channel:currency>","<channel:currency>"]}
subscribefutures/asset, 固定值BTC, 支持订阅的资产类型有:USDT(U本位)、BTC(币本位)、ETH(币本位)返回
{
"group": "futures/asset:BTC",
"data": {
"currency": "BTC",
"available_balance": "1000",
"position_deposit": "1000",
"frozen_balance": "1000"
}
}
| 字段 | 数据类型 | 描述 |
|---|---|---|
| currency | String | 币种 |
| available_balance | String | 可用金额 |
| position_deposit | String | 仓位保证金 |
| frozen_balance | String | 交易冻结金额 |