public method PositionsSummary.getNetPL

Overview

Gets the profit or loss of all positions (both long and short) in the account currency. It includes commissions, interest, and dividends

Declaration

function getNetPL()
public double getNetPL();
public double getNetPL();

Returns

The method returns a real value that represents the profit or loss of all positions (both long and short) in the account currency

Details

Declared in PositionsSummary