Per-order-book balance breakdown, keyed by order book contract ID.
Total balance locked as collateral for open orders across all order-book contracts (chain integer).
Total available balance for trading (chain integer).
This is trading_account_balance + unlocked amounts in each order-book
contract. Use this value — not trading_account_balance alone — when
deciding how much you can spend on new orders.
Balance sitting directly in the trading account contract (chain integer).
This is a subset of total_unlocked. Do not add these two fields
together.
Balance information for a trading account on a specific asset.
The balance model tracks funds across three locations:
trading_account_balanceplus unlocked amounts sitting in individual order-book contracts (e.g. proceeds from filled orders not yet settled). Use this when computing how much you can trade.⚠️
total_unlockedalready includestrading_account_balance. Do not add them together — that double-counts your funds.Example