-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
[BUG] Problem when loading companies' profiles #99
Comments
Could you share some more information about your FMP plan, what code you are running etc? For example, I've built in a wait timer when you hit the API limit per minute. Trying to understand what could be the issue here as it works fine for me. |
Sure thing sir:
companies_profile = companies.get_profile() I use Jupyter extension for VSCode |
Could you provide me with the ticker list as well? I'll look into it somewhere this weekend! |
Here it goes: assets_list = [
|
Sir, the issue was with my API permissions (behind the scene every API call was returning the error 403). I had to approach FMP's support and the issue was resolved. Nevertheless, it seems that if a user's permissions become limited or removed, "companies.get_profile()" never gets resolved, i.e it's stuck in infinite execution. My deepest apologies for taking your time. |
Hi! No worries, do you have the exact error for me? Then I can add it into the Toolkit so that the next time someone has this issue it returns a message! |
There's no error per se. What was happening is the following:
I think the best way for you to reproduce this error is to use an API w/ suspended permission. In my case my permissions were suspended by FMP by an error. Once again, that's a very niche case |
Got it, I'll note this down so that if it ever happens again to someone else I know where to point! |
When I tray to run "companies_profile = companies.get_profile()" I get the following:
"Obtaining company profiles: 100%|██████████| 112/112 [00:16<00:00, 6.94it/s]"
It remains this way for minutes and never ends. However, it loads historical prices w/ no problem
P.S. I'm trying to retrieve that data for 116 companies
The text was updated successfully, but these errors were encountered: