getMarketPricesCompressed to handle empty prices list correctly