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(IPricePublicher pricePublicher, IMarketDataRetriever marketDataRetriever)
        {
            var underlyings = Perimeter.GetPerimeter(_allUnderlyings);

            foreach (var underlying in underlyings)
            {
                var pricingTask = new PricingTask(marketDataRetriever, pricePublicher);
                pricingTask.PriceAndPublish(underlying);
            }
        }
示例#3
0
 public PricingTask(IMarketDataRetriever marketMarketDataRetriever)
 {
     _marketMarketDataRetriever = marketMarketDataRetriever;
 }
示例#4
0
 public PricingTask(IMarketDataRetriever marketMarketDataRetriever, IPricePublicher pricePublicher) : this(marketMarketDataRetriever)
 {
     _marketMarketDataRetriever = marketMarketDataRetriever;
     _pricePublicher            = pricePublicher;
 }
 public PricingTask(IMarketDataRetriever marketMarketDataRetriever, IPricePublicher pricePublicher)
     : this(marketMarketDataRetriever)
 {
     _marketMarketDataRetriever = marketMarketDataRetriever;
     _pricePublicher = pricePublicher;
 }
 public PricingTask(IMarketDataRetriever marketMarketDataRetriever)
 {
     _marketMarketDataRetriever = marketMarketDataRetriever;
 }