public method O2GOfferRow.getPointSize
Brief
Gets the size of one pip.
Declaration | ||||
|
Details
The returned value is used to define the smallest move an instrument can make.
In the case of FX instruments, it is expressed in the instrument counter currency.
In the case of CFD instruments, it is expressed in the instrument native currency.
The possible return values are:
1.0
;
0.1
;
0.01
;
0.001
;
0.0001
;
0.00001
.
The method returns different pip values for different instruments. For example, it returns 0.0001
for EUR/USD
and 0.01
for USD/JPY
.
Note: For different instruments, the minimum possible change of price can be one pip or a fraction of a pip.
In the case of FX instruments, the pip is the minimal possible change of the second-to-last digit in a price quote.
In the case of CFD instruments, the pip is the minimal possible change of the last digit in a price quote.
Declared in O2GOfferRow