Esempio n. 1
0
        public void Handle(IAccount account, MarketDataManager marketDataManager)
        {
            double price = marketDataManager.GetPrice(share);

            if (price > 0)
            {
                account.BuyStock(share, quantity, marketDataManager.GetPrice(share));
            }
        }