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);
     }
 }
Example #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);
            }
        }
Example #3
0
 public PricingTask(IMarketDataRetriever marketMarketDataRetriever)
 {
     _marketMarketDataRetriever = marketMarketDataRetriever;
 }
Example #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;
 }