Class FxTradingConfiguration
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.config.FxTradingConfiguration
-
public class FxTradingConfiguration extends java.lang.Object
This is the interface used to configure aFxTradingAdapter
.
-
-
Method Summary
-
-
-
Method Detail
-
newConfigurationBuilder
public static FxTradingConfigurationBuilder newConfigurationBuilder() throws ConfigurationLoaderException
This 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, DataSourceConfigurationException
Returns a BaseAdapterConfiguration which can be used in retrieving config values- Returns:
- a new
AdapterConfiguration
} - Throws:
ConfigurationLoaderException
DataSourceConfigurationException
-
getFxTradingAccountManager
public FxTradingAccountManager getFxTradingAccountManager()
Gets the FxTradingAccountManager
-
getUserManager
public UserManager getUserManager()
Gets teh UserManager- Returns:
- UserManager
-
getBlotterFieldsUpdater
public TradeBlotterItemFieldsUpdater 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
public QuoteFactoryConfiguration getQuoteFactoryConfiguration()
/** Gets the QuoteFactoryConfiguration
-
getBlockTradeCustomFieldValuesFactory
public CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,BlockTradeProperties> getBlockTradeCustomFieldValuesFactory()
Gets the Block Trade CustomFieldValuesFactory
-
getCustomFieldValuesSerialiser
public CustomFieldValuesSerialiser getCustomFieldValuesSerialiser()
Gets the CustomFieldValuesSerialiser
-
getAdapterConfigurationManager
public AdapterConfigurationManager getAdapterConfigurationManager()
Gets the AdapterConfigurationManager
-
getDataSource
public com.caplin.datasource.DataSource getDataSource()
Gets the DataSource
-
getConfigurationLoader
public ConfigurationLoader getConfigurationLoader()
Gets the ConfigurationLoader
-
getRfsStateEventFactory
public RFSStateEventFactory getRfsStateEventFactory()
-
getBlockTradeListenerEventInfoFactory
public BlockStateEventFactory getBlockTradeListenerEventInfoFactory()
-
getInstrumentProvider
public InstrumentProvider getInstrumentProvider()
-
getTradingConnectionRouter
public TradingConnectionRouter getTradingConnectionRouter()
-
-