Account orders
Streams all changes made to an account's open orders in any market. An order that has been cancelled/filled will be streamed and return empty.
Params
{
"method": "subscribe",
"params": {
"source": "account_orders",
"account": "42trU9A5..."
}
}Orders Snapshots
Stream
{
"channel": "account_orders",
"data": [
{
"i": 1879999120,
"I": null,
"s": "BTC",
"d": "bid",
"p": "80000",
"a": "0.00025",
"f": "0",
"c": "0",
"t": 1765935070713,
"st": null,
"ot": "limit",
"sp": null,
"ro": false
}
],
"li": 1880004176
} // this is the initialization snapshot with an existing order
{
"channel": "account_orders",
"data": [
{
"i": 1880009776,
"I": null,
"s": "BTC",
"d": "bid",
"p": "81000",
"a": "0.00024",
"f": "0",
"c": "0",
"t": 1765935092314,
"st": null,
"ot": "limit",
"sp": null,
"ro": false
},
{
"i": 1879999120,
"I": null,
"s": "BTC",
"d": "bid",
"p": "80000",
"a": "0.00025",
"f": "0",
"c": "0",
"t": 1765935070713,
"st": null,
"ot": "limit",
"sp": null,
"ro": false
}
],
"li": 1880009851
} // this is an update after another order was placedField
Type
Description
Last updated