public class DefaultPrecisionManager extends java.lang.Object implements PrecisionManager
Constructor and Description |
---|
DefaultPrecisionManager(Config baseConfig) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getSpotRateDPS(java.lang.String currencyPair)
Should return the precision of the spot rate, quoted as the 'scale' of the value: the number of significant figures to the right of the spot rate's decimal point.
|
java.lang.Integer |
getSpotRatePipMultiplier(java.lang.String currencyPair)
This is the standard number of decimal places for a rate.
|
public java.lang.Integer getSpotRateDPS(java.lang.String currencyPair)
PrecisionManager
getSpotRateDPS
in interface PrecisionManager
public java.lang.Integer getSpotRatePipMultiplier(java.lang.String currencyPair)
PrecisionManager
getSpotRatePipMultiplier
in interface PrecisionManager