Class FxTradingConfiguration
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.config.FxTradingConfiguration
This is the interface used to configure a
FxTradingAdapter
.-
Method Summary
Modifier and TypeMethodDescriptionGets the AdapterConfigurationManagerCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,
BlockTradeProperties> Gets the Block Trade CustomFieldValuesFactoryGets the BlotterFieldsUpdaterGets the ConfigurationLoaderGets the CustomFieldValuesSerialisercom.caplin.datasource.DataSource
Gets the DataSourceCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.esp.ESPTrade,
ESPTradeProperties> Gets the ESP CustomFieldValuesFactoryGets the FxTradingAccountManager/** Gets the QuoteFactoryConfigurationCustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,
RFSTradeProperties> Gets the RFS CustomFieldValuesFactoryGets teh UserManagerstatic AdapterConfiguration
Returns a BaseAdapterConfiguration which can be used in retrieving config valuesThis method returns a FxTradingConfigurationBuilder which is ready to be used to instantiate aFxTradingAdapter
.newConfigurationBuilder
(ConfigurationLoader configurationLoader)
-
Method Details
-
newConfigurationBuilder
public static FxTradingConfigurationBuilder newConfigurationBuilder() throws ConfigurationLoaderExceptionThis method returns a FxTradingConfigurationBuilder which is ready to be used to instantiate aFxTradingAdapter
.- Returns:
- a new
FxTradingConfigurationBuilder
- Throws:
ConfigurationLoaderException
-
newConfigurationBuilder
public static FxTradingConfigurationBuilder newConfigurationBuilder(ConfigurationLoader configurationLoader) throws ConfigurationLoaderException - Throws:
ConfigurationLoaderException
-
newAdapterConfiguration
public static AdapterConfiguration newAdapterConfiguration() throws ConfigurationLoaderException, DataSourceConfigurationExceptionReturns a BaseAdapterConfiguration which can be used in retrieving config values- Returns:
- a new
AdapterConfiguration
} - Throws:
ConfigurationLoaderException
DataSourceConfigurationException
-
getFxTradingAccountManager
Gets the FxTradingAccountManager -
getUserManager
Gets teh UserManager- Returns:
- UserManager
-
getBlotterFieldsUpdater
Gets the BlotterFieldsUpdater -
getESPCustomFieldValuesFactory
public CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.esp.ESPTrade,ESPTradeProperties> getESPCustomFieldValuesFactory()Gets the ESP CustomFieldValuesFactory -
getRFSCustomFieldValuesFactory
public CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties> getRFSCustomFieldValuesFactory()Gets the RFS CustomFieldValuesFactory -
getQuoteFactoryConfiguration
/** Gets the QuoteFactoryConfiguration -
getBlockTradeCustomFieldValuesFactory
public CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,BlockTradeProperties> getBlockTradeCustomFieldValuesFactory()Gets the Block Trade CustomFieldValuesFactory -
getCustomFieldValuesSerialiser
Gets the CustomFieldValuesSerialiser -
getAdapterConfigurationManager
Gets the AdapterConfigurationManager -
getDataSource
public com.caplin.datasource.DataSource getDataSource()Gets the DataSource -
getConfigurationLoader
Gets the ConfigurationLoader -
getRfsStateEventFactory
-
getBlockTradeListenerEventInfoFactory
-
getInstrumentProvider
-
getTradingConnectionRouter
-
getDataSourceProviderExtension
-