Open daniel-fcm opened 4 months ago
@daniel-fcm I've rerun the first block of code and got the following output of the 'AAPL' stock so it seems to be working. What is the output of your code when you run it, can you provide a copy and paste of the stacktrace or screenshot?
@datatalking,
I am having a similar issue.
Running the three lines listed at the beginning of your reply to @daniel-fcm in VSCode on a MacBookPro, I get no output at all, and nothing showing in the Call Stack panel. If I insert a generic print command between lines 3 and 4, that command will run and output the specified print string, and then the program just hangs. There are no error messages, and no other output.
Update: I apparently left the program running overnight and it eventually came up with a TypeError:
TypeError: 'NoneType' object is not iterable
If I comment out line 4, the program runs and appears to terminate normally.
There seems to be some issue with the ".get_financial_data()" part. For that matter, the ".get_stock_profile_data()" method produces identical behavior: i.e. program hangs with no output.
I don't seem to have any problem using functions from the "yfinance" module, so the fetching of data from Yahoo is working in those instances.
Any ideas?
Any assistance or insight you can provide is greatly appreciated.
seems to be an issue with latest version, I tried version 1.17 and it worked
seems to be an issue with latest version, I tried version 1.17 and it worked
Thank you! (Now why didn't I think of that? ...facepalm...)
For the benefit of others who might be having similar issues:
Version 1.17 still gave me a type error.
line 190, in _request_handler
cur_url += "&crumb=" + self.crumb
~~~~~~~~~~^~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str
I don't know whether this is related to leaving the dependencies from 1.20 in place, or if there is something else on my system that is different.
But version 1.18 seems to have worked.
I have issue to get this information - it is not working at all anymore:
Same problem with: get_stock_profile_data()
Is this a yahoo problem, or something in the package, which can be done. I run now a test before my script is running like: