How Simfolio’s Backtesting and Simulation tools calculate portfolio returns, model future outcomes and test accuracy on out-of-sample data.
Backtesting reconstructs a portfolio one trading day at a time. The first common price date establishes the starting holdings. On each subsequent date, the holdings in place at the beginning of the interval earn that interval’s returns. Price changes move weights away from their targets; a trade changes the weights carried into the next interval. A reference portfolio follows the same calendar.
Use opening weights. A 60.00% holding rising 2.00% and a 40.00% holding falling 1.00% add up to a 0.80% portfolio return before adjustments.
Date Range. Full History uses the dates shared by the holdings and any required comparison, exchange-rate and economic series. Last N Years counts back from the run date and accepts fractions of a year. To Date Since starts on January 1 of the selected year. Editing the start creates a custom range; leaving the end blank uses the latest common observation. Check the result dates if a required series begins after your requested start.
Portfolio inputs. Normalize rounds each entered weight to two decimal places at its original scale. A saved rule-based portfolio retains its allocation rules. Each comparison portfolio can use its own rebalancing, costs, inflation basis, cash flows and tax assumptions. Selecting it as the Benchmark copies its tickers and target weights.
A cash ticker tracks a modeled reference return. Some series compound published benchmark index levels; others convert quoted interest rates to periodic accruals. The correct conversion depends on the quote convention. The reporting currency, the portfolio’s cash holding and a leveraged ticker can each use a different reference rate.
For example, CASHAUD converts a quoted annual percentage rate to daily accrual using the specified 252-day convention. CASHBRL instead receives a percentage per business day and divides by 100 to obtain that day’s decimal return. OECD via FRED: Australian short-term rate; Central Bank of Brazil: daily Selic series.
In USD, EFFRX represents the short-rate reference using the effective federal funds rate where available and earlier cash data where documented; CASHX is the separate cash holding reference. A series entry distinguishes its native currency, sampled dates, source changes and any extension beyond the last quoted observation. Federal Reserve: effective federal funds rate; Federal Reserve: three-month Treasury bill rate.
19 of 19 histories · 1–12
A fixed payment can be a currency amount or a percentage of the balance immediately before the event. Use a positive amount to deposit and a negative amount to withdraw. Several fixed schedules can coexist with one active withdrawal policy.
A one-time payment falls on the first eligible observation on or after its date. A recurring fixed payment uses the last eligible observation on or before each scheduled boundary. Optional start and end dates narrow the schedule within the modeled period.
Cash flows follow that day’s investment return. In an ordinary portfolio with positive wealth, additions and redemptions scale the current holdings proportionally; a scheduled rebalance can then restore target weights. A fixed contribution coinciding with a dynamic withdrawal is applied before the withdrawal is calculated.
For portfolio value after a cash flow, apply the day’s return before net external payments.
Apply the investment return first, then add net external payments at the close.
Requested spending is the policy’s demand. Funded spending is the amount actually withdrawn after affordability and trading costs. The difference is a shortfall.
Backtest Starting Value and Simulation Start Value are set independently in the selected Currency. Changing either balance changes how much a fixed deposit or withdrawal represents as a share of the portfolio. When fixed cash flows are zero, a larger starting balance scales account value proportionally; percentage returns stay the same.
Cash-flow Inflation. Indexing changes the amount paid. Real reporting changes the units in which the result is shown. With nominal reporting and Cash-flow Inflation off, a fixed payment of 1,000 stays 1,000 in the reporting currency. With indexing on, a 5% rise in the relevant price index makes the nominal payment 1,050 so it still buys what 1,000 bought at the start. Percentage flows already scale with wealth.
In Backtesting and Simulation, purchasing-power reporting automatically indexes eligible fixed-currency payments to preserve their starting purchasing power.
Trading Cost is one all-in, one-way rate for modeled spread, slippage and commission. A setting of 0.15% means 15 basis points of the traded amount. The default is zero; the entered rate covers the full modeled trading cost.
Halving the sum of absolute weight changes counts each transfer once. Multiply that turnover by the one-way rate and by the pre-trade portfolio value.
Moving a 100,000 portfolio from 60/40 to 50/50 sells 10,000 of one holding and buys 10,000 of the other. One-way turnover is 10%; a 0.15% setting costs 15. A cash-flow trade instead uses the amount actually contributed or withdrawn. With value W and rate c, at most W/(1 + c) can be paid out while leaving enough to cover the trading cost. The initial setup and a rebalance that leaves weights unchanged both cost zero.
Portfolio-level Annual drag is a recurring reduction to growth. It accrues over elapsed calendar time, including days between trades. The ordinary portfolio editor retains a nonzero drag from an older setup and displays Saved portfolio drag with the action Remove saved portfolio drag. Tools with an Annual drag input use the rate entered there.
An expense built into an observed fund return or deducted in a simulated ticker recipe reduces that asset’s return. Portfolio-level drag applies in addition to these ticker-level expenses.
The selected currency determines the unit in which portfolio wealth and returns are measured. Simfolio converts the price of each holding from its native currency into the reporting currency before combining the holdings. A 5% local return and a 2% fall in the value of that currency translate to a 2.90% gain in the reporting currency: 1.05 × 0.98 − 1.
rₙ and rᵣ are the native and reporting returns for the same interval; X₀ and X₁ are reporting-currency units per native unit at its start and end.
The reporting currency also selects the cash or short-rate reference used for excess-return measures. For USD, this reference is EFFRX; the USD portfolio cash ticker is CASHX. A completed result retains the currency used when calculated.
For the difference between nominal and purchasing-power amounts, see Inflation.
Custom changes how future returns are generated while leaving the portfolio and its investment policy in place. A historical replay can draw the exact joint moves from a particular day; a fitted model can generate new combinations of asset returns.
Model Structure. Choose the process that generates a path of daily returns for all holdings.
Mean Model. The mean model supplies the fitted center of each daily log return.
For one asset on day t, the mean model supplies the center μ, volatility sets the scale σ, and the shock z supplies the surprise. A shock of −2 puts that day’s log return two volatility units below its fitted center.
Volatility Model. Volatility sets the size of daily surprises. Time-varying choices fit a variance rule to historical shocks and project its expected variance at each future date. Every path uses that same projected scale; the shocks distinguish one path from the next.
GARCH illustrates the building blocks: e is the day’s log return minus its fitted center, v is variance, and the three coefficients are fitted from history.
Shock Distribution. A shock distribution determines how often small, large and asymmetric surprises occur. The mean and volatility then translate those surprises into asset returns.
Dependence. For correlated Normal shocks, this setting determines how to estimate relationships across assets. Historical row sampling preserves those relationships directly.
Sampling / Dependence. Sampling determines how observations follow each other through time. The sampled unit is a row of asset returns for Historical Resampling, or a row of residual shocks for an empirical bootstrap.
Replacement. Replacement controls when a sampled day or block becomes eligible to be drawn again.
Custom Time Series turns your own dated daily returns into a ticker you can use across Simfolio. Enter its symbol and choose the native currency of those returns. Reporting currency is selected separately when you run an analysis.
CSV format. Put unique dates in YYYY-MM-DD format in the first column and daily returns in the second. A return of 0.46% or 0.0046 means +0.46%; 0.46 means +46%. Each return must be finite and greater than −100%.
Extending the history. Each optional extension uses a reference ticker in the same native currency. The reference must cover the boundary where the two histories meet. Your observations and any gaps inside the uploaded span stay unchanged.
An institutional data provider supplies market histories for stocks, funds, indices, futures and digital assets. Where available, adjusted prices reflect applicable splits and distributions. Each source record identifies the series used: price-only, total return or collateralized futures.
Interest rates, inflation and exchange rates draw on FRED and the named public compilers, including the Federal Reserve, BLS, OECD, Eurostat and IMF. Selected earlier exchange-rate histories also use the BIS: bilateral exchange rates and Federico–Tena: World Exchange Rates Series. Some reconstructions interpolate low-frequency observations or convert a predecessor currency. Federal Reserve H.10 exchange rates.
Selected commodity proxies use the World Bank: commodity price data. Historical factors and research portfolios draw on the Kenneth French Data Library, Global-q: factor construction and AQR Data Library. A research portfolio uses a published construction.
This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.
Date coverage. The analysis begins when its holdings, benchmark and currency series share observations and its indicators have warmed up. A holding first observed in 2014 sets 2014 as its earliest start; a separately named reconstruction can supply its exposure for a comparison beginning in 2008.
See Date Range for how the date controls select the available sample.
For asset returns, a daily simple return measures the change from the previous eligible price observation to the current one. Compounding these returns links observations into a wealth index. Adjusted prices carry their split adjustments forward; total-return histories already include their distributions. Each adjustment enters the return once.
Pₜ is the applicable adjusted price or source-index level at observation t; rₜ is the interval’s simple return and gₜ its log return when the gross return is positive.
“Daily” describes the analysis observation. An aligned value can carry forward a market close or a previously published observation. A modeled or interpolated source remains modeled or interpolated after it is expressed as daily returns.
Default draws one historical return date at a time, with replacement. It uses the same date for every asset: if stocks fell and bonds rose that day, the paired movements stay together. Each new draw independently selects the next date, preserving same-day relationships while reshuffling the sequence of gains, losses and volatile days.
Before resampling, Default moves each asset’s average log return toward zero, leaving its day-to-day deviations from that average intact. The less precisely the historical mean is estimated, the less of it carries forward.
For asset i, x̄ is the average daily log return; t is its magnitude divided by its estimated standard error (the sample standard deviation divided by the square root of the observation count). A mean one standard error from zero receives half its historical magnitude. A zero standard error is assigned zero weight.
The research Benchmark shuffles consecutive blocks of unadjusted returns to evaluate forecast accuracy.
The historical Efficient Frontier compares the weights available to one portfolio over the completed sample. It keeps each candidate’s weights constant across daily observations, which puts the original allocation and alternatives on the same basis. A conventional backtest answers a different question: what happened as holdings drifted, trades incurred costs and money entered or left the account?
w is the allocation, Σ the covariance matrix of daily asset returns, and σp2 the resulting daily portfolio variance. Covariance captures how the assets move together. This is the framework of Markowitz’s Portfolio Selection.
Each point on the historical frontier corresponds to an evaluated allocation. The selected objective determines the chosen weights; CAGR, volatility and Sharpe compare the resulting allocations. The search compares pre-tax investment returns before portfolio-level trading costs, annual drag and investor cash flows.
Objectives. The search takes one static portfolio with at least 2 distinct tickers. It supports up to 3 unique tickers on Guest and Explorer, or 30 on Researcher. Walk-Forward Optimization, Simulated Efficient Frontier and Strategy Composer use the same objectives. Guest and Explorer include Inverse Volatility, Minimum Volatility and Equal Risk Contribution. Researcher also includes Inverse Variance.
Constraints. Gross exposure adds the absolute sizes of the risky positions: 50% long and 50% short use 100% gross exposure despite netting to zero. Position bounds can apply across the universe or to individual tickers. Minimum included weight applies only to selected holdings, so an eligible asset can still be left out. Risk and return limits screen allocations before the tool compares objectives.
Interactive frontier. Editing expected growth or volatility reprices the displayed mixes but keeps the completed run’s asset correlations. Where financing is editable, the tool varies cash around those same risky mixes: a Max cash short of 25% allows a long-only portfolio to invest up to 125% of its equity. The spread applies only to borrowed cash. Selected Portfolio keeps the completed run’s selection. Minimum Volatility picks the lowest-volatility mix among the displayed allocations. Load in Backtest transfers the weights for a separate policy replay.
Factor Regression estimates how much of the variation in a portfolio’s daily excess returns is associated with specified market exposures. A market loading of 1.20 means that a 1.00 percentage-point movement in market excess return corresponds to an estimated 1.20 percentage-point movement in portfolio excess return, holding the other factors fixed. The residual is the part of that day’s movement left unexplained.
Fit the portfolio’s daily return above the cash reference against the selected factors. Simfolio uses least squares, multiplies daily alpha by 252, and uses standard errors that allow changing variance and dependence through five lags.
CAPM uses market excess return. FF3 adds size and value; Carhart’s FF4 adds momentum. FF5 adds profitability and investment to FF3; FF6 adds momentum to FF5. These series and the short- and long-term reversal factors are described in the Kenneth R. French Data Library. Exploratory FF8 adds both reversals to FF6.
Q5 uses market, size, investment, profitability and expected growth from the q-factor researchers. The Betting Against Beta (BAB) and Quality Minus Junk (QMJ) specifications each combine the named U.S. factor with market excess return. Exploratory FF10 adds the U.S. BAB and QMJ factors to FF8.
Best Fit ranks academic models by adjusted R² on the same observations, accounting for how many factors each uses. An individual model can fit a longer available history. Custom uses the supplied ticker returns alone; Best Fit + Custom adds them to the selected academic specification. Rolling exposures refit the regression on trailing windows.
Date Range and Years select the fitting period for the portfolio. Rebalancing, bands, Trading Cost and an inherited Annual Drag shape the portfolio series. The dependent variable is nominal investment performance before tax, with investor payments separated.
Can a model tailored to a portfolio forecast its range of returns more accurately than simply rearranging market history? In Simfolio’s historical study, Frontier’s weighted average forecast error was 17.45% lower than the historical block-resampling Benchmark. Average error was lower across all six asset classes and for the constructed portfolios.
Frontier builds a forecast from a blend of models. Some components resample historical moves; others estimate each holding’s average return, volatility and co-movement. The blend adapts to the holdings, the history available and the requested horizon.
Frontier learns the weights by fitting components at earlier dates and scoring their combined distribution against the returns that followed. It uses completed historical intervals, shortening them when necessary, then refits on the full history available at the forecast date. Each simulated path follows one component from start to finish.
The historical test covered 722 return series and 542 constructed portfolios spanning stocks, fixed income, commodities, listed real estate, currencies and digital assets. The earliest series began January 26, 1926, in the Kenneth R. French Data Library. Currency histories used Federal Reserve H.10 exchange rates.
Forecasts began on 711 distinct dates from September 1927 to June 2026. Both models used the same history at each start date and were scored on subsequent returns through October 2026. The portfolios held long-only positions and reset to target weights at each shared valuation date.
The study compared historical block resampling with and without replacement. Its reporting rule selected the variant with higher study-wide error, without replacement, as one Benchmark for every comparison. Blocks keep adjacent market moves together; the app’s Default Model instead draws one day at a time.
Short horizons run through three years; medium horizons are over three and under twenty; long horizons start at twenty. Each group carries one third of the overall weight, split equally between the input series and constructed portfolios.
Results by horizon. Frontier’s average forecast error was lower at short, medium and long horizons. The greatest reduction was in the medium group.
At the 5% Holm-adjusted threshold, the error reduction was statistically significant overall and at short and medium horizons.
Finer calendar bands. The white paper’s Figure 1 breaks the observed error reductions into ten calendar bands, from one month or less to over thirty years. Frontier had lower average error in all ten. Each band includes its upper bound; the table above reports significance for the predefined horizon groups.
What the tests measure. CRPS reduction measures how much average forecast error fell. The continuous ranked probability score compares the full forecast distribution with the return observed at each date. Simulation Validation uses the same score. Lower is better. The study averages the daily scores and scales them by the training volatility and the square root of the number of observations in the horizon.
Weighted win share measures how often Frontier had lower error. Each comparison contributes its study weight when Frontier’s score is strictly lower. The two-sided tests compare average error with the Benchmark and win share with 50%.
Frontier and Benchmark are the weighted mean standardized CRPS scores.
How the study preserves overlap. Forecasts starting near each other can share the same market moves. The primary test resamples consecutive runs averaging seven quarters and keeps both models’ results for a quarter together. The overall error reduction remained statistically significant at every tested average block length from 4 through 160 quarters.
What the intervals mean. A confidence interval (CI) describes one result at a time. The confidence band uses a Bonferroni correction to account for all 16 results together: two benchmarks, four horizon scopes including overall, and two measures. The two-sided tests use Holm’s adjustment across the same family.
Read the white paper: Adaptive Simulation of Asset and Portfolio Returns (PDF; sign-in required). Tables 2 and 3 report the scores; Figure 1 shows the finer calendar spans, and Table 5 gives all eight primary results. Section 6.4, Figure 4 and Appendix C give the sensitivity checks and full testing method.
The open-source evaluation harness scores and compares forecasts using the forecasts and observations you supply.
Inflation Adjusted expresses portfolio values and returns in the purchasing power of the reporting currency at the start of the analysis. A nominal 10% return with 5% inflation is a 4.76% real return. The short-rate reference is also converted to real terms when the portfolio’s risk-adjusted measures use that basis.
Vₙ is nominal wealth, Vᵣ is wealth in starting purchasing power, I₀ and Iₜ are the beginning and current price-index levels, rₙ and rᵣ are nominal and real period returns, and π is interval inflation.
Historical reporting aligns the applicable price index to trading dates using its documented interpolation or proxy. Where local releases lag, eligible recent months use verified OECD G20 monthly growth when available, with observed U.S. CPI growth as the fallback. The source notice identifies local observations and proxies in the reconstructed price history. BLS via FRED: U.S. CPI; OECD via Eurostat: G20 consumer prices.
For forward reporting, every return scenario uses the same inflation curve. The curve is calculated from the latest year-over-year CPI rate, the annualized growth of the full CPI history and the estimated month-to-month persistence of deviations from that long-run rate.
For full-period backtests, a year is 252 return observations. Rolling Metrics instead uses elapsed calendar time.
Cumulative return is G − 1. A 20% gain followed by a 20% loss compounds to −4%, although the arithmetic average is zero. CAGR is the constant annual rate that reproduces that growth. CFA Institute: time- and money-weighted returns.
Money-Weighted Return · Volatility · Risk-adjusted returns · Max Drawdown · Tail risk · Rolling Metrics
Money-Weighted Return weights the investor’s experience by the timing and amount of capital invested. A contribution is an outflow to the investor; withdrawals and ending wealth are inflows. More capital exposed to a loss can reduce the money-weighted return while the strategy’s time-weighted return stays the same.
Use dated investor payments and ending wealth. Convert their elapsed days to years on the same basis as Rolling Metrics.
Some cash-flow patterns admit multiple rates. A missing result means the rate is undefined for that calculation.
The Benchmark is a market reference, distinct from the cash rate used by the Sharpe ratio. The main selector starts at SPYSIM. Custom accepts one ticker; another option uses the tickers and target weights of a configured portfolio. None omits the reference. Benchmark-relative measures compare that reference with the primary portfolio at its own target weights. Requiring a benchmark with a shorter record can shorten the shared period.
A separate portfolio added to a historical comparison can have its own trading schedule, cash flows, costs and tax assumptions. Selecting it as the Benchmark copies its tickers and target weights only. A multi-asset reference follows its own annual rebalancing schedule. A standalone Simulation projects the selected portfolio.
A prebuilt ticker such as TMFSIM uses the fund’s stated daily leverage and a matching benchmark or proxy to reconstruct returns before the fund’s own history begins. The prelaunch reconstruction uses each day’s financing rate, the launch fee or the earliest verified fee, and a proxy fee addback where applicable.
To fit financing, Simfolio starts the model and the actual fund at the same value and compounds their daily returns over the full matched history, accounting for dated fund and proxy expenses. It fits one financing multiplier (1.00×–1.50×) and one spread by minimizing the average squared difference in log wealth across all matched trading days. This measures how closely the model follows the fund’s value throughout the period.
At each monthly refresh, the fit includes newly available observations. The updated financing terms can revise prelaunch returns; the observed fund segment keeps its actual returns.
GLLDSIM / SHNYSIM follows BMO’s published note terms. The catalogue also identifies leveraged allocations financed with negative cash and the fixed inverse rule for ZVOLSIM. SEC: daily-reset leveraged and inverse ETFs.
Custom leverage. QQQ?L=3 requests three times QQQ’s daily exposure. With zero costs, +10% followed by −9.09% returns the underlying approximately to its starting point; the 3× series instead compounds +30% and about −27.27% to approximately −5.45%. The multiday return compounds these daily leveraged returns.
Apply signed daily exposure, deduct financing and operating costs, and add back the underlying fee where specified. The controls below define which rate and multipliers enter the calculation.
QQQ?L=3&FR=EFFRX to keep U.S. funding when reporting in CAD.QQQ?L=3&SP=0.50&E=1 overrides the spread and operating expense but retains the other defaults. A 1× custom series can model an incremental annual ticker expense with ?E=0.20 (equivalent to ?L=1&E=0.20). The defaults use separate estimates for long and inverse exposures. The default expense scales up to its cap from 1× to 2× on the long side and from 0× to −1× on the inverse side. SEC: daily-reset leveraged and inverse ETFs.
The Countries, Asset Classes and Sectors views compare named market proxies. A country can be represented by a fund or an index; Sectors represents U.S. sectors. The return is for the stated series in its own currency and return basis. For example, Estonia’s proxy is the Nasdaq OMX Tallinn Gross Index, denominated in euros.
A multi-year Return period shows cumulative growth.
Pₑ is that series’ last completed level before the current UTC date, and Pₐ its latest observation on or before the calendar boundary; YTD targets December 31 of the preceding year. Levels use the row’s stated currency and return convention.
Markets with different holidays can have different actual start and end observations. A current return requires both an anchor within seven calendar days before its target and a latest observation at most seven days old. A dash marks a gap in that coverage. Open Markets.
The Model Context Protocol (MCP) lets a compatible AI application call Simfolio for calculations and read the resulting metrics and tables. The application can select rows, compare results and explain them in ordinary language.
The connection lists supported tools, defaults, field labels, units and choices. A backtest or simulation returns a run reference; once it is complete, the application can read the summary and request particular tables, columns or dates. A standalone calculator can return completed results immediately. Further row requests reuse the same result.
With account permission, a client can manage saved portfolios and automated reports.
Example questions to ask a connected application:
Net present value (NPV) expresses a sequence of payments and receipts in the money of its starting date. Internal rate of return (IRR) asks a different question: at what rate would the same payments and receipts exactly offset one another?
Discount each signed payment over its elapsed years. The opening cash flow enters at face value.
Positive NPV means the discounted receipts exceed the discounted payments at the chosen rate. IRR instead solves for a zero NPV:
I is a detected effective annual IRR, ip its per-period equivalent and f the number of cash-flow periods per year.
The result lists the validated rates and the solver’s status. All-zero flows have zero NPV at every rate. An IRR requires both a payment and a receipt; multiple changes of sign can produce multiple rates.
Cash-flow timeline shows the period, elapsed years, cash flow, present value and cumulative cash flow at face value and in present-value terms. The summary totals inflows, outflows and net cash flow. After a negative initial flow, Simple Payback and Discounted Payback show the first actual payment period when the cumulative face-value or discounted cash flow, respectively, reaches zero or higher. The reversal rows show whether either total later falls below zero.
NPV profile shows how NPV changes across sampled annual discount rates. For example, annual flows of −$100, +$230 and −$132 give an NPV of $0.19 at 15.00%, yet both 10.00% and 20.00% make NPV zero. A single IRR would hide that distinction.
Optimal Leverage estimates the daily-reset exposure that maximizes modeled log growth. With less than 1× exposure, the remainder earns the assumed cash rate. Above 1×, the incremental exposure bears the borrowing spread and additional expense. Volatility imposes a cost that rises with the square of exposure. Avellaneda and Zhang show how realized variance and daily resetting affect the growth of leveraged funds. The highest point can lie below full exposure, at 1×, or above it.
L is the exposure multiple; g and f are the natural logarithms of one plus the unlevered CAGR and one plus the annual cash rate. σ is annualized daily volatility, and c is the annual borrowing spread plus incremental expense. The superscript + keeps only a positive excess over 1×.
The solver compares the stationary growth rates on each side of the financing break at 1×. For an 8.00% underlying CAGR, 20.00% annualized volatility, a 3.00% cash rate and 1.00% combined incremental cost, the model peaks near 1.44×. The same inputs with a higher borrowing cost can place the maximum at 1×. At zero volatility a unique finite maximum exists only when the two straight-line segments rise toward and fall away from 1×. A negative optimum is the short-exposure solution of this model, which charges the incremental cost only above positive 1×.
Portfolio history derives CAGR and annualized volatility from the selected portfolio and Date Range or Years, using its rebalancing, applicable costs and reporting basis, before external cash flows and taxes. Manual inputs uses the entered CAGR and annualized volatility for any date range. The cash rate, spread and incremental expense are entered in both modes. The leveraged ticker methodology describes how particular leveraged series are reconstructed.
A portfolio can own several assets yet depend on one pattern of movement. Principal Component Analysis identifies such patterns from the holdings’ joint daily returns. The first component accounts for the largest amount of variation; later components capture the remaining variation along uncorrelated directions. It estimates these directions from the holdings themselves.
A component’s explained share is its variance divided by the total across components. See NIST’s principal components reference.
Portfolio risk also depends on holdings’ weights, so a component’s contribution to portfolio risk can differ from its share of asset variation.
A loading measures a holding’s connection to the component. With a correlation matrix, it is their correlation; opposite signs identify opposite movement. A score shows how strongly the pattern appeared on a given date. Rolling stability and resampled intervals show whether the estimated pattern holds across samples.
Correlation puts each holding’s returns on the same volatility scale. Covariance retains the differences in volatility.
Date Range and Years select the sample for the portfolio’s holdings. The decomposition uses at least two holdings with overlapping daily history. The policy’s ending and realized-average weights are used where the results show portfolio exposure; the asset decomposition itself uses the return matrix.
Rebalancing sets the calendar schedule for restoring target weights. Biweekly means every two weeks; Bi-monthly means every two months. Semi-Annually uses June and December.
A scheduled rebalance takes place on the last available trading observation on or before the period boundary. Only subsequent rebalances count toward trading costs. Between reviews the holdings drift. None disables scheduled rebalancing, but enabled drift bands can still cause trades. Deposits and withdrawals can also trigger trades between rebalances.
In sensitivity tools with a Rebalance offset, zero is the last trading day and one is the previous trading day in the same period. Each offset stays within the scheduled period. SEC: asset allocation and rebalancing.
A target weight is a share of net portfolio value. In an ordinary fixed allocation, the signed targets must total 100%. A negative weight represents a short exposure. For example, a 120% asset weight and a −20% cash position net to 100%. With this allocation, the portfolio’s rebalancing schedule determines when it returns to those targets.
If a portfolio starts with 60 in stocks and 40 in bonds and stocks gain 10% while bonds are unchanged, stocks become 66 of 106, or 62.26% of the portfolio. The target is still 60%.
wᵢ is the current portfolio weight; vᵢ is the signed value of holding i; the denominator is the portfolio’s net value. The ratio is defined only when that value is nonzero.
An optimizer’s Min % and Max % set each weight’s range. The limit is 3 unique tickers on Guest and Explorer, or 30 on Researcher. It counts the distinct tickers across all active optimized legs in a run. An investment rule can set different targets over time; see Strategy Composer and Walk-Forward Optimization.
Drift bands. Bands check each asset’s drift from its target on trading days. Abs. Δ and Rel. Δ set the two tolerances; asymmetric mode separates Abs. Δ Down, Abs. Δ Up, Rel. Δ Down and Rel. Δ Up. An absolute band is a difference in portfolio percentage points. A relative band is a percentage of the size of that asset’s target. A 20% target with a 5-percentage-point absolute band has boundaries of 15% and 25%; a 25% relative band gives the same boundaries for that target, but different boundaries for a smaller holding.
Positive absolute and relative tolerances can both be active. If any holding crosses any applicable boundary, the portfolio trades back to all target weights. Trades require a strict crossing and an active tolerance above zero. A nonzero relative tolerance has effectively zero width around a zero target. For a negative target it uses the target’s absolute size.
w* is the signed target weight. b is an applicable positive tolerance: a in portfolio-weight units, or q times the size of the target. The two sides may use different values.
Automated Reports apply the saved portfolio’s rules at the time of the report to determine holdings.
Backtest Reports. The selected Horizon looks back by the specified number of years or months from each report date. The Benchmark can be S&P 500 (SPY), a single custom ticker or another saved portfolio. The default uses SPY ETF total returns with distributions reinvested.
Performance summary compares the portfolio and benchmark’s time-weighted returns over the selected Backtest Report horizon.
Difference is portfolio minus benchmark; the difference between two percentage returns is shown in percentage points.
Each window shows the actual dates and identifies the available coverage. The risk measures accompany cumulative return and compound annual growth. They include maximum and average drawdown, longest drawdown, volatility, Sharpe, Sortino, Calmar and Ulcer Performance Index ratios, diversification ratio and beta.
Scheduled rebalances and cash flows can also generate an event email the day before the modeled action. When relevant, Events and Event Action Breakdown show the event date, amounts, estimated trading costs and changes from current to target weights. These are modeled changes based on the saved rules and the prices used to prepare the report.
Simulation Reports. The first simulation is requested at enrollment. Email frequency sets the delivery schedule. Horizon sets how many years or months each forecast projects from the date the report is prepared for delivery. The starting value and portfolio rules come from the saved portfolio. The Default model is shown; accounts with Frontier access also see Frontier on the same dates and starting value.
The report summarizes simulated outcomes on that horizon. Ending wealth includes scheduled payments.
Existing reports can be edited, paused, resumed or deleted. The owner receives a copy; additional recipients can be managed separately. Deleting a report leaves its saved portfolio in place.
Volatility measures dispersion in both gains and losses. A full backtest reports the sample standard deviation of daily returns times √252.
s uses the daily sample standard deviation (denominator n − 1); σ is annualized volatility.
Max Drawdown is the deepest percentage decline from a preceding high. A fall from 100 to 75 is −25%; returning to 100 requires +33.33%. Drawdown duration measures time under the prior high. An episode stays open until wealth regains the prior high.
Risk-adjusted returns. For ordinary full-period historical results, Sharpe Ratio measures excess return per unit of total volatility.
Sortino Ratio substitutes downside deviation: returns above the daily risk-free target have zero shortfall but remain in the observation count. Sharpe’s definition.
r̄ is mean daily return, f the annual risk-free reference, σ annualized sample volatility and D annualized downside deviation. Both numerators and denominators must use consistent units.
Calmar Ratio divides CAGR by the magnitude of maximum drawdown. The Ulcer Performance Index (UPI) divides annualized arithmetic excess return by the root mean square of historical drawdowns, in matching units. One depends on the single worst loss; the other also reflects how long and how deeply the portfolio remained below prior highs.
Diversification Ratio compares the weighted average of the assets’ individual volatilities with the volatility of their combination. For a long-only mix with nonzero volatility, a higher ratio indicates more cancellation of individual fluctuations at those weights. Choueifaty and Coignard.
Beta is the slope of daily portfolio excess returns against the named benchmark’s excess returns. It needs variation in the benchmark and differs from a multifactor loading, which holds the other factors fixed.
Tail risk describes the most adverse outcomes in the return distribution.
In Simulation Results, Value at Risk may instead be a lower percentile of ending wealth. For example, a 5th-percentile value of 80,000 describes ending wealth. Rockafellar and Uryasev: conditional value at risk.
Rolling Metrics Window fixes the length in Months or Years, rounded to the nearest quarter-month. Simfolio calculates the selected measure on that many trading observations, moves forward one observation, and repeats. Each result belongs to the last date in its window. Adjacent windows share most of their returns, so their results are linked. The measures themselves are defined in Investment Returns and Risk Measures.
For a two-year window, Simfolio takes 504 daily returns. Suppose they compound to a 21.00% gain and the first and last return dates are 730 calendar days apart. The annualized growth rate is:
The 504 observations set the window length. The 730 calendar days set the exponent, using a 365.2425-day year.
Safe Withdrawal Rate applies a spending plan to portfolios that begin retirement on different historical trading days. Each starting date defines a cohort, an approach used in Bengen’s study of historical withdrawal rates. A cohort’s Safe Withdrawal Rate (SWR) is the largest constant annual withdrawal, expressed as a share of its starting wealth, that funds the entire horizon. Its Perpetual Withdrawal Rate (PWR) also leaves the starting principal intact at the end of that finite horizon.
The constant-spending calculation divides annual spending into equal daily withdrawals after each investment return. With Inflation Adjusted enabled, the calculation uses real returns and spending is constant in purchasing-power terms. With nominal reporting it uses nominal returns and a constant nominal payment.
Use cumulative growth before spending. To preserve opening principal, multiply the safe rate by the fraction of ending growth left after reserving the opening principal: 1 − 1/Gn. If the portfolio ends below its starting value even at zero spending, preserving principal would require adding money. With zero returns over 25 years, 4.00% a year exhausts principal and 0.00% preserves it.
Historical only includes complete return windows. A continuation can extend the observed portion of each eligible window with constant daily growth; a projected cohort still starts with at least one year of history, or the complete horizon if shorter. The result separates observed from projected cohorts. It shows the highest rate that succeeds in at least the share of eligible cohorts specified by Historical success.
Long-term continuation uses the compound growth rate of the full selected history on the chosen real or nominal basis. Custom CAGR substitutes the entered rate.
Date Range and Years limit the history available to the chosen portfolio. The analysis first builds the portfolio’s return series before external payments and tax. Its own spending schedule is then applied separately to each cohort.
A Custom withdrawal policy uses a normalized starting portfolio of 10,000 reporting-currency units. Cash Flows offers Dynamic Withdrawal, Guyton-Klinger, Time-Based Withdrawal and Wealth-Based Withdrawal. Their payment cadence, review, year, wealth-band and spending fields are defined under cash flows. Dynamic Withdrawal and Guyton-Klinger use Withdrawal horizon; the time- and wealth-based policies set the horizon within the policy. The Policy result shows requested and funded amounts by date and identifies the first funding shortfall for each cohort.
A saved portfolio keeps its name, holdings, target weights or allocation rules. It also keeps the portfolio’s starting value, currency, cash flows, rebalancing schedule and bands, trading costs, annual drag, tax and inflation settings, and any Strategy Composer rules.
Use the same portfolio in a backtest, simulation or automated report. Choose the historical dates, comparison portfolios or forecast horizon for each analysis.
Tool assumptions. A saved portfolio supplies only the inputs used by its destination. Standalone Factor Regression fits nominal, pre-tax portfolio returns; Principal Component Analysis uses overlapping nominal, pre-tax asset returns. Both measure investment performance before investor cash flows. The historical Efficient Frontier compares daily constant-weight allocations before portfolio trading costs; an ordinary backtest can replay those costs and the portfolio’s actual trading rule.
Two investors can experience the same asset growth and end with different balances because different amounts were invested when each return occurred. Clare and coauthors describe why the timing of losses matters around accumulation and retirement. Consider two dates, with a 100-unit deposit after each return and zero opening wealth. A 20.00% gain followed by a 10.00% loss leaves 190 units; reversing the order leaves 220. In both cases a lump sum invested throughout would have gained 8.00%.
Each scenario draws a complete, contiguous historical window of the chosen length. Simfolio divides it into contiguous blocks and permutes the blocks, preserving the order of returns within each block. Every daily return within that window is used once. With CAGR variation off, the reordered window and that same original window have identical compound growth. Scenarios drawn from different windows can still have different CAGRs.
Each daily deposit follows that day’s reordered return, as in portfolio value after a cash flow. The reference applies the same deposits at a constant daily growth rate matching the scenario’s CAGR.
Sequence Effect is the scenario’s annualized money-weighted return minus its CAGR. A positive effect means the contribution schedule put more wealth to work during favorable returns. The Sequence Effect Percentile ranks scenarios by that difference and displays the complete path at the selected percentile. With CAGR variation enabled, a uniform annual log-return shift within the entered limits is drawn once per scenario and divided equally across its trading days.
The first daily deposit is the starting annual contribution divided by 252. The contribution growth rate is converted to a daily multiplier for subsequent deposits. Several scenarios can draw the same starting date.
Date Range and Years limit the source history for the selected portfolio. The source portfolio is replayed on its own rebalancing, cost and reporting basis before its daily returns are rearranged. The contribution schedule above belongs to this analysis.
The Efficient Frontier tab of Simulation compares allocations under the market assumptions from a completed Simulation. The search uses one portfolio with up to 3 unique tickers on Guest and Explorer, or 30 on Researcher. The assets and joint scenarios stay fixed across candidates. A difference in a candidate’s score therefore reflects its weights under the same market conditions.
The search uses the same allocation objectives as the historical frontier. Minimum Volatility uses the selected volatility statistic across scenarios. For Inverse Volatility, Inverse Variance and Equal Risk Contribution, the fit uses the average covariance across simulated scenarios. Growth, volatility and Sharpe remain comparison measures for the resulting weights.
Borrowing lets cash go negative, subject to the gross exposure limit. The borrowing spread changes financing in the editable frontier while the original Simulation results stay fixed.
Both comparisons measure investment returns before cash flows and taxes. The cost-free calculation estimates daily constant-weight outcomes from each scenario’s asset growth and covariance. Trading-cost replay lets holdings drift, applies the configured rebalancing rules and charges the one-way cost on turnover.
For each scenario, the constant-weight estimate applies the portfolio covariance formula to that scenario’s daily asset returns. It multiplies daily portfolio variance by 252 before taking the square root for annualized volatility.
In the editable frontier, Frontier calculation keeps the existing risky mixes and varies cash or borrowing where permitted. Max cash short caps negative cash as in the historical interactive frontier. Editing an asset’s Expected CAGR (%) or Volatility (%) holds the completed comparison’s correlations fixed; cash volatility is zero. Selected Portfolio and Minimum Volatility use the same editable-curve controls as the historical frontier.
A simulated ticker represents a reconstructed history. Its earlier segment may use another fund, an index, research-portfolio returns or an explicit model. Later segments can use the named instrument’s own history. The observed proxy supplies the earlier exposure. Aliases share the same construction.
For example, BNDSIM uses VBMFX through April 9, 2007 with a +0.12% annual adjustment. The catalogue switches to BND observations on April 10, 2007. The adjustment applies through the last VBMFX observation.
The catalogue records the source and date range for each segment, together with specified fees, financing, exposure or other adjustments.
Research series retain their published identifiers. In factor histories, RF is the risk-free return; Mkt-RF is the market return above that rate. Their sum is the total market return. Exposure multiples apply daily. Fees and spreads use annual rates by default; each entry specifies any different basis.
103 of 103 histories · 1–12
The simulation uses the holdings’ shared history to estimate future returns. From the Simulation Start Value, each scenario tracks its own balance, tax basis and withdrawals. The balance can begin at zero and receive its first contribution later.
Simulation Horizon. Enter a duration in days, weeks, months, or years, or choose an exact future end date. One model year represents 252 return observations and ends at the corresponding calendar anniversary. An exact end date stays fixed across display units.
A saved portfolio or tool handoff can supply the holdings and investment policy. The same asset returns can produce different outcomes under different rebalancing rules, payment schedules or cost assumptions.
Simulation Model determines the joint asset returns: Default samples individual historical days, Frontier fits a mixture to the request, and Custom uses a specified model. A Strategy Composer strategy updates its signals within each scenario. A portfolio carried over from Walk-Forward Optimization uses the last fitted allocation as its target.
Each return is applied before that date’s external payment; portfolio value after a cash flow shows the calculation.
Simulated Performance ranks the portfolio values at each date. The 5th to 95th percentile band (P5 to P95) describes the middle 90% at each date. The scenarios making up that band can change from one date to the next.
Simulation Value Range summarizes the distribution at the displayed endpoint. The mean can exceed the median when a small upper tail contains particularly large balances.
Paths Above Start (%) is the percentage of paths whose ending wealth exceeds the starting value. Deposits and withdrawals can change that comparison even when the investment return is zero.
Simulation Validation asks what the selected Default, Frontier or Custom model would have projected from an earlier date. After fitting on the training period, it generates a distribution for the following test period. The projection and the observed replay both start with the specified wealth and follow the same investment policy. The portfolio inputs apply to a single portfolio; the comparison Benchmark is a fixed resampling method.
The date range selects the candidate history before any split. In Validation, Last N Years counts back from the latest common observation at the requested end. The test window sets the simulation horizon.
Training / Test Split sets where fitting stops:
Simfolio Model Score applies the CRPS scoring method to the selected portfolio’s cumulative returns at each test date.
Benchmark Score uses the same dates, policy and reporting basis with historical blocks drawn without replacement.
Compare the distribution of cumulative time-weighted log returns with the observed result at each test date. Both scores use the same fixed training scale: the sample volatility of unshrunk, nominal, pre-tax daily log returns before external cash flows.
Improvement shows the relative score reduction. Positive means lower error. Two zero scores give 0% improvement. A nonzero model score against a zero Benchmark leaves the percentage undefined. Scoring requires finite, positive training volatility and positive cumulative growth. A Backtest percentile answers a narrower question: where one realized metric fell among its simulated values. Both measures describe the selected forecast start.
A strategy is a tree of allocation rules. The root owns the portfolio. Each child receives a share of its parent, so a holding allocated half of a 40.00% sleeve represents 20.00% of the total. A Group gives related holdings or rules a common parent and divides its share equally among them; an Asset identifies a holding. Holdings reached through more than one branch contribute to the same ticker’s total weight.
An If / Else evaluates its condition and uses one branch. A Filter orders its candidate blocks on the chosen measure, selects the requested number and splits its share equally among them. Ties retain the existing candidate order. A Filter takes direct Asset children. In a Weight block, Equal Weight divides the sleeve evenly. Specified Weight uses the entered shares.
Choose an optimization objective in Weight method to estimate the shares from returns. The block fits at least 2 distinct direct Asset children. A Fixed lookback uses the chosen number of trading observations. Expanding adds new observations at each review and is available on Researcher. The fitted weights divide the parent sleeve.
A closing-price rule. In this example, SPY is held when its closing price exceeds its 200-trading-day mean. Equality takes the Else branch and selects BIL. A signal evaluated at the close governs subsequent returns.
Hold SPY while its closing price is strictly above its 200-day average. At or below the average, hold BIL. Compare two indicators or compare one with a fixed value. To combine tests, require all to pass, any to pass, or reverse a test with Not.
Current price uses the latest level. Moving average price takes an arithmetic mean; Exponential moving average gives recent prices more weight. Cumulative return (%) compares the current price with the first price of the lookback. Mean daily return (%) and Volatility of returns (%) use daily percentage changes; Volatility of price uses price levels. Max drawdown (%) measures the largest peak-to-trough decline in the window. Relative strength index compares smoothed gains with smoothed losses.
Signal inputs. Compare two indicators or compare an indicator with a fixed Value. Percentage inputs use percentage points: enter 5 for a 5% change (0.05 as a decimal). An indicator can use any eligible ticker as its data source, including one outside the portfolio. Trading days and Lookback (days) count market observations. A block label names the rule in the editor.
Trading policy. Scheduled trading reviews the strategy at its Evaluation frequency. Weight drift threshold reviews it daily and trades only when a current weight differs from its target by more than the specified number of percentage points. Under Indicator warmup, Hold zero-return cash means the portfolio’s target is 100% zero-return cash until the rule can produce an allocation. Require complete history instead requires the observations needed to evaluate the rule.
Backtesting supplies observed prices to the rules. In Simulation, each return path supplies its own prices after the starting history, so identical rules can select different holdings. Saving a strategy preserves its rules for reuse.
defsymphony code, or a native Composer EDN/JSON export. Simfolio JSON preserves all strategy settings; the Composer format supports only a subset of rules.Taxes estimates how tax on realized gains affects investment performance.
Tax Rate Structure applies one Effective Rate or separate Short-term Rate and Long-term Rate. The calculation uses the rates you enter.
In current ordinary historical and simulated analyses, twelve monthly short-term purchase-basis pools mature into one long-term pool. The estimate uses actual one-way turnover and executed additions and withdrawals to estimate the share of appreciation realized. A contribution adds basis; Cash-flow Trades in Tax Report controls whether realization from flow-related sales counts. Every sale removes its share of basis from the portfolio-level pools.
Gains and losses are netted annually; unused losses can carry forward. A change in estimated liability adjusts that day’s performance return. Original holdings, funded cash flows and ordinary balances remain unchanged. The tax report separately shows after-tax ending wealth: ordinary ending value less cumulative estimated realized tax, floored at zero.
rtax is the adjusted return; r is the original return for the day; ΔL is the change in estimated realized-tax expense for the day; V₀ is the beginning account value. Reversal of an earlier estimate can produce a negative ΔL.
For example, if 10,000 of beginning wealth earns 1% and the estimated realized tax increases by 20, the tax-adjusted daily return is 0.80%. The ordinary wealth chart still shows 10,100.
Time Value of Money solves for one missing input: starting balance, ending balance, payment, interest rate or term.
Under Rate quotation, Effective annual uses Effective Annual Rate (EAR), which already includes a year of compounding. Nominal annual uses Nominal Annual Rate and Compounding frequency. Compounding and payments can have different frequencies. Rates are entered as percentages and used as decimals in the equations.
e is the effective annual rate, j is the nominal annual rate, m is compounding periods per year, and f is payments per year.
The ending balance combines growth on the opening balance and the future value of each payment.
Add the growth of opening principal to the future value of the scheduled payments. Beginning-of-period payments each earn one extra period; repayments count as outflows.
At a zero rate, FV = PV + nP. With Loan repayment, P is the negative of the regular plus extra repayment in the equation. The actual payment is capped at the outstanding debt and stops after payoff. Enter the balances and payments in one currency; the quoted rate and cash flows determine the result.
The summary separates contributed capital from investment growth in Balance growth, and principal repayment from interest in Loan repayment. It also reports the quoted and effective rates, rate per payment period, term, closing balance and any target balloon.
The payment date and the closing-balance date can differ. With Balance growth, a fractional term interpolates the balance between scheduled payments. With Loan repayment, the final repayment can be smaller and falls on the next payment date. The calculator reports a rate when the search identifies a unique solution.
Example. Starting with $10,000 and adding $250 at each month-end for five years at a 5.00% effective annual rate gives $29,716.25. Of that, $25,000.00 is starting capital plus contributions and $4,716.25 is growth.
Walk-Forward Optimization fits one portfolio with up to 3 unique tickers on Guest and Explorer, or 30 on Researcher. At each scheduled review, the selected Objective and prior returns determine the target weights. The portfolio earns the effective date’s return on its existing holdings, then trades to the new target for the following interval.
Optimization Frequency sets the number of trading observations between reviews. Annual uses 252 observations. The starting allocation applies until the first fitted target. Holdings drift with returns between reviews, and the final target carries through the end of the backtest.
Lookback determines which prior returns enter each fit. A fixed window drops older observations as new ones arrive; Expanding keeps the earlier observations and adds new ones at each review. Min % and Max % bound each asset’s target weight. The results show each fit’s effective date, training observations and target weights.
Each run fits up to 24 decision windows on Guest and Explorer, or 240 on Researcher. It keeps the most recent eligible windows in the selected date range, including Full History. Earlier observations can still be used for training under the chosen Lookback.
At each payment date, Dynamic Withdrawal recalculates spending using current wealth. It discounts the Terminal Portfolio Value at the entered Expected Return, then spreads the remaining wealth across the dates still to be paid, including the current payment. The entered return sizes the withdrawal; market returns come from the portfolio’s historical or simulated path.
Minimum Withdraw and Maximum Withdraw bound the requested amount. Available wealth after trading costs determines the funded amount. With return and trading cost both at zero and the payment within those bounds, 120,000 of wealth, a 20,000 terminal target and 10 remaining payments imply a 10,000 payment today. A later loss changes the next calculation.
P is the unbounded requested payment; W is wealth at the payment date; B is the terminal target; Dₜ discounts an amount at the terminal date; Dⱼ discounts each remaining payment date, with the current payment at 1; c is the one-way transaction rate. Amounts use a consistent payment-value basis.
Guyton-Klinger uses the Initial annual withdrawal rate to set the starting spending budget as a share of opening wealth. At each Review frequency, the policy compares its annual budget with current wealth on a consistent nominal or purchasing-power basis. The initial withdrawal rate is the reference for every review.
For an initial 5% rate with 20% Lower deviation and Upper deviation, the guardrails are 4% and 6%. Below 4%, the annual budget rises by the configured Spending increase; above 6% it falls by the Spending reduction. Stop spending cuts in final years leaves increases in force. Review and payment schedules are independent. This policy counts eligible trading observations: monthly means 21 and annual means 252. A funding shortfall stops subsequent payments from that policy. Separate fixed flows continue on their own schedule.
Time-Based Withdrawal uses consecutive phases from the start of the spending plan to its horizon. Each phase sets an annual spending percentage of initial purchasing-power wealth. Editing an intermediate End year also moves the start of the next phase, so the phases remain contiguous.
Wealth-Based Withdrawal divides current real wealth by initial real wealth at each review. The ratio selects a tier; that tier’s rate again applies to initial real wealth. For example, a 4% tier with initial wealth of 100,000 sets a real annual budget of 4,000 even if current wealth is 120,000. Adjacent tiers share a boundary and the final tier covers all wealth above its lower boundary. A selected budget remains in force until the next review.
Both policies schedule payments in trading observations: 21 per month and 252 per year. A funding shortfall stops future payments under that policy. Their annual budgets are measured in initial purchasing power; nominal payments can change as prices change.