Class TradingProviderConfiguration

java.lang.Object
com.caplin.trading.TradingProviderConfiguration

public class TradingProviderConfiguration extends Object
  • Constructor Details

    • TradingProviderConfiguration

      public TradingProviderConfiguration()
  • Method Details

    • setProviderName

      public TradingProviderConfiguration setProviderName(String providerName)
      Sets the provider name
      Parameters:
      providerName - the provider name
      Returns:
      the TradingProviderConfiguration
    • setTradeModelXMLFileNames

      public TradingProviderConfiguration setTradeModelXMLFileNames(String... xmlFileNames)
      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

      public TradingProviderConfiguration setTradeModelXMLInputStreams(InputStream... xmlInputStreams)
      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

      public TradingProviderConfiguration setTradeChannelPatterns(String... channelPatterns)
      Sets the list of channel patterns
      Parameters:
      channelPatterns - the list of channel patterns
      Returns:
      the TradingProviderConfiguration
    • setUseGenericMessages

      public TradingProviderConfiguration setUseGenericMessages(boolean useGeneric)
      Sets whether to use generic messages or not
      Parameters:
      useGeneric - whether to use generic messages or not
      Returns:
      the TradingProviderConfiguration
    • setAuditLoggerPattern

      public TradingProviderConfiguration setAuditLoggerPattern(String loggerPattern)
      Sets the audit logger pattern
      Parameters:
      loggerPattern - the audit logger pattern
      Returns:
      the TradingProviderConfiguration
    • toString

      public String toString()
      Overrides:
      toString in class Object