Comments (8)
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.
from financetoolkit.
Sure thing sir:
- It's starter plan
- Code snippet:
`
companies = Toolkit(
assets_list
, quarterly = True
, api_key = fmp_api_key
, start_date="2005-01-01"
,sleep_timer = False)
companies_profile = companies.get_profile()
`
I use Jupyter extension for VSCode
from financetoolkit.
Could you provide me with the ticker list as well? I'll look into it somewhere this weekend!
from financetoolkit.
Here it goes:
assets_list = [
'BRK-B', 'TMUS', 'SONY', 'DBSDY', 'IDXX', 'FTNT', 'VEEV'
,'LRCX', 'NXPI', 'WMT', 'PEP', 'GE', 'ORCL', 'NKE', 'MRK'
,'TSM','HLNE', 'DHR', 'CSCO', 'EME', 'TMO', 'ACN', 'ADP', 'HPQ'
,'PG', 'DLB', 'ABT', 'FTAI', 'CL', 'DE', 'COF', 'CAT'
,'AVGO', 'LMT', 'HD', 'MCD', 'V', 'LHX', 'JNJ', 'TGT'
,'RTX', 'KO', 'TGLS', 'PH', 'VOYA', 'IBP', 'IBKR', 'SPGI'
,'MCO', 'WM'
,'TSLA', 'AMD', 'AMZN', 'GOOGL', 'META', 'ON', 'TTD', 'ANET'
,'CRWD', 'MDB', 'EXAS', 'CDNS', 'RPD', 'NOW', 'QLYS', 'MELI'
,'REGN', 'TDG', 'AAPL', 'NVDA', 'MSFT', 'EG'
,'JPM', 'DLR', 'DTE', 'ARE', 'BBY'
,'BX', 'MS', 'MED', 'VZ', 'ARLP', 'BLX', 'CCOI', 'HTGC'
,'BLK', 'IBM', 'MMM', 'GILD', 'PFE', 'SPOK', 'F', 'BTI'
,'ISRG', 'ANSS', 'PYPL', 'MNST', 'DIS', 'NFLX', 'BMY', 'NVO'
,'ADBE', 'BAC'
,'UNA.AS', 'PRY.MI', 'SAF.PA', 'MC.PA', 'ASML.AS', 'RACE.MI', 'OR.PA'
,'CDI.PA', 'ADYEN.AS'
]
from financetoolkit.
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.
from financetoolkit.
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!
from financetoolkit.
There's no error per se. What was happening is the following:
- I run "companies_profile = companies.get_profile()"
- The progress bar reaches 100% in about 30sec
- Nevertheless, given the API permission issues I had, the "companies_profile = companies.get_profile()" code line continued running for infinite amount of time (I waited for 30 min and it never stopped)
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
from financetoolkit.
Got it, I'll note this down so that if it ever happens again to someone else I know where to point!
from financetoolkit.
Related Issues (20)
- get_historical_data(fill_nan=False) still triggers forward fill HOT 5
- error while calling the functions HOT 3
- option chain data HOT 3
- Getting a lot of NaNs HOT 7
- Error in company.ratios Function HOT 1
- [HELP] - ValueError: source code string cannot contain null bytes HOT 4
- Missing Symbols in FinanceDatabase available in FinancialToolkit HOT 1
- Growth, value, quality stocks info ? HOT 1
- [IMPROVE] Proxy availability HOT 1
- [IMPROVE] Add TQDM/Progress bar on tickers fetched HOT 1
- ValueError: Value is too big! HOT 5
- Is it possible to get sector, industry group info of stock ? HOT 1
- Clarification on Calculating Excess Returns in Non-US Markets with Different Currencies HOT 3
- [BUG] IndexingError: Too many indexers HOT 1
- [IMPROVE] NaN values in PVGO HOT 7
- [BUG] Error using convert_currency=True for old financial data HOT 6
- [FR] Adding calculation of resistance levels HOT 3
- [Bugs] small error in get_interest_debt_per_share(..) HOT 2
- [BUG]: serious bug, missing Estimates dates HOT 1
- [BUG]: income statement false if trailing for Weighted Average Shares HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from financetoolkit.