net.objectlab.kit.fxcalc.FxRateCalculator Maven / Gradle / Ivy
package net.objectlab.kit.fxcalc;
import java.util.Optional;
/**
* The FX Rate calculator. If the user request a Base rate (or its Inverse), it will provide the rate from the given Base Rate
* snapshot or the BaseFxRateProvider.
*
* @author Benoit Xhenseval
*/
public interface FxRateCalculator {
/**
* Find or calculate the FX Rate for the given pair.
*/
Optional findFx(CurrencyPair ccyPair);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy