calculate proper stats for MarketData