詢價頻道
獲取用戶自己發送或接收的詢價信息。每當用戶自己發送或接收詢價時,數據將被推送。
主題: rfq.open.rfqs
響應參數
| 參數 | 類型 | 說明 |
|---|---|---|
| id | string | 消息 ID |
| topic | string | 主題名稱 |
| creationTime | int | 數據創建時間戳(毫秒) |
| data | array<object> | 詢價數據:返回並獲取實時詢價信息,與打開的詢價保持一致 |
| > rfqId | string | 詢價單 ID |
| > rfqLinkId | string | 詢價單的自定義 ID,客戶的敏感信息,不會向報價方披露,返回 ""。 |
| >counterparties | Array of strings | 投標方列表 |
| > expiresAt | string | 詢價單到期時間,Unix 時間戳的毫秒格式 |
| > strategyType | string | 詢價標籤 |
| > status | string | 詢價單狀態:Active(活躍)、Canceled(已取消)、PendingFill(待成交)、Filled(已成交)、Expired(已過期)、Failed(失敗) |
| > deskCode | string | 詢價方的唯一識別碼,如果在詢價期間設置為匿名,則不可見 |
| > createdAt | string | 交易創建的時間(毫秒),例如 1650380963 |
| > updatedAt | string | 交易更新的時間(毫秒),例如 1650380964 |
| > legs | Array of objects | 組合交易 |
| >> category | string | 類別。有效值包括:linear(線性)、option(期權) 和 spot(現貨) |
| >> symbol | string | 交易對名稱 |
| >> side | string | 詢價方向。有效值為 buy(買入) 和 sell(賣出) |
| >> qty | string | 合約的訂單數量 |
訂閱示例
{
"op": "subscribe",
"args": [
"rfq.open.rfqs"
]
}
資料流示例
{
"topic": "rfq.open.rfqs",
"creationTime": 1757482013792,
"data": [
{
"rfqLinkId": "",
"rfqId": "1757482013783362721227613524547439",
"counterparties": [
"test0904"
],
"strategyType": "custom",
"expiresAt": "1757482613784",
"status": "Active",
"deskCode": "1nu9d1",
"createdAt": "1757482013784",
"updatedAt": "1757482013784",
"legs": [
{
"category": "linear",
"symbol": "BTCUSDT",
"side": "Buy",
"qty": "5"
}
]
}
]
}