public void PriceAndPublishEverything(IPricePublicher pricePublicher, IMarketDataRetriever marketDataRetriever) { var underlyings = Perimeter.GetPerimeter(_allUnderlyings); foreach (var underlying in underlyings) { var pricingTask = new PricingTask(marketDataRetriever, pricePublicher); pricingTask.PriceAndPublish(underlying); } }
public void PriceAndPublishEverything() { var underlyings = Perimeter.GetPerimeter(); foreach (var underlying in underlyings) { var pricingTask = new PricingTask(); pricingTask.PriceAndPublish(underlying); } }