Skip to main content
The Unified Account currently supports CEX only.

Account Entity

The account entity contains information about the cryptocurrency portfolio, its balance, trading volume, and the set of tools available for this account. The account entity includes the following information:
  • Detailed information about connected exchanges, including their type, name and current status.
  • Profit and currency infomation, susch as account balance, daily and total profits.
  • Avaiable trading functions for this account.

Core Attributes

FieldTypeDescription
idintegerUnified account ID.
user_idintegerOwner user ID.
namestringDisplay name of the unified account.
currencystringPrimary display currency. e.g., USD/USDC/BTC
statusstringAccount status
total_balancenumbertotal assets in primary currency
total_balance_btcnumbertotal assets valued in BTC
total_pnlnumberCumulative realized + unrealized PnL(primary currency)
total_pnl_percentage
total_pnl_btc
day_pnl
day_pnl_percentage
day_pnl_btc
total_margin_balance
total_unrealized_pnl
total_margin_ratio
estimated_liquidation_price
risk_mode
max_drawdown_limitnumberMax allowed drawdown(triggers auto-pause of breached)
include_in_global_statsbooleanWhether tahis unified account is counted in global/user-wide statistics
created_at
updated_at

unified_account_exchange_mappings

FieldTypeDescription
unified_account_id
exchange_account_id
alias
weight
include_in_balance
include_in_pnl
include_in_risk
include_in_drawdown
risk_multiplier
is_active
created_at
updated_at
The following are four common mapping patterns:
Modeinclude_in_balanceinclude_in_pnlinclude_in_riskTypical Use case
Full Inclusion (default)truetruetrueMain live trading account (spot or futures)
View-Only / Monitor OnlyfalsefalsefalseWatching someone else’s account, testnet, paper trading, signal provider account
Balance & PnL Only (Risk Excluded)truetruefalseCold storage spot wallet, staking account (cannot be liquidated)
High-Leverage with Risk Amplificationtruetruetrue3x–20x futures/margin subaccount → count extra risk for unified liquidation warning