Balance Adjustment
TRADING
channel in order to send trading messages.BALANCE_ADJUSTMENT
message is sent in the event of:Deposit
{
"channel_name": "TRADING",
"type": "BALANCE_ADJUSTMENT",
"event": "ACCOUNT",
"status": "DEPOSITED",
"instrument_code": "EUR",
"time": 1743162435279363800,
"amount": "1000",
"new_balance": "93000.9853496",
"assigned_margin": "0"
}
Withdrawal
{
"channel_name": "TRADING",
"type": "BALANCE_ADJUSTMENT",
"event": "ACCOUNT",
"status": "WITHDRAWN",
"instrument_code": "EUR",
"time": 1743162442497232100,
"amount": "-2000",
"new_balance": "91000.9853496",
"assigned_margin": "0"
}
Funding Rate Payment
{
"channel_name": "TRADING",
"type": "FUNDING_PAYMENT",
"event": "ACCOUNT",
"status": "WITHDRAWN",
"instrument_code": "BTC_EUR_P",
"direction": "LONG",
"open_volume": "1.02",
"open_position": "90200.50",
"pending_buy_size": "0",
"pending_sell_size": "0",
"funding_rate": "0.0002",
"funding_payment": "1.84",
"cash_balance": "98378.71",
"maintenance_margin": "1000",
"margin_used": "6621.295",
"account_ratio": 14.85
}