Api funding account summary response
ApiFundingAccountSummaryResponse
The funding account summary, that reports the total equity and spot balances of a funding (main) account
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
resultr |
FundingAccountSummary | True | The funding account summary |
tiert |
ClientTier | True | Client fee tier at the time of query |
FundingAccountSummary
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. |
ClientTier
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
tiert |
integer | True | |
futures_taker_feeft |
integer | True | |
futures_maker_feefm |
integer | True | |
options_taker_feeot |
integer | True | |
options_maker_feeom |
integer | True | |
spot_borrow_configssb |
[ApiSpotBorrowConfig] | True | Per-currency borrow & collateral limits for this tier. Populated only in the funding_account_summary response; empty in raw config contexts. |
ApiSpotBorrowConfig
Per-currency borrow & collateral limits resolved at this account's tier (incl. per-account overrides).
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
currencyc |
string | True | |
borrow_limitbl |
string | True | BL — max borrowable amount, denominated in the asset. 0 = not borrowable. |
borrow_ratebr |
string | True | BR — annual borrow interest rate at this tier. Never exceeds the asset's maxBorrowRate. |
collateral_limitcl |
string | True | CL — max amount counted as collateral, denominated in the asset. 0 = unlimited. |