GetOpenOrderInitialMargin (Reserved Word)
Retrieve the Open Order Initial Margin amount from the TradeManager’s Balances tab for the given futures account. Open Order Initial Margin is defined as follows:
Sum (Open Order Initial Margins of all positions in the given account)
Usage
GetOpenOrderInitialMargin(strAccountNumber)
Return
Returns a floating point value identifying the dollar amount of Open Order Initial Margin for the given futures account. Returns zero for an equity or 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 = GetOpenOrderInitialMargin(GetAccountID);
This reserved word uses processor intensive TradeManager calls that may adversely impact the performance of TradeStation and other applications on your computer.