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
type Account struct{…}
Represents a trading account
Status AccountStatus
Subtype AccountSubtype
Type AccountType
type AccountBalances struct{…}
Represents the balance details for a trading account
DailyUnrealizedPnl string
Total unrealized profit or loss across all positions relative to prior close.
MarginType MarginType
Margin-account-only details.
DayTradeCount int64
The number of day trades executed over the 5 most recent trading days.
DayTradeBuyingPowerUsage stringOptional
The amount of day-trade buying power used during the current trading day.
Status AccountStatus
Subtype AccountSubtype
Type AccountType
type MarginDetails struct{…}
DayTradeCount int64
The number of day trades executed over the 5 most recent trading days.
DayTradeBuyingPowerUsage stringOptional
The amount of day-trade buying power used during the current trading day.
type PortfolioHistoryResponse struct{…}
Segments []PortfolioHistorySegment
DayPnl stringOptional
Sum of the profit and loss from intraday trading activities for the trading day.
NetPnl stringOptional
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses
type PortfolioHistorySegment struct{…}
DayPnl stringOptional
Sum of the profit and loss from intraday trading activities for the trading day.
NetPnl stringOptional
P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses