GetRTMarginRequirement (Reserved Word)

image\trumpet2.gif Disclaimer

Retrieves the Real-time Margin Requirement amount from the TradeManager’s Balances tab for the given account.  

Real-time Margin Requirement is defined as follows:

Sum (Margin Requirement of all positions in the given account).

Usage

GetRTMarginRequirement(strAccountNumber)

Return  

Returns a floating point value identifying the dollar amount of Real-time Margin Requirement 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 = GetRTMarginRequirement(GetAccountID);

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