public method OpenPosition.getGrossPLGets the current profit or loss of the position in the account currency
Declaration
protojavascriptjavacsharppublic getGrossPL() : real
Returns
The method returns a real value that represents the current profit or loss of the position in the account currency
Declared in OpenPosition