Package | Description |
---|---|
net.objectlab.kit.fxcalc |
New to 1.4.0: FX Market Convention and FX Rates, including cross currency calculations.
|
Modifier and Type | Method and Description |
---|---|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.addRateSnapshot(FxRate rate)
Snapshot of FxRate, typically they are the Base FX Rates (e.g.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.askRounding(int askRounding)
Rounding for BID calculations.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.baseFxRateProvider(BaseFxRateProvider baseFxRateProvider)
If it is important for you to get the latest rates every time, you can provide a rate provider using this interface.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.bidRounding(int bidRounding)
Rounding for BID calculations.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.cacheBaseRates(boolean cacheBaseRates)
If using the baseFxRateProvider, should the rate be cached in the calculator, defaulted to true.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.cacheResults(boolean cacheResults)
Once a new rate has been calculated, should it be cached for any further request?
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.currencyProvider(CurrencyProvider currencyProvider)
The interface to determine Currency details.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.majorCurrencyRanking(MajorCurrencyRanking majorCurrencyRanking)
The interface to determine which currency is major, defaults to StandardMajorCurrencyRanking.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.orderedCurrenciesForCross(List<String> orderedCurrenciesForCross)
If the rate required from the calculator is not immediately available, use a cross currency to calculate it; this
gives you the opportunity to select which currencies to use in which order.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.precisionForFxRate(int precisionForFxRate)
Number of decimal places to use on a rate, defaulted to 6.
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.precisionForInverseFxRate(int precisionForInverseFxRate)
Number of decimal places to use for a calculation involving an inversed rate, defaulted to 12
|
FxRateCalculatorBuilder |
FxRateCalculatorBuilder.ratesSnapshot(Collection<FxRate> rates)
Snapshot of FxRate, typically they are the Base FX Rates (e.g.
|
Constructor and Description |
---|
FxRateCalculatorImpl(FxRateCalculatorBuilder builder) |
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.