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

elsystem.Object

tsdata.trading.Account