Analyzing economies and markets, sharpened by AI.
I'm Jeroen Bouma, Quantitative Investment Strategist in asset management. I turn market developments into investment conclusions on strategic asset allocation, ALM, lifecycle investing and Solvency II internal model calculations, combined with deep expertise in AI. I also created the open-source Finance Toolkit and Finance Database, used by thousands of analysts.
Experience and education
Explore
Everything in one place
Experience
Investment strategy at a.s.r., ALM at PGGM and product management at OpenBB.
ResumeOpen Source Projects
The Finance Toolkit, Finance Database and an MCP server that brings them to AI assistants.
ProjectsFinancial Modelling
A practical guide to building financial models in Python that stay maintainable.
GuideInsights
Analysis of markets, companies and economies, talks at universities and conferences, and a curated reading list.
InsightsFeatured project
The Finance Toolkit
An open-source Python library with 1100+ financial methods, from ratios and valuation models to risk, performance and econometrics. Every formula is written out, so you can see exactly how a number is calculated. The MCP server makes all of it available to AI assistants such as Claude and ChatGPT.
from financetoolkit import Discovery
discovery = Discovery(api_key="FINANCIAL_MODELING_PREP_KEY")
# Find the semiconductor companies on NASDAQ worth more than $100 billion
discovery.get_stock_screener(
industry="Semiconductors",
country="US",
exchange="NASDAQ",
market_cap_higher=100_000_000_000,
is_etf=False,
)
Ask your AI assistant
Which semiconductor companies on NASDAQ are worth more than 100 billion dollars, ranked by market cap?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2017-12-31",
end_date="2025-12-31",
)
# Weekly prices and returns, with the S&P 500 as the benchmark
companies.get_historical_data(period="weekly")
# The 14-week Relative Strength Index
companies.technicals.get_relative_strength_index(
period="weekly", window=14)
Ask your AI assistant
What were the weekly cumulative returns and the 14-week RSI of Nvidia, AMD, Intel and the S&P 500 from 2018 to 2025?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2017-12-31",
end_date="2025-12-31",
)
# Every profitability ratio of each company
companies.ratios.collect_profitability_ratios()
Ask your AI assistant
How did Nvidia's gross, operating, net profit and EBITDA margins change each fiscal year since 2018?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2017-12-31",
end_date="2025-12-31",
)
# The five components that multiply into the return on equity
companies.models.get_dupont_analysis(method="extended")
Ask your AI assistant
Break Nvidia's return on equity into the five components of the Extended DuPont Analysis for each fiscal year since 2018.
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2017-12-31",
end_date="2025-12-31",
)
# The annualized Sharpe ratio of each year
companies.performance.get_sharpe_ratio(
period="yearly", annualize=True)
# The deepest fall within each year
companies.risk.get_maximum_drawdown(
period="yearly", within_period=True)
Ask your AI assistant
What were the annualized Sharpe ratio and the deepest drawdown within each year of Nvidia, AMD and Intel from 2018 to 2025?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC"],
api_key="FINANCIAL_MODELING_PREP_KEY",
)
# The volatility the options imply for the next 30 days
# against the volatility of the past 30 days
companies.options.get_volatility_risk_premium(days=30)
Ask your AI assistant
What volatility do the options of Nvidia, AMD and Intel imply for the next 30 days, against the volatility of the past 30 days?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import FixedIncome
fixedincome = FixedIncome(
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2018-01-01",
end_date="2025-12-31",
)
# The daily U.S. Treasury par yield curve
treasury_rates = fixedincome.get_treasury_rates()
# The curve on the last trading day of each year
treasury_rates.groupby(treasury_rates.index.year).last()
Ask your AI assistant
What did the U.S. Treasury yield curve look like on the last trading day of each year from 2018 to 2025?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
import pandas as pd
from financetoolkit import Econometrics, Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2017-12-31",
end_date="2025-12-31",
)
# The US 10-year real yield and inflation expectations each month
real_yield = companies.economics.get_real_yield_curve(
"United States", period="monthly")
inflation_expectations = (
companies.economics.get_breakeven_inflation_expectations(
"United States", period="monthly"))
# The monthly returns next to the monthly change in both
data = companies.get_historical_data(period="monthly")["Return"]
data = data[["NVDA", "AMD", "INTC"]]
data["Real Yield"] = real_yield[("United States", "10Y")].diff()
data["Inflation Expectations"] = (
inflation_expectations[("United States", "10Y")].diff())
econometrics = Econometrics(data=data, changes=None)
# Regress each company's return on both changes
pd.concat({
ticker: econometrics.get_ols(
dependent_ticker=ticker,
independent_tickers=["Real Yield", "Inflation Expectations"])
for ticker in ["NVDA", "AMD", "INTC"]
})
from financetoolkit import Toolkit
funds = Toolkit(
["SOXX", "XSD", "PSI", "SMH", "SMHC", "KCHP"],
api_key="FINANCIAL_MODELING_PREP_KEY",
)
# The share of each fund invested in each country
funds.etf.get_country_weightings()
# How much every pair of funds holds of the same companies
funds.etf.get_overlap()
Ask your AI assistant
In which countries do the semiconductor funds SOXX, XSD, PSI, SMH, SMHC and KCHP invest, and how much do they hold of the same companies?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
assets = Toolkit(
["SMH", "XLV", "XLE", "TLT", "GLD"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
# The efficient frontier, with at most 40% in one asset
assets.portfolio.get_efficient_frontier(
points=25, maximum_weight=0.4)
# The portfolio with the highest Sharpe ratio
assets.portfolio.get_maximum_sharpe_weights(
maximum_weight=0.4)
# The portfolio in which every asset carries the same share of the risk
assets.portfolio.get_risk_parity_weights()
Ask your AI assistant
Build the efficient frontier of SMH, XLV, XLE, TLT and GLD from 2021 to 2025 with at most 40 percent in one asset, and compare the maximum Sharpe ratio and risk parity portfolios.
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Portfolio, Toolkit
assets = Toolkit(
["SMH", "XLV", "XLE", "TLT", "GLD"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
# The weights in which every asset carries the same share of the risk
risk_parity = assets.portfolio.get_risk_parity_weights()
portfolio = Portfolio(
weights=risk_parity,
start_date="2021-01-01",
rebalancing="yearly",
api_key="FINANCIAL_MODELING_PREP_KEY",
)
# Each position's return against the benchmark, up to today
portfolio.get_portfolio_overview()
Ask your AI assistant
Invest 10.1 percent in SMH, 23.6 percent in XLV, 14.8 percent in XLE, 27.5 percent in TLT and 24.0 percent in GLD at the start of 2021, rebalance every year, and compare the return of each position with the S&P 500 up to today.
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
Writing
Latest insights
“Jeroen was at the intersection of finance, programming and open source, which is a combination that is very hard to find.”
Let's talk
A question about the projects, an idea for a collaboration or a talk? I'm always happy to hear from you.