Skip to main content

Prove what fundamentals your backtest used

A backtest is only as credible as your ability to show what it read. Arche answers every query as of a date or a moment, cut off by SEC filing date or by acceptance time. Each snapshot carries a hash, and a replay token lets a reviewer re-run the exact query next year and confirm it still matches.

Backtests you can prove

Where look-ahead bias comes from

Two things put the future into a historical fundamentals dataset. A fiscal period ends weeks or months before its 10-K or 10-Q is filed, so a figure stamped to its period end was not public on that date. And companies amend and restate, so a dataset that overwrites the original with the correction serves the corrected figure for dates on which only the original existed.

Survivorship adds a third distortion. A universe built only from companies that still file today leaves out the ones that were delisted, acquired or taken private, and the backtest is biased toward the companies that survived.

What Arche does about it

  • As-of retrieval on every plan, including Free. Query any date and Arche resolves the figures using SEC filing dates, returning what was on file then. Pass a timestamp to cut off by acceptance time instead.
  • A restatement is the amendment filing, kept as filed instead of overwriting. The original stays queryable, with the filing it came from.
  • Delisted, acquired and taken-private registrants are retained in the corpus.
  • Point-in-time time series. One request returns a metric across a company’s history, with every point anchored to the as-of date you pass.
  • Each as-of snapshot returns a snapshot_hash, and replay tokens reproduce a past response exactly, so a backtest can be re-run and checked later.

What Arche does not cover

Arche serves filed fundamentals, not prices, so a backtest joins market data from another source. Coverage starts with filings from 2009, is limited to SEC filers, and is a standardized set of statement metrics rather than every line a filer reports. An institutional platform is the better fit for longer history, global coverage or fundamentals bundled with prices and estimates.

A reproducible research job

The point-in-time research guide recommends persisting, with every model run, the request inputs (company identifier, query boundary, fiscal and statement filters) together with the data returned, including each statement’s accession_id. Compute the boundary for each decision date first, query with an as_of route anchored to it, and only then join market or model data.

Worked example

Worked example: a revenue series as it stood on March 31, 2024

From the time-series documentation. as_of_date anchors the whole series to a historical boundary, so every point is the value that was knowable on that date rather than today’s restated value.

Shell
Arche
curl -X GET "https://api.arche.fi/v1/edgar/companies/0000789019/metrics/REVENUE/time-series?as_of_date=2024-03-31&period_type=annual&page_size=50" \  -H "X-Api-Key: $ARCHE_API_KEY" \  -H "Accept: application/json"
Microsoft (CIK 0000789019) annual revenue, as knowable on 2024-03-31.

Without as_of_date the series reflects the current best understanding of history, which is the correct answer to a different question. For a whole statement rather than one metric, GET /v1/edgar/as-of/{date}/financials/{cik} returns the snapshot with its snapshot_hash.

Plans

What you need

Any plan can query any as-of date. The Free plan covers any 25 companies you choose; Developer and above cover the full corpus of 17,000+ filers since 2009, 8,000+ currently reporting, including delisted and acquired registrants. Universe point-in-time snapshots (up to 50 CIKs per request) start at Growth.

Current prices and limits are on the pricing page.

Documentation

Frequently asked questions
How does Arche decide what was knowable on a date?

Arche resolves an as-of date using each filing’s SEC filing date. A statement whose filing is dated after the query date is not returned, and a restatement filed later does not replace the original for dates before it was filed. Pass a timestamp instead and the cutoff is the moment the SEC accepted each filing.

Can I backtest on the Free plan?

Yes, for up to 25 companies you choose. Point-in-time retrieval and deterministic replay are on every plan; the paid plans open the full corpus and add throughput.

Does Arche include companies that no longer file?

Yes. Delisted, acquired and taken-private registrants are retained and stay queryable, so a backtest universe is not limited to survivors.

Further reading
Other use cases
  • AI agents and LLM tool use

    Give an AI agent SEC financial statements whose answers a third party can re-check: every figure carries its filing, and every as-of call returns a replay token anyone can verify without a key.

  • Fintech and financial applications

    A REST API for SEC financial statements to build products on: 97 documented endpoints, a typed Python SDK, decimal values and provenance on every figure.

  • Quantitative research on restatements

    Study restatements directly: Arche keeps each amendment as filed, computes per-metric deltas, classifies materiality and pushes a webhook when a filer restates.