Account Wallet
Pushes when balance changes due to order placement/order execution/transfer/liquidation, with corresponding topics for spot and futures trading pairs: spotTradingWallets / futureTradingWallets
Push Fields
| Field Name | Type | Description |
|---|---|---|
isMarginMode | boolean | Margin mode: true = leveraged/futures mode, false = spot non-leveraged mode |
accountId | integer | Account ID (users may own multiple sub-accounts, such as spot and futures accounts) |
currencyWalletList | object[] | Wallet information list from the settlement currency dimension (e.g., one entry for USDT, one for BTC) |
accountMode | string | Account mode: CROSS (cross-margin), ISOLATED (isolated margin) |
currencyWalletList Fields
| Field | Type | Description |
|---|---|---|
currency | string | Settlement currency name (e.g., USDT, BTC, ETH) |
equity | string | Net asset value of the coin ( = wallet balance + unrealized PnL + realized PnL) |
walletBalance | string | Cash balance (amount available for transfer in this currency) |
marginBalance | string | Margin balance (equals the MB contributed by remaining assets + the current asset's actual remaining MB) |
availableBalance | string | Available balance (= sum of AB contributions from remaining assets + current asset's actual remaining AB, non-negative) |
assetFrozenAmount | string | Amount of frozen assets (amount pledged as collateral) |