SUB wss://ws.aevo.xyz
Returns order status if any changes occur.
REQUEST
op string required Operation code allowed values: subscribe unsubscribe |
data array of strings required Channel name: orders |
Example
{
"op":"subscribe",
"data": ["orders"]
}
RESPONSE
channel string required Channel name: orders | ||||||||||||||
data.timestamp string required Update timestamp in UNIX timestamp in nanoseconds. Eg. 1680249600000000000 | ||||||||||||||
data.orders array of objects required Order updates in Order object format.
|
Example
{
"channel": "orders",
"data": {
"timestamp": "1673671845685460000",
"orders": [
{
"order_id": "0xbc39f8c0dd85c0f7059124b2d2c6c2ec87f4a0e748ae21c66e98fbfa1974981e",
"account": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"instrument_id": "8",
"instrument_name": "ETH-14JAN23-1500-P",
"instrument_type": "OPTION",
"order_type": "limit",
"side": "sell",
"price": "1200",
"amount": "2",
"filled": "0",
"order_status": "opened",
"created_timestamp": 1673671845684502000
}
]
}
}