public void Initialize(IObservable <PriceDto> priceStream, ICurrencyPair currencyPair) { _loggerFactory = new DebugLoggerFactory(); var pricingServiceClient = new WatchPricingServiceClient(priceStream); var priceFactory = new PriceFactory(new WatchExecutionRepository(), new PriceLatencyRecorder()); var priceRepository = new PriceRepository(pricingServiceClient, priceFactory, _loggerFactory); PriceStream = priceRepository.GetPriceStream(currencyPair); }