Skip to main content

Execution

Obtain the user's own block trade information. All legs in the same block trade are included in the same update. As long as the user performs block trade as a counterparty, the data will be pushed.

Topic: rfq.open.trades

Response Parameters

ParameterTypeComments
idstringMessage ID
topicstringTopic name
creationTimeintData created timestamp (ms)
dataarrayObject
dataarray
> rfqIdstringInquiry ID
> rfqLinkIdstringCustom RFQ ID. Not publicly disclosed.
> quoteIdstringQuote ID
> quoteLinkIdstringCustom quote ID. Not publicly disclosed.
> quoteSidestringReturn of completed inquiry, executed quote direction, buy or sell
> strategyTypestringInquiry label
> statusstringStatus: Filled , Failed
> rfqDeskCodestringThe unique identification code of the inquiry party, which is not visible when anonymous is set to true during inquiry
> quoteDeskCodestringThe unique identification code of the quoting party, which is not visible when anonymous is set to true during quotation
> createdAtstringTime (ms) when the trade is created in epoch, such as 1650380963
> updatedAtstringTime (ms) when the trade is updated in epoch, such as 1650380964
> legsarray of objectsCombination transaction
>> categorystringcategory. Valid values include: linear, option and spot
>> orderIdstringbybit order id
>> symbolstringsymbol name
>> sidestringDirection, valid values are buy and sell
>> pricestringExecution price
>> qtystringNumber of executions
>> markPricestringThe markPrice (contract) at the time of transaction, and the spot price is indexPrice
>> execFeestringThe fee for taker or maker in the base currency paid to the Exchange executing the Block Trade.
>> execIdstringThe unique exec(trade) ID from the exchange
>> resultCodeintegerThe status code of the this order. "0" means success
>>resultMessagestringError message about resultCode. If resultCode is "0", resultMessage is "".
>> rejectPartystringEmpty if status is Filled. Valid values: Taker or Maker if status is Rejected,"rejectParty=bybit" to indicate errors that occur on the Bybit side.

Subscribe Example

{
"op": "subscribe",
"args": [
"rfq.open.trades"
]
}

Stream Example

{
"topic": "rfq.open.trades",
"creationTime": 1757578749474,
"data": [
{
"rfqId": "1757578410512325974246073709371267",
"rfqLinkId": "",
"quoteId": "1757578719388835162295211364781592",
"quoteLinkId": "",
"quoteSide": "Buy",
"strategyType": "custom",
"status": "Filled",
"rfqDeskCode": "1nu9d1",
"quoteDeskCode": "test0904",
"legs": [
{
"category": "linear",
"symbol": "BTCUSDT",
"side": "Buy",
"price": "91600",
"qty": "1",
"orderId": "64fe4108-555e-4361-ae2d-3a8d0c292859",
"markPrice": "91741.11",
"execFee": "-1.374",
"execId": "42b8be1e-36cf-4aba-bb75-4602cc11df37",
"resultCode": 0,
"resultMessage": "",
"rejectParty": ""
}
],
"createdAt": "1757578749361",
"updatedAt": "1757578749464"
}
]
}