I want to get the DJIA values for 2020 in order to reproduce it with a Principal Component Analysis following this notebook using alpha_vantage. Yet it seems that if the notebook author was available to get the data for the whole year he was interested in, when I run the data it seems that I only have two months:
"""
Download the all-time DJIA dataset
"""
from alpha_vantage.timeseries import TimeSeries
# Update your Alpha Vantage API key here...
ALPHA_VANTAGE_API_KEY = 'MYKEY'
from pprint import pprint
ts = TimeSeries(key=ALPHA_VANTAGE_API_KEY, output_format='pandas')
df, meta_data = ts.get_intraday(symbol='DIA',interval='1min', outputsize='full')
pprint(df.info())
@antoinecomp, this seems to be server-side behavior that is beyond the scope of this Python library. Could you please relay you message/questions to support@alphavantage.co?
I want to get the DJIA values for 2020 in order to reproduce it with a Principal Component Analysis following this notebook using alpha_vantage. Yet it seems that if the notebook author was available to get the data for the whole year he was interested in, when I run the data it seems that I only have two months:
Returns:
Has alpha_vantage reduced the available data? Can I extend the timeframe? If it is not possible, how can I get the data for the DJIA otherwise?