parses market data