Interface: AdvTradeGlobalPublicTrade
Properties
| Property | Type | Description |
|---|---|---|
amount | number | Trade size. Use base-coin units for spot, options, and linear instruments, including linear perpetuals; use USD for inverse futures and inverse perpetuals. |
block_rfq_id? | number | ID of the Block RFQ - when trade was part of the Block RFQ |
block_trade_id? | string | Block trade id - when trade was part of a block trade |
block_trade_leg_count? | number | Block trade leg count - when trade was part of a block trade |
combo_id? | string | Optional field containing combo instrument name if the trade is a combo trade |
combo_trade_id? | string | Optional field containing combo trade identifier if the trade is a combo trade |
contracts? | number | Trade size in contract units (optional, may be absent in historical trades) |
direction | AdvTradeGlobalDirection | Trade direction of the taker |
index_price | number | Index Price at the moment of trade |
instrument_name | string | Unique instrument identifier |
iv? | number | Option implied volatility for the price (Option only) |
liquidation? | "M" | "T" | "MT" | Optional field (only for trades caused by liquidation): "M" when maker side of trade was under liquidation, "T" when taker side was under liquidation, "MT" when both sides of trade were under liquidation |
mark_price | number | Mark Price at the moment of trade |
price | number | The price of the trade |
starbase_match_id? | number | Optional field containing the Starbase match identifier (present only for trades matched via Starbase) |
starbase_timestamp? | number | Optional field: the Starbase causal timestamp of the trade, in nanoseconds since the UNIX epoch (present only for trades matched in Starbase) |
tick_direction | number | Direction of the "tick" (0 = Plus Tick, 1 = Zero-Plus Tick, 2 = Minus Tick, 3 = Zero-Minus Tick). |
timestamp | number | The timestamp of the trade (milliseconds since the UNIX epoch) |
trade_id | string | Unique (per currency) trade identifier |
trade_seq | number | The sequence number of the trade within instrument |