public class ConfigCrossCurrencyPairProvider extends java.lang.Object implements CrossCurrencyPairProvider
{
name = "FX.Branch"
currencyPairs = [
{
targetCurrencyPair = EURSGD
crossCurrencyPairs = [EURUSD, USDSGD]
}
]
}
]
A search for FX.CROSS and currency pair DKKSGD would return
DKKEUR, EURSGD
BRLJPY, SGDJPY
SGDJPY
AUDSGD
JPYSGD
CrossCurrencyPairProvider.Context
Constructor and Description |
---|
ConfigCrossCurrencyPairProvider() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<java.lang.String> |
getCrossCurrencyPairChain(java.lang.String instrument,
java.lang.String currencyPair)
Given the supplied instrument and currency pair, should return a list of currency pairs to traverse in order to
provide the conversion rate.
e.g. |
void |
initialise(CrossCurrencyPairProvider.Context context) |
public void initialise(CrossCurrencyPairProvider.Context context)
initialise
in interface CrossCurrencyPairProvider
public com.google.common.collect.ImmutableList<java.lang.String> getCrossCurrencyPairChain(java.lang.String instrument, java.lang.String currencyPair)
CrossCurrencyPairProvider
getCrossCurrencyPairChain
in interface CrossCurrencyPairProvider
Copyright © 2019 Caplin Systems.