-
-
Save quantra-go-algo/8dcaeb5aabaebaaa2f860a96a49ff91a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avg_err={} | |
avg_train_err={} | |
# To fetch financial data | |
import yfinance as yf | |
# Fetch data | |
AAPL_data= yf.download('AAPL', start='2005-1-1', end='2023-1-1', auto_adjust = True) | |
df = df[['Open', 'High', 'Low', 'Close']] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment