Skip to content

Instantly share code, notes, and snippets.

@scubamut
Last active December 20, 2024 12:54
Show Gist options
  • Select an option

  • Save scubamut/adb57bae106b197581d59a6240f37e75 to your computer and use it in GitHub Desktop.

Select an option

Save scubamut/adb57bae106b197581d59a6240f37e75 to your computer and use it in GitHub Desktop.
import yfinance as yf
data = yf.download('^GSPC', progress=False)
trading_days = data.index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment