Funding account summary
The funding account summary, that reports the total equity and spot balances of a funding (main) account
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
main_account_idma |
string | True | The main account ID of the account to which the summary belongs |
total_equityte |
string | True | Total equity of the main account, denominated in USD |
spot_balancessb |
[SpotBalance] | True | The list of spot assets owned by this main account, and their balances |
vault_investmentsvi |
[VaultInvestment] | True | The list of vault investments held by this main account |
total_cash_balancetc |
string | True | Total balance of cash (stablecoin) currencies, denominated in USD |
total_spot_asset_balancets |
string | True | Total balance of non-cash spot currencies, denominated in USD |
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 |
VaultInvestment
Summarizes a vault investment held by a funding account
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
vault_idvi |
string | True | The trading account ID of the vault invested in. |
num_lp_tokensnl |
string | True | The number of shares held by the investor. |
share_pricesp |
string | True | The current share price (in USD) of this vault investment. |
usd_notional_investedun |
string | True | The USD notional invested in this vault investment. |