public method RawOpenPosition.getAmountGets the amount of the position
Declaration
protojavascriptjavacsharppublic getAmount() : int
Returns
The method returns an integer that represents the amount of the position
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 RawOpenPosition