Code now pulls market data directly