執行報價
執行報價,僅限詢價單的創建者使用。每秒最多 50 次請求
信息
HTTP 請求
POST /v5/rfq/execute-quote
請求參數
| 參數 | 是否必需 | 類型 | 說明 |
|---|---|---|---|
| rfqId | true | string | 詢價單 ID |
| quoteId | true | string | 報價單 ID |
| quoteSide | true | string | 報價方向,Buy 或 Sell 。當報價方向為 Buy 時,對於 maker,執行方向與 legs 中的方向一致,對於 taker 則相反;反之亦然 |
響應參數
| 參數 | 類型 | 說明 |
|---|---|---|
| result | object | |
| > rfqId | string | 詢價單 ID |
| > rfqLinkId | string | 自定義詢價單 ID |
| > quoteId | string | 報價單 ID |
| > status | string | 訂單狀態: PendingFill:已經發送撮合,待執行,執行結果需要通過査詢/v5/rfq/trade-list獲取或者監聽rfq.open.trades獲取Failed:驗證失敗 |
請求示例
POST /v5/rfq/execute-quote HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1744083949347
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 115
{
"rfqId":"1754364447601610516653123084412812",
"quoteId": "111",
"quoteSide":"Buy"
}
響應示例
{
"retCode": 0,
"retMsg": "OK",
"result": {
"rfqId": "175740700350925204128457980089654",
"rfqLinkId": "",
"quoteId": "1757407015586174663206671159484665",
"status": "PendingFill"
},
"retExtInfo": {},
"time": 1757407058177
}