SUBSCRIBE Orders
Request
data
array of strings
Yes
Channel name: orders
op
string
Yes
Operation code allowed values: subscribe unsubscribe
Example
{
"op":"subscribe",
"data": ["orders"]
}Response
channel
string
Yes
Channel name: orders
data.timestamp
string
Yes
Update timestamp in UNIX timestamp in nanoseconds. Example: 1680249600000000000
data.orders
array of objects
Yes
Order updates in Order object format.
data.orders[].order_id
string
Yes
Order ID. Example: 0x4c43e0ab72a4edb72dfe4b129148899815d816837b9a7e22d964b884834639f8
data.orders[].account
string
Yes
Account's Ethereum address. Example: 0xYourAccountAddress
data.orders[].instrument_id
string
Yes
Instrument ID number. Example: 12
data.orders[].instrument_name
string
Yes
Instrument name. Example: ETH-24DEC22-1250-C
data.orders[].instrument_type
string
Yes
Type of instrument. Allowed values: OPTION PERPETUAL
data.orders[].order_type
string
Yes
Order type. Allowed values: limit market
data.orders[].side
string
Yes
Trade side. Allowed values: buy sell
data.orders[].price
string
Yes
Price in USD. Example: 12.23
data.orders[].amount
string
Yes
Amount of contracts. Example: 12.23
data.orders[].filled
string
Yes
Amount filled. Example: 10.4
data.orders[].order_status
string
Yes
Order status. Allowed values: opened cancelled partial filled
data.orders[].created_timestamp
string
Yes
Created timestamp in UNIX timestamp in nanoseconds. Example: 1680249600000000000
data.orders[].system_type
string
Yes
Order's system type. Example: WEB or API
Last updated
Was this helpful?

