TRADING
channel in order to receive SETTLEMENT
messages.SETTLEMENT
message is sent via the trading channel every minute for any account with an open futures position. This message provides a real-time update of the account’s settlement details, reflecting the profit and margin changes associated with the position.{
"type": "SETTLEMENT",
"channel_name": "TRADING",
"instrument_code": "BTC_EUR_P",
"time": 1737993490000000000,
"direction": "LONG",
"open_position": "1030",
"open_volume": "0.01",
"pending_buy_size": "0",
"pending_sell_size": "0",
"profit": "1.13",
"total_profit": "1250",
"account_ratio": "2.57",
"maintenance_margin": "595",
"quote_currency_balance": "5000",
"margin_used": "101",
"mark_price": "103000"
}
SETTLEMENT
to identify the message type.TRADING
to indicate the trading channel.BTC_EUR_P
).LONG
or SHORT
.