Accounts
Manage trading accounts, balances, and portfolio history.
Get Accounts
Get Account By ID
Patch Account By ID
Get Account Balances
Get Portfolio History
ModelsExpand Collapse
AccountBalances { account_id, buying_power, currency, 16 more }
Represents the balance details for a trading account
daily_unrealized_pnl: string
Total unrealized profit or loss across all positions relative to prior close.
margin_details?: MarginDetails { day_trade_count, initial_margin_excess, initial_margin_requirement, 6 more } | null
Margin-account-only details.
day_trade_count: number
The number of day trades executed over the 5 most recent trading days.
day_trade_buying_power_usage?: string | null
The amount of day-trade buying power used during the current trading day.
top_contributors?: Array<MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more } >
Optional top margin contributors, returned only when explicitly requested.
MarginDetails { day_trade_count, initial_margin_excess, initial_margin_requirement, 6 more }
day_trade_count: number
The number of day trades executed over the 5 most recent trading days.
day_trade_buying_power_usage?: string | null
The amount of day-trade buying power used during the current trading day.
top_contributors?: Array<MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more } >
Optional top margin contributors, returned only when explicitly requested.
MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more }
PortfolioHistoryResponse { segments }
day_pnl?: string | null
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl?: string | null
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses
PortfolioHistorySegment { date, eod_equity, realized_pnl, 7 more }
day_pnl?: string | null
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl?: string | null
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses
Represents the balance details for a trading account
daily_unrealized_pnl: string
Total unrealized profit or loss across all positions relative to prior close.
margin_details?: MarginDetails { day_trade_count, initial_margin_excess, initial_margin_requirement, 6 more } | null
Margin-account-only details.
day_trade_count: number
The number of day trades executed over the 5 most recent trading days.
day_trade_buying_power_usage?: string | null
The amount of day-trade buying power used during the current trading day.
top_contributors?: Array<MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more } >
Optional top margin contributors, returned only when explicitly requested.
day_pnl?: string | null
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl?: string | null
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses