Created
September 15, 2021 00:41
-
-
Save anna-geller/8192a13651e78a20c7c487508a754cfb 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
from datetime import date | |
import os | |
from pandas_datareader.data import DataReader | |
ticker_symbol = "GOOGL" | |
os.environ["ALPHAVANTAGE_API_KEY"] = "YOUR_API_KEY" | |
df = DataReader( | |
name=ticker_symbol, | |
data_source="av-daily", | |
start=date(2021, 9, 1), | |
end=date.today(), | |
) | |
df["ticker_symbol"] = ticker_symbol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment