-
-
Save quantra-go-algo/08c67b3b2f244eb33329271573f1d409 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
# Function to get historical price data | |
def get_price_data(ticker, start_date, end_date): | |
data = yf.download(ticker, start=start_date, end=end_date) | |
return data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment