SUBSCRIBE Trades
Request
data
array of strings
Yes
Channel name in the format trades:ASSET or trades:INSTRUMENT_NAME. Example: trades:ETH or trades:ETH-31MAR23-1350-C
op
string
Yes
Operation code allowed values: subscribe unsubscribe
ASSETallowed values:ETH
Example
{
"op":"subscribe",
"data": ["trades:ETH-31MAR23-1350-C"]
}Response
data.trade_id
string
Yes
Trade transaction hash. Example: 0x17897e438f15c459a3a4ed44687dc7f0c4c678b2b005ea87bbae35346f279f02
data.instrument_id
string
Yes
Instrument ID number. Example: 12
data.instrument_name
string
Yes
Instrument name. Example: ETH-24DEC22-1250-C
data.instrument_type
string
Yes
Type of instrument. Allowed values: OPTION PERPETUAL
data.side
object
Yes
Trade side. Allowed values: buy sell
data.price
object
Yes
Price in USD. Example: 12.23
data.amount
string
No
Amount of contracts. Example: 10.4
data.created_timestamp
string
Yes
Timestamp in UNIX timestamp in nanoseconds. Example: 1680249600000000000
channel
string
Yes
Channel name in the format index:ASSET. Example: index:ETH
Example
Last updated
Was this helpful?

