public OrderBookPublishTimer(
     IFakeExchange fakeExchange,
     TimeSpan publishInterval,
     ILogFactory logFactory)
     : base(publishInterval, logFactory)
 {
     _fakeExchange = fakeExchange;
 }
 public ExternalOrderBookSubscriber(
     SubscriberSettings settings,
     IFakeExchange fakeExchange,
     ILogFactory logFactory)
 {
     _settings     = settings;
     _fakeExchange = fakeExchange;
     _logFactory   = logFactory;
     _log          = logFactory.CreateLog(this);
 }
예제 #3
0
 public OrderbookController(IFakeExchange fakeExchange)
 {
     _fakeExchange = fakeExchange;
 }
 public FakeApiClient(string clientId, IFakeExchange fakeExchange)
 {
     _clientId     = clientId;
     _fakeExchange = fakeExchange;
 }