public method Instrument.getDigits

Brief

Gets the instrument price precision

Declaration

protojavascriptjavacsharp
public getDigits() : int

Returns

The method returns an integer that represents the instrument price precision

Details

It defines the number of digits after the decimal point in the instrument price quote. For example, it is 5 for EUR/USD and 3 for USD/JPY

Declared in Instrument

back