We will use Python with yfinance, pandas, and plotly to do the following:
1. Download historical stock price data
2. Calculate a Simple Moving Average
3. Determine when the stock price crosses above / below the SMA
4. Plot those crosses with Plotly
Related Gist: https://gist.github.com/financial-pyt...