Spot balance

SpotBalance

Name
Lite
Type Required
Default
Description
currency
c
string True The currency you hold a spot balance in
balance
b
string True This currency's balance in this trading account.
index_price
ip
string True The index price of this currency. (reported in USD)
entry_price
ep
string True The entry price of this spot currency. (reported in USD)
realized_pnl
rp
string True The realized PnL of this spot currency. (reported in USD)
unrealized_pnl
up
string True The unrealized PnL of this spot currency. (reported in USD)
available_to_transfer
at
string True The available to transfer amount of this spot currency.
borrowed_amount
ba
string False
None
The amount borrowed in this currency, inclusive of accrued interest.
Only reported by account_summary, and only for multi-asset-mode sub accounts