public method PositionsSummary.getNetPLGets the profit or loss of all positions (both long and short) in the account currency. It includes commissions, interest, and dividends
Declaration
protojavascriptjavacsharppublic getNetPL() : real
Returns
The method returns a real value that represents the profit or loss of all positions (both long and short) in the account currency
Declared in PositionsSummary