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
class AccountBalances: …
Represents the balance details for a trading account
daily_unrealized_pnl: str
Total unrealized profit or loss across all positions relative to prior close.
margin_details: Optional[MarginDetails]
Margin-account-only details.
day_trade_count: int
The number of day trades executed over the 5 most recent trading days.
day_trade_buying_power_usage: Optional[str]
The amount of day-trade buying power used during the current trading day.
List[Account]
class MarginDetails: …
day_trade_count: int
The number of day trades executed over the 5 most recent trading days.
day_trade_buying_power_usage: Optional[str]
The amount of day-trade buying power used during the current trading day.
class PortfolioHistoryResponse: …
day_pnl: Optional[str]
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl: Optional[str]
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses
class PortfolioHistorySegment: …
day_pnl: Optional[str]
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl: Optional[str]
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses
class AccountGetAccountBalancesResponse: …
Represents the balance details for a trading account
daily_unrealized_pnl: str
Total unrealized profit or loss across all positions relative to prior close.
margin_details: Optional[MarginDetails]
Margin-account-only details.
day_trade_count: int
The number of day trades executed over the 5 most recent trading days.
day_trade_buying_power_usage: Optional[str]
The amount of day-trade buying power used during the current trading day.
class AccountGetPortfolioHistoryResponse: …
day_pnl: Optional[str]
Sum of the profit and loss from intraday trading activities for the trading day.
net_pnl: Optional[str]
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses