示例#1
0
        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);
            }
        }
示例#2
0
        public void PriceAndPublishEverything()
        {
            var underlyings = Perimeter.GetPerimeter();

            foreach (var underlying in underlyings)
            {
                var pricingTask = new PricingTask();
                pricingTask.PriceAndPublish(underlying);
            }
        }