static void GivenMarketPriceAsInputCalculateProfitEarningRatio(double marketPrice)
        {
            log.Info("Inside GivenMarketPriceAsInputCalculateProfitEarningRatio with marketPrice = " + marketPrice);
            Console.WriteLine("Calculating P/E Ratio....");

            foreach (var stock in _stockService.Stocks)
            {
                stock.MarketPrice           = marketPrice;
                stock.ProfitToEarningsRatio = _stockService.CalculateProfitToEarningsRatio(stock, marketPrice);

                Console.WriteLine("------");
                Console.WriteLine(stock);
            }
            Console.WriteLine("Completed P/E Ratio");
            Console.WriteLine("------------------------------------");
            Console.WriteLine();
            log.Info("GivenMarketPriceAsInputCalculateProfitEarningRatio Completed");
        }