public SnapshotMarketDataProcessor(IEnumerable <string> currencyPairs, int intervalMilliseconds, IConnector <SnapshotData> connector, DataExporter exporter)
 {
     _currencyPairs = currencyPairs.ToArray();
     _connector     = connector;
     _exporter      = exporter;
     _timer         = new Timer(intervalMilliseconds)
     {
         AutoReset = true
     };
     _timer.Elapsed += _timer_Elapsed;
 }
 public StreamingDataProcessor(IEnumerable <string> currencyPairs, IWebSocketConnectorFactory connectorFactory, DataExporter exporter)
 {
     _currencyPairs    = currencyPairs.ToArray();
     _connectorFactory = connectorFactory;
     _exporter         = exporter;
     _connectors       = new List <IConnector <StreamingData> >();
 }