Skip to content

Instantly share code, notes, and snippets.

@under0tech
Last active April 7, 2024 14:07
Show Gist options
  • Save under0tech/0316a30e5200f3daeeb5ba368bad1620 to your computer and use it in GitHub Desktop.
Save under0tech/0316a30e5200f3daeeb5ba368bad1620 to your computer and use it in GitHub Desktop.
# LOAD DATA
# from yahoo_fin
# for 1104 bars with interval = 1d (one day)
init_df = yf.get_data(
STOCK,
start_date=date_3_years_back,
end_date=date_now,
interval='1d')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment