PortfolioSim
BACKTEST ยท SIMULATE ยท OPTIMIZE
QUANTITATIVE PORTFOLIO PLANNING

Stress-test your portfolio against half a century of real markets.

PortfolioSim runs your exact allocation through the booms, crashes and inflation regimes that actually happened โ€” then bootstraps thousands of alternate futures from that history, so you can see whether the plan survives before you have to live it.

Launch App โ†’ FREE ยท NO SIGN-UP
SIMULATED PORTFOLIO EQUITY
50+
YEARS OF MARKET DATA
10,000
MONTE CARLO PATHS
6
ANALYSIS MODULES
2
ECONOMIES TRACKED
WHAT'S INSIDE
Every module lives inside the app โ€” this is the map.
๐Ÿ“Š
Portfolio Returns
Multi-asset backtesting across equities, gold, bonds, T-bills and Canadian farmland โ€” with fee drag, a tactical moving-average overlay, and block-bootstrap forward simulation.
๐Ÿ“ˆ
Retirement Simulator
Withdrawal sequencing against every historical start year, pension timing, Guyton-Klinger guardrails, safe-withdrawal-rate search, and a contribution planner in today's dollars.
๐ŸŒ
Economics โ€” USA
FRED dashboards for the inputs that move plans: GDP-deflator inflation, housing, money supply, the yield curve and recession context.
๐Ÿ
Economics โ€” Canada
Canadian macro via FRED and the Bank of Canada Valet API โ€” inflation, policy rate, yields and housing, aligned to the same real-return framework.
โš ๏ธ
Risk
Per-asset drawdown anatomy, volatility thresholds and year-by-year return tables โ€” see how each holding behaves before you weight it.
๐Ÿ”ฌ
Optimizer
Monte Carlo search refined by SLSQP to find allocations that maximise return under your drawdown ceiling โ€” with rolling-window stability checks.
HOW IT WORKS
01
Build the allocation
Set weights across the asset table in ๐Ÿ“Š Portfolio Returns โ€” tickers, dates and fee drag are all editable.
02
Backtest against history
Run the historical simulation, layer on tactical signals if you want them, and read the real (after-inflation) results.
03
Simulate the retirement
The portfolio feeds ๐Ÿ“ˆ Retirement Simulator automatically โ€” test withdrawals, pensions and guardrails across thousands of futures.
DATA & METHODS
SOURCES
Yahoo Finance
FRED โ€” St. Louis Fed
Statistics Canada
Bank of Canada Valet
METHODOLOGY
Guyton-Klinger guardrails
Stationary block bootstrap
SLSQP optimization
GDP-deflator real returns
Moving-average regime signals
Educational tool โ€” not investment advice. Full methodology inside the app. PortfolioSim ยท portfoliosim.org