Order Closed
Spot
{
"channel_name": "TRADING",
"type": "DONE", // DEPRECATED
"event": "ORDER",
"status": "CANCELLED",
"instrument_code": "BTC_EUR",
"client_id": "ca88c44b-3c30-4488-ba03-19c2ddaf9fec",
"order_id": "2c8c5391-1121-4105-919b-e77586acec04",
"side": "BUY",
"order_book_sequence": 70422288526,
"remaining": "0.1",
"amount": "0.1",
"price": "85000",
"time": 1743073077701521427,
"bals": [
{
"c": "BTC",
"a": "2.5"
},
{
"c": "EUR",
"a": "20000"
}
],
"lckd_bals": [
{
"c": "BTC",
"a": "0"
},
{
"c": "EUR",
"a": "0"
}
]
}
SpotClosedOrder
channel_name
enum<string>
required
TRADING
.Allowed value:
TRADING
type
enum<string>
deprecated
event
and status
fields.Allowed value:
DONE
event
enum<string>
required
Allowed value:
ORDER
status
enum<string>
required
Allowed values:
OPENFILLFILLED_FULLYCANCELLEDMOVEDINSUFFICIENT_FUNDSINSUFFICIENT_LIQUIDITYSELF_TRADEMOVE_SELF_TRADEMATCHING_POST_ONLY_RESULTS_IN_MATCHMATCHING_MOVE_FAILED_PRICE_OVER_RISK_LIMITRISK_MARGIN_TRADING_DISABLEDRISK_INVALID_RESERVE_BID_PRICE
instrument_code
string
required
client_id
string <uuid>
required
order_id
string <uuid>
required
time
number
required
side
string
required
BUY
or SELL
order_book_sequence
integer
required
amount
string
required
remaining
string
required
price
string
required
tif
enum<string>
required
Allowed values:
GTCFOKIOCPOST_ONLY
bals
array[object (TradingBalance) {2}]
required
c
string
required
a
string
required
lckd_bals
array[object (TradingBalance) {2}]
required
c
string
required
a
string
required