Margin Update
TRADING
channel in order to receive MARGIN_UPDATE
messages.MARGIN_UPDATE
message is sent via the trading channel to notify users of changes to their margin status when they have open futures positions. This message is triggered whenever the user's ratio moves into a new status category, reflecting changes in their account's risk and margin utilization.🟢 ACTIVE (Ratio > 1.5)
The account has sufficient margin to support its open positions. No immediate action is required.
🟠 DERISK (1.0 < Ratio ≤ 1.5)
The account is nearing its maintenance margin threshold. The user should take action, such as reducing open positions or adding margin, to avoid further risks.
🔴 LIQUIDATION (Ratio ≤ 1.0)
The account has fallen below the maintenance margin requirement, triggering liquidation of positions to bring the account back into compliance.
{
"channel_name": "TRADING",
"type": "MARGIN_UPDATE",
"cash_balance": "3000",
"maintenance_margin": "525",
"margin_used": "3000",
"estimated_profit": "-3000",
"ratio": 0.79,
"status": "LIQUIDATION"
}
MarginUpdate
channel_name
enum<string>
required
Allowed value:
TRADING
type
enum<string>
required
Allowed value:
MARGIN_UPDATE
cash_balance
string
required
maintenance_margin
string
required
margin_used
string
required
estimated_profit
string
required
ratio
string
required
status
enum<string>
required
Allowed values:
ACTIVEDERISKLIQUIDATION