Package com.caplin.trading
Class TradingProviderConfiguration
java.lang.Object
com.caplin.trading.TradingProviderConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetAuditLoggerPattern
(String loggerPattern) Sets the audit logger patternsetProviderName
(String providerName) Sets the provider namesetTradeChannelPatterns
(String... channelPatterns) Sets the list of channel patternssetTradeModelXMLFileNames
(String... xmlFileNames) Sets the list of XML files that contain the trade modelssetTradeModelXMLInputStreams
(InputStream... xmlInputStreams) Sets the list of input streams containing the XML trade modelssetUseGenericMessages
(boolean useGeneric) Sets whether to use generic messages or nottoString()
-
Constructor Details
-
TradingProviderConfiguration
public TradingProviderConfiguration()
-
-
Method Details
-
setProviderName
Sets the provider name- Parameters:
providerName
- the provider name- Returns:
- the TradingProviderConfiguration
-
setTradeModelXMLFileNames
Sets the list of XML files that contain the trade models- Parameters:
xmlFileNames
- the list of XML files containing trade models.- Returns:
- the TradingProviderConfiguration
-
setTradeModelXMLInputStreams
Sets the list of input streams containing the XML trade models- Parameters:
xmlInputStreams
- the list of input streams containing the XML trade models- Returns:
- the TradingProviderConfiguration
-
setTradeChannelPatterns
Sets the list of channel patterns- Parameters:
channelPatterns
- the list of channel patterns- Returns:
- the TradingProviderConfiguration
-
setUseGenericMessages
Sets whether to use generic messages or not- Parameters:
useGeneric
- whether to use generic messages or not- Returns:
- the TradingProviderConfiguration
-
setAuditLoggerPattern
Sets the audit logger pattern- Parameters:
loggerPattern
- the audit logger pattern- Returns:
- the TradingProviderConfiguration
-
toString
-