asynctradier.common.account_balance module
- class asynctradier.common.account_balance.AccountBalance(**kwargs)[source]
Bases:
objectRepresents the balance of an account.
- option_short_value
The short value of options in the account.
- Type:
float
- total_equity
The total equity of the account.
- Type:
float
- account_number
The account number.
- Type:
str
- account_type
The type of the account.
- Type:
- close_pl
The close profit/loss of the account.
- Type:
float
- current_requirement
The current requirement of the account.
- Type:
float
- equity
The equity of the account.
- Type:
float
- long_market_value
The long market value of the account.
- Type:
float
- market_value
The market value of the account.
- Type:
float
- open_pl
The open profit/loss of the account.
- Type:
float
- option_long_value
The long value of options in the account.
- Type:
float
- option_requirement
The option requirement of the account.
- Type:
float
- pending_orders_count
The count of pending orders in the account.
- Type:
int
- short_market_value
The short market value of the account.
- Type:
float
- stock_long_value
The long value of stocks in the account.
- Type:
float
- total_cash
The total cash in the account.
- Type:
float
- uncleared_funds
The uncleared funds in the account.
- Type:
float
- pending_cash
The pending cash in the account.
- Type:
float
- cash
The details of the cash account balance (if account type is cash).
- margin
The details of the margin account balance (if account type is margin).
- pdt
The details of the PDT account balance (if account type is pdt).
- Type:
- class asynctradier.common.account_balance.CashAccountBalanceDetails(**kwargs)[source]
Bases:
objectRepresents the details of a cash account balance.
- cash_available
The amount of cash available in the account.
- Type:
float
- sweep
The amount of cash swept from the account.
- Type:
float
- unsettled_funds
The amount of funds that are currently unsettled.
- Type:
float
- class asynctradier.common.account_balance.MarginAccountBalanceDetails(**kwargs)[source]
Bases:
objectRepresents the details of a margin account balance.
- fed_call
The federal call amount.
- Type:
float
- maintenance_call
The maintenance call amount.
- Type:
float
- option_buying_power
The buying power for options.
- Type:
float
- stock_buying_power
The buying power for stocks.
- Type:
float
- stock_short_value
The value of shorted stocks.
- Type:
float
- sweep
The sweep amount.
- Type:
float
- class asynctradier.common.account_balance.PDTAccountBalanceDetails(**kwargs)[source]
Bases:
objectRepresents the account balance details for a Pattern Day Trader (PDT).
- fed_call
The amount of the Federal Call.
- Type:
float
- maintenance_call
The amount of the Maintenance Call.
- Type:
float
- option_buying_power
The buying power for options trading.
- Type:
float
- stock_buying_power
The buying power for stock trading.
- Type:
float
- stock_short_value
The value of shorted stocks.
- Type:
float