Пример #1
0
 public void Init()
 {
     _store        = new DataStore(new[] { Symbols.BitMex.XRPU18 });
     _logger       = new TestLogger();
     _updator      = new ExecutionTableUpdator(_store, _logger);
     _dataProvider = new DataProvider(_store);
     _parser       = new ExecutionTableParser(_updator, _logger);
 }
Пример #2
0
 public DeltaParser(DataStore store, ILogger logger, bool logInFile = true)
 {
     _store                 = store;
     _logger                = logger;
     _logInFile             = logInFile;
     _orderBookUpdator      = new OrderBookUpdator(_store);
     _ordersTableUpdator    = new OrdersTableUpdator(_store, _logger);
     _executionTableUpdator = new ExecutionTableUpdator(_store, _logger);
 }
Пример #3
0
 public ExecutionTableParser(ExecutionTableUpdator updator, ILogger logger)
 {
     _updator = updator;
     _logger  = logger;
 }