Class FX
java.lang.Object
com.caplin.motif.fx.config.definitions.sales.FX
FX functionality configuration
-
Constructor Summary
ConstructorDescriptionFX()
FX
(FXFeatures features, List<String> currencyPairs) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddCurrencyPairsItem
(String currencyPairsItem) addProfitCurrenciesItem
(String profitCurrenciesItem) currencyPairs
(List<String> currencyPairs) boolean
features
(FXFeatures features) By default a currency pair is assumed to six characters, with the first three characters for the base currency, and the last three for the term currency, e.g.@NotNull FXFeatures
Get featuresA list of currencies the user can choose to have the estimated profit displayed in.int
hashCode()
profitCurrencies
(List<String> profitCurrencies) void
setCurrencyPairs
(List<String> currencyPairs) void
setFeatures
(FXFeatures features) void
setProfitCurrencies
(List<String> profitCurrencies) toString()
-
Constructor Details
-
FX
public FX() -
FX
Constructor with only required parameters
-
-
Method Details
-
features
-
getFeatures
Get features- Returns:
- features
-
setFeatures
-
currencyPairs
-
addCurrencyPairsItem
-
getCurrencyPairs
By default a currency pair is assumed to six characters, with the first three characters for the base currency, and the last three for the term currency, e.g. EURUSD. To specify currency pairs with a different number of characters, please use _ as a delimiter, e.g. USDC_DOGE- Returns:
- currencyPairs
-
setCurrencyPairs
-
profitCurrencies
-
addProfitCurrenciesItem
-
getProfitCurrencies
A list of currencies the user can choose to have the estimated profit displayed in.- Returns:
- profitCurrencies
-
setProfitCurrencies
-
equals
-
hashCode
public int hashCode() -
toString
-