GetRTAccountEquity (Reserved Word)

image\trumpet2.gif Disclaimer

Retrieve the Real-time Account Equity amount from the TradeManager’s Balances tab for the given account.  Real-time Account Equity is defined as follows:

Real-time Cash + Real-time Trade Equity + Securities on Deposit

Usage

GetRTAccountEquity(strAccountNumber)

Return  

Returns a floating point value identifying the dollar amount of Real-time Account Equity for the given account.  Returns zero for an invalid account.

Inputs

strAccountNumber is the string representation of the account to check.  GetAccountID returns the Account parameter needed here, or you can specify it manually.  

Example

Value1 = GetRTAccountEquity(GetAccountID);

  This reserved word uses processor intensive TradeManager calls that may adversely impact the performance of TradeStation and other applications on your computer.