Spot sub account

SpotSubAccount

Name
Lite
Type Required
Default
Description
event_time
et
string True Time at which the event was emitted in unix nanoseconds
sub_account_id
sa
string True The sub account ID this entry refers to
total_equity
te
string True Total equity of the spot sub account, denominated USD
spot_balances
sb
[SpotBalance] True The list of spot assets owned by this spot sub account, and their balances
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.