Syntax
ProfitLossMode.EXECUTION_PRICE
Description
The ProfitLossMode.EXECUTION_PRICE constant can be set as a value of the profitLossMode
input parameter of the GetOpenPL function, in which case the Open Profit/Loss value is calculated as the difference between a position’s net liquidation value and execution price times the position size. The value is calculated for positions on the specified symbol, for the currently selected account.