public method OpenPosition.getNetPL

Overview

Gets the amount of the current position profit/loss including commissions, interest, and dividends

Declaration

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

Returns

The method returns a real value that represents the amount of the current position profit/loss including commissions, interest, and dividends

Details

Declared in OpenPosition