GetBDTradeEquity (Reserved Word)

image\trumpet2.gif Disclaimer

Retrieve the Beginning Day TradeEquity amount from the TradeManager’s Balances tab for the given account.  Beginning Day Trade Equity is defined as follows:

Sum (Long: (PrevLast - Avg_Cost) * BPV * Qty; Short: (Avg_Cost - PrevLast) * BPV * Qty)

(BPV = Big Point Value for a 1 point move in the security. (ES = $50.00, MSFT = $1.00))

Usage

GetBDTradeEquity(strAccountNumber)

Return  

Returns a floating point value identifying the dollar amount of Beginning Day Trade 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 = GetBDTradeEquity(GetAccountID);

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