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):
- 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. - Choose a source (
assetormodel).- 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).
- 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.
- 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 check | What can go wrong | How to verify |
|---|---|---|
| Fee and financing mismatch | Using a zero-cost index or unlevered proxy to backfill a leveraged or actively managed ETF | Match expense ratios and implied financing drag when building a model-based proxy |
| Overlap correlation check | Picking a proxy that sounds similar in name but tracks differently in live markets | Compare the proxy and target over their overlapping live period first |
| Wrapper & roll mechanics | Backfilling a dynamic-roll commodity ETF with a front-month futures ETF that suffered severe contango drag | Document roll-yield differences explicitly in your committee notes |
| Split-window reporting | Presenting a 20-year blended CAGR without disclosing that 15 years came from a proxy | Inspect 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.
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.
Related
- Asset researchCapital-efficient and return-stacked ETFs explained.
Understand how capital-efficient ETFs stack stocks, bonds, gold, or managed futures, how net and gross exposure differ, and how to screen them in ENSEMBLE.
- Asset researchETF tax forms explained: Form 1099 vs. K-1 vs. PFIC.
Learn how open-end ETFs, commodity pools, grantor trusts, and ETNs determine 1099, K-1, or PFIC reporting, and how to filter tax_form in ENSEMBLE.
- BacktestingCommon backtesting mistakes, and what to inspect.
Check timing, asset selection, costs, sample dates and repeated parameter searches before interpreting a backtest. Keep the evidence with your model.
- Asset researchHow to screen new ETF launches without missing key risks.
Track newly listed U.S. ETFs by verified first trading date, evaluate wrapper structure, spreads, and expense ratios, and test them with explicit backfills in ENSEMBLE.