GetAccount (Reserved Word)

image\trumpet2.gif Disclaimer

Identifies the account for a location number in the list of accounts. This function can be used with GetNumAccounts to enumerate available equity and futures accounts.

Usage

GetAccount(AccounLoc)

Return

Returns a string identifying the account for the account at a specific location in the list of accounts.

Inputs

AccountLoc is an integer number with a value between 1 and the number returned by GetNumAccounts.

Example

vars: str("");

str = GetAccount(1);

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