Open skyhawk7777 opened 1 year ago
Sure. I will look into it tomorrow.
Thanks Prateek
Sent from Outlook for iOShttps://aka.ms/o0ukef
From: skyhawk7777 @.> Sent: Friday, September 15, 2023 1:36:57 AM To: prateekrana17/Cryptocurrency-Price-Prediction-using-LSTM-based-deep-learning @.> Cc: Subscribed @.***> Subject: [prateekrana17/Cryptocurrency-Price-Prediction-using-LSTM-based-deep-learning] Problem with pandas-datareader and Yahoo Finance (Issue #1)
Hi, I'm trying to build this model, but there is a problem with the Python pandas-datareader Library and Yahoo Finance.
This piece of the code -
get finance data from yahoo api
my_data_set = my_reader.DataReader(f'{curr_crypto}-{curr_against}', 'yahoo', begin_dt, ending_dt)
print(my_data_set.head())
causes a ton of execution errors, because Yahoo Finance has changed the query syntax.
There is a fix offered by Saturn Cloud here
But I'm not sure how to incorporate this change into your code.
If you could please take a look when you have a moment, it would be much appreciated.
Thanks,
Joseph.
— Reply to this email directly, view it on GitHubhttps://github.com/prateekrana17/Cryptocurrency-Price-Prediction-using-LSTM-based-deep-learning/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP6X4LSXZWWJKKGJL5WCWOTX2NPWDANCNFSM6AAAAAA4YW7ZZU. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, I'm trying to build this model, but there is a problem with the Python pandas-datareader Library and Yahoo Finance.
This piece of the code -
get finance data from yahoo api
my_data_set = my_reader.DataReader(f'{curr_crypto}-{curr_against}', 'yahoo', begin_dt, ending_dt)
print(my_data_set.head())
causes a ton of execution errors, because Yahoo Finance has changed the query syntax.
There is a fix offered by Saturn Cloud here
https://saturncloud.io/blog/how-to-use-python-pandas-datareader-with-yahoo-finances-changed-url/#:~:text=The%20Solution%3A%20Update%20the%20URL,retrieve%20data%20from%20Yahoo%20Finance.&text=In%20the%20code%20above%2C%20we,the%20Python%20Pandas%20Datareader%20library.
But I'm not sure how to incorporate this change into your code.
If you could please take a look when you have a moment, it would be much appreciated.
Thanks,
Joseph.