public method ClosedPositionBuilder.setGrossPL

Overview

Sets the profit or loss of the position in the account currency

Declaration

function setGrossPL(value)
public void setGrossPL(double value);
public void setGrossPL(double value);

Parameters

Name Description
value The profit or loss in the account currency

Details

Declared in ClosedPositionBuilder