Esempio n. 1
0
 public MarketMakerJob(ILogger <MarketMakerJob> logger, IMarketMaker[] marketMakers, IMarketMakerSettingsAccessor settingsAccessor)
 {
     _marketMakers     = marketMakers;
     _settingsAccessor = settingsAccessor;
     _timer            = new MyTaskTimer(typeof(MarketMakerJob),
                                         TimeSpan.FromMilliseconds(settingsAccessor.GetMarketMakerSettings().MarketMakerRefreshIntervalMSec),
                                         logger, DoTime);
 }
 public MarketMakerSettingsManagerGrpc(IMarketMakerSettingsAccessor accessor, IMarketMakerSettingsManager manager)
 {
     _accessor = accessor;
     _manager  = manager;
 }