Files
ritmex-bot/docs/grvt/schemas/aggregated_account_summary.md
T

1.5 KiB

!!! info "AggregatedAccountSummary" |Name
Lite|Type|Required
Default| Description | |-|-|-|-| |main_account_id
ma |string|True|The main account ID of the account to which the summary belongs| |total_equity
te |string|True|Total equity of the main (+ sub) account, denominated in USD| |spot_balances
sb |[SpotBalance]|True|The list of spot assets owned by this main (+ sub) account, and their balances| |vault_investments
vi |[VaultInvestment]|True|The list of vault investments held by this main account| ??? info "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)| ??? info "VaultInvestment" Summarizes a vault investment held by a funding account

    |Name<br>`Lite`|Type|Required<br>`Default`| Description |
    |-|-|-|-|
    |vault_id<br>`vi` |string|True|The trading account ID of the vault invested in.|
    |num_lp_tokens<br>`nl` |string|True|The number of shares held by the investor.|
    |share_price<br>`sp` |string|True|The current share price (in USD) of this vault investment.|