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
buying_power: str
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: str
Total unrealized profit or loss across all positions relative to prior close.
equity: str
The total equity in the account: cash plus long market value plus short market value, where short market value is negative.
open_order_adjustment: str
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.
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.
maintenance_margin_excess: Optional[str]
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[MarginDetails]
Margin-account-only details. When a null/undefined value is observed, it indicates it does not apply.
Intraday session margin calculation details.
Overnight session margin calculation details.
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.
maintenance_margin_excess: Optional[str]
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.
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: …
Intraday session margin calculation details.
Overnight session margin calculation details.
class MarginSessionDetails: …
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
buying_power: str
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: str
Total unrealized profit or loss across all positions relative to prior close.
equity: str
The total equity in the account: cash plus long market value plus short market value, where short market value is negative.
open_order_adjustment: str
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.
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.
maintenance_margin_excess: Optional[str]
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[MarginDetails]
Margin-account-only details. When a null/undefined value is observed, it indicates it does not apply.
Intraday session margin calculation details.
Overnight session margin calculation details.
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