public method ClosedPosition.getAmount

Brief

Gets the amount of the closed position

Declaration

protojavascriptjavacsharp
public getAmount() : int

Returns

The method returns an integer that represents the amount of the closed position

Details

In the case of FX instruments, it is expressed in the base currency of the instrument. In the case of CFD instruments, it is expressed in contracts.

Declared in ClosedPosition

back