跳至主要内容

執行報價

執行報價,僅限詢價單的創建者使用。每秒最多 50 次請求

信息
  • 執行成功,只是已經發送撮合,並不能說明訂單已經成交,用戶需要通過査詢介面/v5/rfq/trade-list或監聽toipic:rfq.open.trades來獲取執行結果

HTTP 請求

POST /v5/rfq/execute-quote

請求參數

參數是否必需類型說明
rfqIdtruestring詢價單 ID
quoteIdtruestring報價單 ID
quoteSidetruestring報價方向,BuySell 。當報價方向為 Buy 時,對於 maker,執行方向與 legs 中的方向一致,對於 taker 則相反;反之亦然

響應參數

參數類型說明
resultobject
> rfqIdstring詢價單 ID
> rfqLinkIdstring自定義詢價單 ID
> quoteIdstring報價單 ID
> statusstring訂單狀態:
  • 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
}