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.
Start-of-day snapshot balances.
asof: Optional[date]
Timestamp for the start-of-day values. When a null/undefined value is observed, it indicates that there is no available data.
Deprecatedday_trade_buying_power: Optional[str]
Start-of-day day-trade buying power. When a null/undefined value is observed, it indicates it does not apply.
maintenance_margin_excess: Optional[str]
Start-of-day maintenance margin excess. When a null/undefined value is observed, it indicates it does not apply.
margin_details: Optional[MarginDetails]
Margin-account-only details. When a null/undefined value is observed, it indicates it does not apply.
Deprecatedday_trade_count: int
The number of day trades executed over the 5 most recent trading days.
Deprecatedpattern_day_trader: bool
true if the account is currently flagged as a PDT, otherwise false.
Deprecatedday_trade_buying_power_usage: Optional[str]
The amount of day-trade buying power used during the current trading day. When null/undefined, the value should be assumed to be zero. The field is omitted to simplify the response.
class AccountBalancesSod: …
asof: Optional[date]
Timestamp for the start-of-day values. When a null/undefined value is observed, it indicates that there is no available data.
Deprecatedday_trade_buying_power: Optional[str]
Start-of-day day-trade buying power. When a null/undefined value is observed, it indicates it does not apply.
maintenance_margin_excess: Optional[str]
Start-of-day maintenance margin excess. When a null/undefined value is observed, it indicates it does not apply.
List[Account]
class AccountWithPersonalDetails: …
Represents a trading account
close_date: Optional[date]
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[str]
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[date]
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[Address]
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.
class MarginDetails: …
Deprecatedday_trade_count: int
The number of day trades executed over the 5 most recent trading days.
Deprecatedpattern_day_trader: bool
true if the account is currently flagged as a PDT, otherwise false.
Deprecatedday_trade_buying_power_usage: Optional[str]
The amount of day-trade buying power used during the current trading day. When null/undefined, the value should be assumed to be zero. The field is omitted to simplify the response.
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 AccountGetAccountByIDResponse: …
Represents a trading account
close_date: Optional[date]
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[str]
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[date]
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[Address]
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.
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.
Start-of-day snapshot balances.
asof: Optional[date]
Timestamp for the start-of-day values. When a null/undefined value is observed, it indicates that there is no available data.
Deprecatedday_trade_buying_power: Optional[str]
Start-of-day day-trade buying power. When a null/undefined value is observed, it indicates it does not apply.
maintenance_margin_excess: Optional[str]
Start-of-day maintenance margin excess. When a null/undefined value is observed, it indicates it does not apply.
margin_details: Optional[MarginDetails]
Margin-account-only details. When a null/undefined value is observed, it indicates it does not apply.
Deprecatedday_trade_count: int
The number of day trades executed over the 5 most recent trading days.
Deprecatedpattern_day_trader: bool
true if the account is currently flagged as a PDT, otherwise false.
Deprecatedday_trade_buying_power_usage: Optional[str]
The amount of day-trade buying power used during the current trading day. When null/undefined, the value should be assumed to be zero. The field is omitted to simplify the response.
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