public method PositionsSummary.getGrossPLGets the current profit or loss of all positions (both long and short) in the account currency
Declaration
protojavascriptjavacsharppublic getGrossPL() : real
Returns
The method returns a real value that represents the current profit or loss of all positions
Declared in PositionsSummary