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")
# 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,
)
# The P/E ratio of each sector on NASDAQ
discovery.get_sector_pe()
Ask your AI assistant
Which semiconductor companies on NASDAQ are worth more than 100 billion dollars, ranked by market cap, and what is the P/E ratio of each sector on NASDAQ?
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 deepest fall within each year
companies.risk.get_maximum_drawdown(
period="yearly", within_period=True)
# The loss of the worst 5% of days within each year
companies.risk.get_value_at_risk(
period="yearly", within_period=True)
Ask your AI assistant
What were the deepest drawdown and the 95 percent daily value at risk within each year 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",
)
# The annualized Sharpe ratio of each year
companies.performance.get_sharpe_ratio(
period="yearly", annualize=True)
# How much more each company returned than the S&P 500 in each year
companies.performance.get_alpha(period="yearly")
Ask your AI assistant
What were the annualized Sharpe ratio of each year of Nvidia, AMD and Intel from 2018 to 2025, and how much more did each return than the S&P 500 in each of those years?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
companies = Toolkit(
["NVDA", "AMD", "INTC", "AVGO", "MU"],
api_key="FINANCIAL_MODELING_PREP_KEY",
)
# The delta and gamma of calls up to 30 days to expiration,
# for strike prices up to 25% from the share price
companies.options.get_delta(
strike_price_range=0.25, strike_step_size=5,
expiration_time_range=30)
companies.options.get_gamma(
strike_price_range=0.25, strike_step_size=5,
expiration_time_range=30)
# The implied volatility of the calls that expire on 15 January 2027
companies.options.get_implied_volatility(expiration_date="2027-01-15")
# The volatility of the daily returns over the past year, annualized
returns = companies.get_historical_data(period="daily")["Return"]
returns.tail(252).std() * 252 ** 0.5
Ask your AI assistant
What are the delta and gamma of Nvidia call options that expire in 30 days, for strike prices up to 25 percent from the share price, and how does the implied volatility of the at-the-money calls of Nvidia, AMD, Intel, Broadcom and Micron that expire on 15 January 2027 compare with the volatility of their daily returns over the past year?
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
tickers = ["NVDA", "AMD", "INTC", "AVGO", "MU"]
companies = Toolkit(
tickers,
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[tickers]
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 tickers
})
# The beta to the S&P 500 of each month, with the Kalman filter
companies.econometrics.get_time_varying_beta(
dependent_tickers=["NVDA", "AMD", "INTC"], period="monthly")
Ask your AI assistant
How did the beta of Nvidia, AMD and Intel to the S&P 500 change each month from 2020 to 2025, estimated with the Kalman filter?
Works in Claude, ChatGPT or any other client connected to the Finance Toolkit MCP server.
from financetoolkit import Toolkit
funds = Toolkit(
["SMH", "SOXX", "CHPS", "DRAM"],
api_key="FINANCIAL_MODELING_PREP_KEY",
)
# The share of each fund invested in each country
funds.etf.get_country_weightings()
semiconductor_funds = Toolkit(
["SOXX", "XSD", "PSI", "SMH", "SMHC", "KCHP"],
api_key="FINANCIAL_MODELING_PREP_KEY",
)
# How much every pair of funds holds of the same companies
semiconductor_funds.etf.get_overlap()
Ask your AI assistant
In which countries do the semiconductor funds SMH, SOXX, CHPS and DRAM invest, and how much do SOXX, XSD, PSI, SMH, SMHC and KCHP 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 with the lowest volatility
assets.portfolio.get_minimum_variance_weights(
maximum_weight=0.4)
# The portfolio in which every asset carries the same share of the risk
assets.portfolio.get_risk_parity_weights()
# Risk parity within clusters of assets that move together
assets.portfolio.get_hierarchical_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 weights of the maximum Sharpe ratio, minimum variance, risk parity and hierarchical 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.