Trade Executed
Spot
{
"channel_name": "TRADING",
"type": "FILL", // DEPRECATED
"event": "ORDER",
"status": "FILL",
"instrument_code": "BTC_EUR",
"client_id": "a4698628-0443-4efd-b14f-2f929a907b66",
"order_id": "31257543-181a-453b-0bab-c05dfa49631c",
"time": 1743120925007395300,
"side": "BUY",
"order_book_sequence": 70467113399,
"remaining": "0",
"amount": "0.00248",
"trade_id": "37b1c52b-4490-55b0-88ca-1d37f9515d90",
"matched_as": "TAKER",
"matched_amount": "0.00248",
"matched_price_avg": "80620.06",
"cum_quote_amount": "199.9377488",
"fee": "0.00000496",
"fee_currency": "BTC",
"bals": [
{
"c": "BTC",
"a": "10.00611402"
},
{
"c": "EUR",
"a": "1088100.76854612"
}
],
"lckd_bals": [
{
"c": "BTC",
"a": "0"
},
{
"c": "EUR",
"a": "0"
}
]
}
SpotTradeExecuted
channel_name
enum<string>
required
TRADING
.Allowed value:
TRADING
type
enum<string>
deprecated
event
and status
fields.Allowed value:
FILL
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_PRICERISK_FAILED_OVER_MAX_POSITION
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
trade_id
string <uuid>
required
matched_as
enum<string>
required
MAKER
or TAKER
Allowed values:
MAKERTAKER
matched_amount
string
required
matched_price_avg
string
required
cum_quote_amount
string
required
remaining
string
required
fee
string
required
fee_currency
string
required
BUY
orders will be charged fees in the base currency, SELL
orders will be charged the fee in the quote currency.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
Futures
{
"channel_name": "TRADING",
"type": "FILL", // DEPRECATED
"event": "ORDER",
"status": "FILL",
"instrument_code": "BTC_EUR_P",
"client_id": "01f133fe-86d9-418f-8b52-86c71f1035d5",
"order_id": "4539821b-df35-4d6a-21ed-ad1d6efc41fe",
"time": 1743121323027671300,
"side": "SELL",
"order_book_sequence": 70467142629,
"remaining": "0",
"amount": "0.00185",
"trade_id": "739f37ad-7c79-5bba-bc1f-f89c4cc90308",
"matched_as": "TAKER",
"matched_amount": "0.00185",
"matched_price_avg": "80667.3",
"cum_quote_amount": "149.234505",
"open_volume": "-0.00247",
"open_position": "199.273248",
"fee": "0.29846901",
"fee_currency": "EUR",
"margin_used": "38.2479412",
"liquidation": true, // This is optional, and only present if the order is part of a liquidation event
"bals": [
{
"c": "EUR",
"a": "962.73779864"
}
]
}
FuturesTradeExecuted
channel_name
enum<string>
required
TRADING
.Allowed value:
TRADING
type
enum<string>
deprecated
event
and status
fields.Allowed value:
FILL
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_PRICERISK_FAILED_OVER_MAX_POSITION
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
remaining
string
required
amount
string
required
trade_id
string <uuid>
required
matched_as
enum<string>
required
MAKER
or TAKER
Allowed values:
MAKERTAKER
matched_amount
string
required
matched_price_avg
string
required
cum_quote_amount
string
required
fee
string
required
fee_currency
string
required
BUY
orders will be charged fees in the base currency, SELL
orders will be charged the fee in the quote currency.tif
enum<string>
required
Allowed values:
GTCFOKIOCPOST_ONLY
open_volume
string
required
LONG
, if negative, your overall positions is SHORT
open_position
string
required
margin_used
string
required
liquidation
boolean
optional
true
if the trade was part of a liquidation event.bals
array[object (TradingBalance) {2}]
required
c
string
required
a
string
required