After further testing. It seems like certain stock tickers throw this error, while others do not. For example, these tickers throw this error:
- NVDA
- HD
While these tickers do not:
- AMZN
- GOOG
Locally, every valid ticker works:
Error on Streamlit Cloud: