Settlement
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"
}
TradingSettlement
type
string
required
SETTLEMENT
to identify the message type.channel_name
string
required
TRADING
to indicate the trading channel.instrument_code
string
required
BTC_EUR_P
).time
integer
required
direction
enum<string>
required
LONG
or SHORT
.Allowed values:
LONGSHORT
open_position
string
required
open_volume
string
required
pending_buy_size
string
required
pending_sell_size
string
required
profit
string
required
total_profit
string
required
account_ratio
string
required
maintenance_margin
string
required
quote_currency_balance
string
required
margin_used
string
required
mark_price
string
required