Fix bug where stock data returns null