Account Class
Accesses account information from a specified account when using an AccountsProvider component.
The Updated event is called whenever a change occurs in the referenced data.
Namespace: tsdata.trading
Properties
Additional
properties, methods, and events are described in the classes listed
under Inheritance Hierarchy (see below).
| Name | Type | Description | |
|
|
AccountID | string | Gets the ID (account number) of the account. |
|
|
Alias | string | Gets the optional account name chosen by the user. |
|
|
BDAccountEquity | double | Gets the value of beginning day account equity. |
|
|
BDAccountNetWorth | double | Gets the value of beginning day account net worth. |
|
|
BDCashBalance | double | Gets the value of beginning day cash balance. |
|
|
BDDayTradingBuyingPower | double | Gets the day trading buying power as of the beginning of the day. |
|
|
BDOptionBuyingPower | double | Gets the value of beginning day option buying power. |
|
|
BDOptionLiquidationValue | double | Gets the value of beginning day option liquidation. |
|
|
BDOvernightBuyingPower | double | Gets the value of beginning day overnight buying power. |
|
|
BDUnrealizedPL | double | Gets the value of beginning day unrealized profit/loss. |
|
|
CanDayTrade | bool | True if day trading is allowed in the account, otherwise false. |
|
|
Currency | int | Gets an integer code indicating the currency of the account. |
|
|
ExtendedProperties | object | Gets the DynamicProperties object associated with the account. |
|
|
FourDaysTradeCount | int | Gets the number of trades from the past four days. |
|
|
HasValue | bool | True if the specified AccountField exists, otherwise false. |
|
|
IsDayTrader | string | True if the trader is a pattern day trader. |
|
|
|
string | Gets the name of the account. |
|
|
OptionsApprovalLevel | double | Gets the options approval level. |
|
|
RTAccountEquity | double | Gets the value of real-time account equity. |
|
|
RTAccountNetWorth | double | Gets the value of real-time account net worth. |
|
|
RTCashBalance | double | Gets the value of real-time cash balance. |
|
|
RTCostOfPositions | double | Gets the value of real-time cost of positions. |
|
|
RTDayTradingBuyingPower | double | Gets the value of real-time day trading buying power. |
|
|
RTInitialMargin | double | Gets the value of real-time initial margin. |
|
|
RTMaintenanceMargin | double | Gets the value of real-time maintenance margin. |
|
|
RTOptionBuyingPower | double | Gets the value of real-time option buying power. |
|
|
RTOptionLiquidationValue | double | Gets the value of real-time option liquidation value. |
|
|
RTOvernightBuyingPower | double | Gets the value of real-time overnight buying power. |
|
|
RTPurchasingPower | double | Gets the value of real-time purchasing power. |
|
|
RTRealizedPL | double | Gets the value of real-time realized profit/loss. |
|
|
RTUnrealizedPL | double | Gets the value of unrealized profit/loss. |
|
|
Status | string | Gets the status of the account. |
|
|
TodaysRTTradeEquity | double | Gets the value of today's real-time trade equity. |
|
|
|
enum | Gets the account type. See AccountType for a list of possible values. |
|
|
UnclearedDeposits | double | Gets the value of uncleared deposits. |
|
|
UnsettledFund | double | Gets the value of unsettled funds. |
|
|
Value[fieldName] | double | Gets the value of the specified account field name. |
Methods
| Name | Description | |
|
|
CanTradeSecurityOfType(type) | True if you can trade the specified type of security. See SecurityType for a list. |
Events
| Name | Description | |
| |
Updated | Occurs whenever the Account data is updated. See AccountUpdatedEventArgs for the properties returned by the handler's args parameter. |
Inheritance Hierarchy
tsdata.trading.Account