const keyword has been added to methods in MarketData class