-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0_API_alphavantage_get_old_history.py not working since alphavantage API url changed and non of this files are working #21
Comments
looks easy to fix Old system (recenly in the code 08-2023 ) New system (have to be uptaded I dont have time ) alphavantage has changed the keywords request &slice=year2month12 for &month=2019-01 Please try to change it , if work , could you share it to updated the code |
did all changes but no, this is not working: see this is the api response: meta data tag making issue. "Meta Data": { |
when I print the clumn names: its showing like this : [' "1. Information": "Intraday (15min) open', ' high', ' low', ' close prices and volume"', 'Unnamed: 4'] but in the code : column names not matched with waht data received from alphavantage better can you please build the project code and see the error in your local machine. |
likely your are reciving a dict, you have to look inside the dict to only get Open, close..... data |
If I may, could you make the change? It's easy, excuse me, if you are stuck with this, I don't think you have much progress, you can write me to the telegram group of the documentation. |
solved in the last version of https://github.com/Leci37/stocks-prediction-Machine-learning-RealTime-TensorFlow/blob/master/0_API_alphavantage_get_old_history.py but is better use alapaca o yahoo to get the full data |
0_API_alphavantage_get_old_history.py not working since alphavantage API url changed and non of this files are working.
If possible please rebuild this excellent project and upload the new version please. Also install failed with mitmproxy.
when I put print column: the data looks like
[' "1. Information": "Intraday (15min) open', ' high', ' low', ' close prices and volume"', 'Unnamed: 4']
but actually code having something different
Traceback (most recent call last):
File "0_API_alphavantage_get_old_history.py", line 107, in
df_S_all = df_S_all.sort_values(['Date'], ascending=True)
KeyError: 'Date'
The text was updated successfully, but these errors were encountered: