AI BACKTEST / PORTFOLIO VARIANT ENGINE
Backtest a portfolio from a plain-English idea.
Describe your assets, weights, or goal. AI builds the rules, creates one-variable alternatives, and explains the results.
“I want a long-term core portfolio with less severe drawdowns, without giving up too much return.”
AI is converting the idea into testable assumptions…More gold improved the worst drawdown, but the result is sensitive to the selected start year.
Next suggested test: shift the start dateLIVE DATA VERTICAL SLICE
One portfolio. Real closing prices. Auditable output.
A $10,000 reference portfolio using dividend-adjusted daily closes, with annual rebalancing and no fees or additional contributions.
METHODCommon trading dates · adjusted close · annual rebalance ·1537 observations
PROVENANCEMarketstack `/v1/eod` · fetched Aug 20, 2026, 2:34 PM UTC · 16 incomplete provider rows excluded
THE AI BACKTEST WORKFLOW
AI does more than translate a prompt into portfolio code.
It structures the question, designs controlled comparisons, and explains the evidence. The calculation layer remains deterministic and reproducible.
Turn an idea into explicit rules.
Describe a goal in ordinary language or enter assets, weights, and rules directly. AI converts the idea into a testable reference portfolio.
Expose assumptions before testing.
Dividends, inflation, contributions, costs, rebalancing, and data substitutions are surfaced before they affect the result.
Propose informative variables.
AI reasons about which allocation, asset, timing, or rule changes could answer the user’s question most directly.
Create controlled variants.
Each proposed portfolio changes one variable, preserving a clean comparison with the reference portfolio.
Interpret the measured difference.
AI connects changes in return, drawdown, volatility, and result consistency to the periods and assets that contributed to them.
Recommend the next useful test.
Instead of searching thousands of parameters, AI proposes the next comparison with the highest information value.
A CLEAR DIVISION OF LABOR
AI designs and explains the comparison. The engine computes it.
PortfolioCompare never asks a language model to invent prices, calculate returns, or decide whether an investment is suitable. AI organizes and interprets the result around auditable calculations.
- Structures natural-language ideas
- Identifies hidden assumptions
- Designs one-variable comparisons
- Explains differences and limitations
- Suggests the next useful experiment
- Loads versioned market data
- Applies weights and portfolio rules
- Calculates performance and risk
- Runs identical rules across variants
- Produces reproducible result fingerprints
BUILD A CONTROLLED BACKTEST
Start with an idea. End with a testable portfolio question.
Create a reference portfolio, generate controlled variants, and see which configuration is better supported by the backtest.
Start with an investment idea