FinanceToolkit
Open-source Python toolkit that turns company data into financial statements, ratios, technical indicators and risk metrics, with every formula written in readable code.
Calculate ratios, indicators and risk metrics from company data in a few lines of Python, with every formula open to read.
Who it is for
Investors, analysts and bot builders who want transparent, reproducible fundamental and technical metrics instead of a black-box screener.
Strengths
- The README cites 80+ ratios, 50+ technical indicators, 70+ risk and performance metrics and 50+ economic indicators.
- Covers financial statements, models such as Extended DuPont analysis, portfolio optimization and ETF analysis.
- Falls back to Yahoo Finance as a secondary source if Financial Modeling Prep retrieval fails.
- Installs with pip install financetoolkit, with optional extras for econometrics and an MCP server.
Good to know
- The main workflow needs a Financial Modeling Prep API key; the README says the free plan is limited to 250 requests a day, 5 years of data and US-listed companies.
- Not a backtesting engine or broker connector: it calculates metrics and you build the rest.
- Needs Python knowledge.
- Data quality and coverage depend on the provider you use, so check results against the official source.
Custom bots are coming soon
We are preparing a service to build bots on tools like this one. Follow our Telegram channel to know when it opens.
Real-life uses
Fundamentals screen for a watchlist
Run a short Python script that calculates margins, debt and valuation ratios for the companies on your watchlist from their financial statements, and message yourself only the ones that meet your own criteria. Illustrative only, never a promise of returns.
Compare it with others
Guides that use it
How to pull stock price history into a DataFrame with OpenBB
Install OpenBB, fetch historical prices for a ticker in three lines of Python and start a local data API, with notes on provider keys and data accuracy.
How to download historical stock prices to a CSV file with Python (yfinance)
Download free historical prices for stocks, ETFs or crypto with yfinance, save them as a CSV and know the limits before you build a backtest on them.
Quick answers
How much does FinanceToolkit cost?
Free and open source (MIT). Install with pip. The main workflow needs a Financial Modeling Prep API key, which has a free plan; check the official website for current limits and paid plans. Prices change, so check the official website before you decide.
Is FinanceToolkit open source?
Yes. License: MIT.
Who is FinanceToolkit for?
Investors, analysts and bot builders who want transparent, reproducible fundamental and technical metrics instead of a black-box screener.
What is FinanceToolkit written in?
FinanceToolkit is written in Python.
What should I know before using FinanceToolkit?
The main workflow needs a Financial Modeling Prep API key; the README says the free plan is limited to 250 requests a day, 5 years of data and US-listed companies. Not a backtesting engine or broker connector: it calculates metrics and you build the rest. Needs Python knowledge. Data quality and coverage depend on the provider you use, so check results against the official source.
Want a bot like this when custom bots open? Get notified · All comparisons · Guides
Sources
Every fact on this page comes from these sources, checked on 2026-11-19. If something has changed, the source wins.
- https://raw.githubusercontent.com/JerBouma/FinanceToolkit/main/README.md: features, 80+ ratios, 50+ indicators, data sources, FMP free plan limits, Yahoo Finance fallback, pip install, optional extras
- https://api.github.com/repos/JerBouma/FinanceToolkit: MIT, about 5,500 stars, last push 2026-11-19, not archived
Alternatives in Market data
Ghostfolio
Open source wealth management app to track stocks, ETFs and crypto across accounts and see portfolio performance and risk.
Massive (formerly Polygon.io)
US stock, options, forex and crypto market data API; polygon.io now redirects to massive.com.
exchange_calendars
Python library with trading calendars for more than 50 exchanges, so your code knows which days are sessions, when markets open, close and take breaks.
Lightweight Charts
Small, fast open-source JavaScript library from TradingView for showing interactive financial charts, such as candlesticks and lines, on your own web page.