block_rfq.trades.{currency}

Description

Subscribe to Block RFQ trades updates for a specific currency.

Request Path And Method

wss path:

/ws/private

method:

private/subscribe

Request Example

{
  "method": "private/subscribe",
  "rid": 5,
  "params": {
    "channels": [
      "block_rfq.trades.any"
    ]
  }
}

Parameters

Parameter Type Required Description
currency string true The currency symbol or "any" for all. Valid values: BTC, ETH, USDC, USDT, EURR, any

Notification Message

Name Type Description
method string Equals to subscription
channel string Equals to block_rfq.trade
result object Response data
> quantity string This value multiplied by the ratio of a leg gives trade size on that leg
> comboId string Unique combo identifier
> side string Direction: buy, or sell
> hedge object Hedge information
>> quantity string It represents the requested hedge leg size. For perpetual and inverse futures the amount is in USD units. For options and linear futures and it is the underlying base currency coin
>> side string Direction: buy, or sell
>> instrumentName string Unique instrument identifier
>> price string Price for a hedge leg
> blockRfqId string ID of the Block RFQ
> legs array Trade legs
>> side string Direction
>> instrumentName string Unique instrument identifier
>> price string Price for a hedge leg
>> ratio string Ratio of amount between legs
> markPrice string Mark Price at the moment of trade
> timestamp long The timestamp of the trade (milliseconds since the UNIX epoch)
> trades array Trade details
>> quantity string Trade amount. For options, linear futures, linear perpetuals and spots the amount is denominated in the underlying base currency coin. The inverse perpetuals and inverse futures are denominated in USD units
>> side string Direction
>> hedgeQuantity string Amount of the hedge leg. For linear futures, linear perpetuals and spots the amount is denominated in the underlying base currency coin. The inverse perpetuals and inverse futures are denominated in USD units
>> price string Price in base currency

results matching ""

    No results matching ""