Accounts
Manage trading accounts, balances, and portfolio history.
Get Portfolio History
ModelsExpand Collapse
account_balances: object { account_id, buying_power, currency, 18 more }
Represents the balance details for a trading account
buying_power: string
The total buying power available in the account: base buying power plus the open order adjustment, where base buying power is maintenance margin excess times the multiplier for intraday and initial margin excess times the multiplier for overnight.
daily_unrealized_pnl: string
Total unrealized profit or loss across all positions relative to prior close.
equity: string
The total equity in the account: cash plus long market value plus short market value, where short market value is negative.
open_order_adjustment: string
Buying power correction from open orders, computed as projected buying power minus actual buying power. A negative value means open orders are consuming buying power.
sod: object { buying_power, equity, long_market_value, 5 more }
Start-of-day snapshot balances.
asof: optional string
Timestamp for the start-of-day values. When a null/undefined value is observed, it indicates that there is no available data.
maintenance_margin_excess: optional string
Start-of-day maintenance margin excess: the difference between equity and the maintenance margin requirement. When a null/undefined value is observed, it indicates it does not apply.
margin_details: optional object { initial_margin_excess, initial_margin_requirement, intraday_details, 5 more }
Margin-account-only details. When a null/undefined value is observed, it indicates it does not apply.
intraday_details: object { buying_power, multiplier }
Intraday session margin calculation details.
maintenance_margin_excess: string
The difference between equity and the maintenance margin requirement.
overnight_details: object { buying_power, multiplier }
Overnight session margin calculation details.
top_contributors: optional array of MarginTopContributor { initial_margin_requirement, maintenance_margin_requirement, market_value, underlying_instrument_id }
account_balances_sod: object { buying_power, equity, long_market_value, 5 more }
asof: optional string
Timestamp for the start-of-day values. When a null/undefined value is observed, it indicates that there is no available data.
maintenance_margin_excess: optional string
Start-of-day maintenance margin excess: the difference between equity and the maintenance margin requirement. When a null/undefined value is observed, it indicates it does not apply.
account_with_personal_details: object { id, account_holder_entity_id, account_holder_entity_kind, 12 more }
Represents a trading account
close_date: optional string
The date the account was closed, if applicable When a null/undefined value is observed, it indicates it does not apply.
country_of_tax_residency: optional string
The country of tax residency of the account-holder entity. null
when not on file or entity reference data is unavailable.
When a null/undefined value is observed, it indicates that there is no available data.
date_of_birth: optional string
The date of birth of the account holder’s primary contact. null
when not on file or entity reference data is unavailable.
When a null/undefined value is observed, it indicates that there is no available data.
mailing_address: optional object { city, country, line1, 3 more }
The mailing address of the account-holder entity. null when no
mailing address is on file or entity reference data is unavailable.
When a null/undefined value is observed, it indicates that there is no available data.
margin_details: object { initial_margin_excess, initial_margin_requirement, intraday_details, 5 more }
intraday_details: object { buying_power, multiplier }
Intraday session margin calculation details.
maintenance_margin_excess: string
The difference between equity and the maintenance margin requirement.
overnight_details: object { buying_power, multiplier }
Overnight session margin calculation details.
top_contributors: optional array of MarginTopContributor { initial_margin_requirement, maintenance_margin_requirement, market_value, underlying_instrument_id }
margin_session_details: object { buying_power, multiplier }
portfolio_history_response: object { segments }
day_pnl: optional string
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl: optional string
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses
portfolio_history_segment: object { date, eod_equity, realized_pnl, 7 more }
day_pnl: optional string
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl: optional string
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses