Exemple #1
0
        public void PriceAndPublish(string underlying)
        {
            double yesterdayPrice = _marketMarketDataRetriever.GetClose(underlying);
            //FIXME en fait, ça devrait être + 2 et non pas + 1
            //double todayPrice = yesterdayPrice + 1;
            double todayPrice = yesterdayPrice + 2;

            _pricePublicher.Publish(todayPrice);
        }