Skip to main content

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 NameTypeDescription
isMarginModebooleanMargin mode: true = leveraged/futures mode, false = spot non-leveraged mode
accountIdintegerAccount ID (users may own multiple sub-accounts, such as spot and futures accounts)
currencyWalletListobject[]Wallet information list from the settlement currency dimension (e.g., one entry for USDT, one for BTC)
accountModestringAccount mode: CROSS (cross-margin), ISOLATED (isolated margin)

currencyWalletList Fields​

FieldTypeDescription
currencystringSettlement currency name (e.g., USDT, BTC, ETH)
equitystringNet asset value of the coin ( = wallet balance + unrealized PnL + realized PnL)
walletBalancestringCash balance (amount available for transfer in this currency)
marginBalancestringMargin balance (equals the MB contributed by remaining assets + the current asset's actual remaining MB)
availableBalancestringAvailable balance (= sum of AB contributions from remaining assets + current asset's actual remaining AB, non-negative)
assetFrozenAmountstringAmount of frozen assets (amount pledged as collateral)