SUBCRIBE Orders

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.
ORDER OBJECT
order_id string required
Order ID. Eg. 0x4c43e0ab72a4edb72dfe4b129148899815d816837b9a7e22d964b884834639f8
account string required
Account's Ethereum address. Eg. 0xE9b3a48d15BE316A8e34FAd53fFDFDddf0C3D24b
instrument_id string required
Instrument ID number. Eg. 12
instrument_name string required
Instrument name. Eg. ETH-24DEC22-1250-C
instrument_type string required
Type of instrument. Allowed values: OPTION PERPETUAL
order_type string required
Order type. Allowed values: limit market
side string required
Trade side. Allowed values: buy sell
price string required
Price in USD. Eg. 12.23
amount string required
Amount of contracts. Eg. 12.23
filled string required
Amount filled. Eg. 10.4
order_status string required
Order status. Allowed values: opened cancelled partial filled
created_timestamp string required
Created timestamp in UNIX timestamp in nanoseconds. Eg. 1680249600000000000
system_type string required
Order's system type. Eg. WEB or API
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
			}
		]
	}
}