public VolumeSpikesDetector(IMessageHub messageHub, IOptions <AppSettings> appSettings, ISymbolService symbolService, ILastTradesService lastTradesService, IVolumeRecordService volumeRecordService, ILogger <VolumeSpikesDetector> logger) { _logger = logger; _appSettings = appSettings; _symbolService = symbolService; _lastTradesService = lastTradesService; _volumeRecordService = volumeRecordService; LoadSymbols(); messageHub.Subscribe <IList <StreamingMessage> >(HandleMessages); }
public WhoAmiController(IConfiguration configuration, IOptions <AppSettings> appSettings, IVolumeRecordService volumeRecordService) { Configuration = configuration; _appSettings = appSettings; _volumeRecordService = volumeRecordService; }