public async Task AddAsync(Instrument instrument) { await _instrumentsAccessService.AddAsync(instrument); if (instrument.State == InstrumentState.Active) { await _pricesGenerator.Start(instrument.AssetPair); } else { await _pricesGenerator.Stop(instrument.AssetPair); } }