Real-time market data for futures trading.
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange. |
instrument | string | The asset pair |
timestamp | number | The time at which the funding rate took place. |
insertionTimestamp | number | The time at which the funding rate insert to database |
fundingInterval | number | null | The interval funding |
fundingRate | number | The funding rate value |
nextFundingRate | number | The next funding rate for which data is available. |
nextFundingTime | number | null | The next funding time for which data is available. |
isActualFundingRate | boolean | If true , then it’s the actual funding rate that has been realized and applied. If false , then it’s a projected/estimated funding rate for an upcoming funding interval. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange. |
instrument | string | The asset pair |
timestamp | number | The time at which the insurance fund took place. |
fund | number | The insurance fund value |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
timestamp | number | The time at which the liquidation took place. |
price | number | The price at which the liquidation occurred. |
side | string | Indicates whether the liquidated position was a buy or sell. |
status | string | The status of the order at the time of the message. |
type | string | The type of order that was liquidated. |
timeInForce | string | Describes how long an order will remain active before it is executed or expires. |
action | string | This field will show as null for all exchanges except Bitmex. |
orderId | An identifier for the specific order that was liquidated (this field will show as null for most exchanges except Deribit and Bitmex). | |
volume | number | The amount of the asset that was liquidated. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
timestamp | number | The time at which the long/short ratio was updated. |
longAccount | number | The proportion of accounts on the long side of the futures contract. |
ratio | number | The long/short ratio. |
shortAccount | number | The proportion of accounts on the short side of the futures contract. |
period | number | The frequency of the timeInterval. When timeInterval=minutes , the period is 5 , indicating 5 minutes. When timeInterval=days , the period is 1 , indicating 1 day. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
timestamp | number | The timestamp associated with this record in UTC. |
open | number | The price at which the first trade occurred during the specified period. |
high | number | The highest price at which a trade took place during the period. |
low | number | The lowest price at which a trade occurred during the period. |
close | number | The price at which the last trade occurred during the specified period. |
volume | number | The total quantity traded during the period. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
timestamp | number | The time at which the data was received. |
value | string | The total open interest for the specified instrument. |
type | string | The type of futures contract. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
timestamp | number | The timestamp at which the order book event took place. |
exchangeTimestamp | number | The timestamp at which the event was recorded by the exchange. |
exchangeTimestampNanoseconds | number | The nanosecond timestamp at which the event was recorded by the exchange. |
receivedTimestamp | number | The timestamp for when the update was received by our system. |
receivedTimestampNanoseconds | number | The nanosecond timestamp for when the update was received by our system. |
isBid | boolean | A boolean value indicating whether the data pertains to bid orders (true) or ask orders (false). |
data[0] | number | The price level of the order(s). |
data[1] | number | The quantity of the contract(s) at that price level. |
data[2] | number | The number of individual orders at the specified price level. |
sequence | number | A unique identifier for the order book event. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. (REQUIRED) |
exchange | string | The exchange for which to retrieve asset instruments. (OPTIONAL) |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
timestamp | number | The time at which the order book snapshot took place. |
exchangeTimestamp | number | The timestamp at which the event was recorded by the exchange. |
isBid | boolean | A boolean indicator of whether the orders in the snapshot are buy (bid) orders. |
data[0] | number | The price level of the order. |
data[1] | number | The quantity of the asset available at the specified price level. |
data[2] | number | The number of individual orders that are aggregated at the specified price level. |
sequence | number | A unique identifier for the order book state. |
currentFunding | number | The current funding rate for perpetual futures contracts. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
exchangeTimestamp | number | The exchange provided timestamp. |
exchangeTimestampNanoseconds | number | The exchange provided nanosecond part of the exchangeTimestamp (if available from the exchange). |
timestamp | number | The timestamp at which the event took place. |
bid | number | The bid of the instrument. |
ask | number | The ask of the instrument. |
mid | number | The mid of the instrument. |
last | number | The last of the instrument. |
sequence | number | The sequence number (equal to null if it is not provided by the exchange). |
lastVolume | number | The last volume for the instrument. |
bidVolume | number | The order size of the best bid. |
askVolume | number | The order size of the best ask. |
Param | Type | Description |
---|---|---|
instrument | string | The asset instrument. |
exchange | string | The exchange for which to retrieve asset instruments. |
Field | Type | Description |
---|---|---|
exchange | string | The exchange name. |
instrument | string | The instrument name. |
exchangeTimestamp | number | The timestamp at which the event was recorded by the exchange. |
exchangeTimestampNanoseconds | number | The nanosecond timestamp at which the event was recorded by the exchange. |
isBuySide | boolean | A boolean value indicating the direction of the trade from the perspective of the initiator. |
quoteSize | number | The total amount of the quote asset of the instrument that was traded. |
price | number | The price at which the futures contract was traded. |
size | number | The quantity of the contract that was traded. |
tradeId | string | A unique identifier for this specific trade. |