Skip to content
Backtesting

Backfilling short-history ETFs with explicit proxies.

Extend short ETF price histories in ENSEMBLE using standing backfill rules from proxy tickers or owned models while keeping observed and synthetic periods separate.

By Updated 3 min read

Many of the most useful modern ETFs launched in the past five to ten years: 1099-reporting commodity funds, managed futures ETFs, defined-outcome wrappers, and capital-efficient return-stacked ETFs. Drop even one 2022 ETF into a five-asset portfolio, and an ordinary backtester silently truncates your entire study to 2022, erasing the 2008 global financial crisis, the 2013 taper tantrum, and the 2020 pandemic shock.

ENSEMBLE solves this without fake silent substitutions: you define explicit, inspectable backfill rules (set_backfill) that live alongside your account and apply transparently every time your models run.

How ENSEMBLE backfills work

A backfill in ENSEMBLE is a standing rule keyed by target symbol (one rule per target ticker on your account):

  1. Choose the target symbol. For example, OILK (a 1099-reporting oil strategy ETF launched in 2016) or a newer return-stacked ETF launched in 2023.
  2. Choose a source (asset or model).
    • Asset proxy: Use the ticker of a longer-lived asset with similar economic exposure. For example, an older commodity fund can extend a newer fund's history when you understand the differences between their strategies.
    • Owned model proxy: Point the target to an ENSEMBLE model you built to approximate the fund's pre-launch risk profile (for example, a 90% SPY / 60% Treasury futures proxy model standing in before a 90/60 capital-efficient ETF launched, or a duration-matched bond model standing in before a newer long-bond ETF).
  3. Join at the first observed bar. When a model uses the target ticker, ENSEMBLE scales the earlier proxy prices to the first observed target price and preserves the target's observed prices. If the source has a price on the join date, its return supplies the move into the first target price. Returns between subsequent target prices use the target's own history.
  4. Reproducible everywhere. Downloaded standalone scripts fetch the same rules through listBackfills, and your saved runs retain clear visibility into which periods are synthetic versus observed.

Configuring a backfill via MCP, REST API, or CLI

Creating or updating a backfill rule is free. Compute is metered when a model runs. To use a ticker as the source, choose Asset in Backfills or send "source_type": "asset" to the REST API. An owned model uses "source_type": "model" and its model ID. To follow the terminal example, install the ENSEMBLE CLI and set ENSEMBLE_API_KEY to your API key.

# REST API: extend a target ticker with a proxy ticker
curl -X PUT "https://api.ensemble.markets/v1/backfills/OILK" \
  -H "Authorization: Bearer $ENSEMBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source_type": "asset", "source": "USO"}'

# Inspect active backfill rules on your account
ensemble backfills list

The list shows the target symbol, source type and source. For this example, look for OILK with source type asset and source USO.

Setting a symbol that already has a rule replaces the rule. Deleting a rule (delete_backfill) leaves previously stored model run history intact until the model runs again.

Standards for honest backfill design

A sloppy proxy creates false confidence faster than a short backtest. Audit four properties on every backfill before trusting pre-splice results:

Audit checkWhat can go wrongHow to verify
Fee and financing mismatchUsing a zero-cost index or unlevered proxy to backfill a leveraged or actively managed ETFMatch expense ratios and implied financing drag when building a model-based proxy
Overlap correlation checkPicking a proxy that sounds similar in name but tracks differently in live marketsCompare the proxy and target over their overlapping live period first
Wrapper & roll mechanicsBackfilling a dynamic-roll commodity ETF with a front-month futures ETF that suffered severe contango dragDocument roll-yield differences explicitly in your committee notes
Split-window reportingPresenting a 20-year blended CAGR without disclosing that 15 years came from a proxyInspect and report pre-splice (synthetic) and post-splice (observed) sub-windows separately

Start researching with your agent

Use the workflow below to inspect an ETF's observed history in ENSEMBLE, evaluate a candidate proxy, and document the splice assumptions before running a longer-window backtest.

Start with this request

Use ENSEMBLE to confirm my connected account. Help me inspect an asset's available history and evaluate a proxy for an earlier research period. Explain the assumptions and differences, and keep observed and synthetic history distinguishable before using a backfill in a model.

Frequently asked questions

Why does one young ETF truncate an entire multi-asset backtest?
Standard portfolio backtesters intersect available price histories across every symbol in the universe. Adding a single 2023 ETF alongside 1993 ETFs silently collapses a 30-year study into a 3-year window unless you extend the young symbol's history explicitly or write dynamic membership rules.
How does ENSEMBLE's set_backfill splice proxy data onto a target ETF?
You register a rule for a target ticker such as OILK. Use source type asset for a ticker such as USO, or model for one of your own models. ENSEMBLE scales the source history to the first observed target price and keeps all observed target prices intact.
Does configuring a backfill rule cost metered compute credit?
No. Creating, listing, updating, or deleting backfill rules via the web app, API (PUT /v1/backfills/{symbol}), CLI, or MCP (set_backfill) is free because nothing computes until a model runs.
Can I use an owned ENSEMBLE model as a backfill source?
Yes. Using an owned model as the backfill source lets you shape the pre-launch proxy's exact risk profile, such as splicing a lightly levered Treasury model before a newer extended-duration or return-stacked ETF's first trading date.

Backtests are illustrative. Past performance does not guarantee future results. ENSEMBLE is a software platform, not an investment adviser.

Part of Backtest a portfolio. Keep the model behind it..

Continue this research with your agent.Connect to agents