Beispiel #1
0
        public void PriceAndPublish(string underlying)
        {
            double yesterdayPrice = _marketDataProvider.GetClose(underlying);

            //FIXME en fait, ça devrait être + 2 et non pas + 1
            double todayPrice = yesterdayPrice + 1 + 1;

            _pricePublisherAdapter.Publish(todayPrice);
        }