rfq.open.trades
Description
Subscribe to RFQ open trades updates.
Request Path And Method
wss path:
/ws/private
method:
subscribe
Request Example
{
"params": {
"channels": [
"rfq.open.trades"
]
},
"rid": 4,
"method": "subscribe"
}
Parameters
No specific parameters required for this channel.
message
| Name | Type | Description |
|---|---|---|
| method | string | Equals to subscription |
| creationTime | int | Message creation time |
| channel | string | Equals to rfq.open.trades |
| result | array | Response data array |
| > blockRfqId | string | ID of the Block RFQ |
| > quoteId | string | Returns the executed quote ID for RFQs that have been filled |
| > quoteSide | number | Returns the execution direction (Buy or Sell) for RFQs that have been filled |
| > strategyType | string | Product strategy |
| > status | string | Status: Filled/Failed |
| > taker | string | The taker's deskCode, serving as a unique identifier. Not visible when anonymous |
| > maker | string | The maker's deskCode, serving as a unique identifier. Not visible when anonymous |
| > createdAt | long | The time in UNIX milliseconds since the epoch when the Quote was created |
| > updatedAt | long | The time in UNIX milliseconds since the epoch when the Quote was updated |
| > legs | array | Array of combination trade objects |
| >> kind | string | Product type: spot, linear, inverse, option |
| >> orderId | string | The exchange order ID |
| >> symbol | string | Instrument name |
| >> side | string | The direction of the leg |
| >> price | string | Execution price |
| >> quantity | string | Execution quantity |
| >> markPrice | string | Mark price at execution |
| >> fee | string | Execution fee |
| >> execId | string | Execution ID |
| >> resultCode | integer | Order status code, 0 indicates success |
| >> resultMessage | string | Error message, empty if successful |
| >> rejectParty | string | Rejecting party, empty if successful |