Block RFQ - Trades
Channel
block_rfq.trades.{accountId}.any
Description
Subscribe to Block RFQ trades updates.
Subscription Method
private/subscribe
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| accountId | string | true | Account ID |
Request Example
{
"method": "private/subscribe",
"rid": 2,
"params": {
"channels": [
"block_rfq.trades.123235.any"
]
}
}
Message
| Name | Type | Description |
|---|---|---|
| blockTrades | array of objects | |
| > tradeId | string | Unique (per currency) trade identifier |
| > blockRfqId | string | ID of the Block RFQ |
| > blockTradeId | string | ID of the Block Trade |
| > quoteId | string | ID of the Block RFQ Quote, only maker role |
| > status | string | Trade status. |
| > failReason | string | Why this block trade is failed. |
| > trades | array | |
| >> tradeId | String | Trade id. |
| >> quantity | string | This value multiplied by the ratio of a leg gives trade size on that leg. |
| >> quantityIn | string | Quantity currency |
| >> side | string | Direction: buy, or sell |
| >> price | string | Trade price |
| >> priceIn | string | price currency |
| >> fee | string | Trade fee |
| >> feeCurrency | string | Trade fee currency |
| >> indexPrice | string | Index Price at the moment of trade |
| >> timestamp | bigint | The timestamp of the trade (milliseconds since the UNIX epoch) |
| >> markPrice | string | Mark Price at the moment of trade |
| >> instrumentName | string | Unique instrument identifier |
| >> underlyingPrice | string | Underlying price for implied volatility calculations (Options only) |