Api spot sub account summary response
ApiSpotSubAccountSummaryResponse
The spot account summary, that reports the total equity and spot balances of a spot sub account
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
resultr |
SpotSubAccount | True | The spot sub account summary |
SpotSubAccount
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
event_timeet |
string | True | Time at which the event was emitted in unix nanoseconds |
sub_account_idsa |
string | True | The sub account ID this entry refers to |
total_equityte |
string | True | Total equity of the spot sub account, denominated USD |
spot_balancessb |
[SpotBalance] | True | The list of spot assets owned by this spot sub account, and their balances |
SpotBalance
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
currencyc |
string | True | The currency you hold a spot balance in |
balanceb |
string | True | This currency's balance in this trading account. |
index_priceip |
string | True | The index price of this currency. (reported in USD) |
entry_priceep |
string | True | The entry price of this spot currency. (reported in USD) |
realized_pnlrp |
string | True | The realized PnL of this spot currency. (reported in USD) |
unrealized_pnlup |
string | True | The unrealized PnL of this spot currency. (reported in USD) |
available_to_transferat |
string | True | The available to transfer amount of this spot currency. |
borrowed_amountba |
string | FalseNone |
The amount borrowed in this currency, inclusive of accrued interest. Only reported by account_summary, and only for multi-asset-mode sub accounts |