Data & methodology

What's under the hood.

Every backtest on this site uses real historical prices. This page documents where the data comes from, how often it's refreshed, and the assumptions that go into every calculation.

crypto
171
Sep 17, 2014 → Nov 21, 2026 · 362,234 rows
stocks
605
Jan 2, 1970 → Nov 20, 2026 · 4,948,104 rows
commodities
15
Jan 3, 2000 → Nov 20, 2026 · 92,770 rows

Data sources

Historical prices

Yahoo Finance

All historical price files are populated by pnpm seed which calls the public Yahoo Finance chart endpoints. Equities and ETFs use adjusted-close prices (split- and dividend-adjusted). Crypto uses USD-denominated daily close. Commodities use the continuous front-month futures contract via the =F suffix (GC=F for gold, SI=F for silver).

Live prices on calculator pages

CoinLore + Yahoo

The current-price displays on calculator pages call CoinLore for crypto and Yahoo Finance's chart endpoint (v8/finance/chart, the same source the daily data job uses) for equities and commodities. Responses are cached at the edge for 5 minutes; equity and commodity responses may also be reused by your browser for 60 seconds. If a provider returns an error or no price, the page falls back to the most recent close in the historical dataset.

How prices are processed

  1. 01

    Adjusted close

    Equity and ETF series use split- and dividend-adjusted close prices. This means a long-window backtest implicitly reinvests dividends; the headline return is total return, not price return.

  2. 02

    Trading-day fill

    Each scheduled buy looks up the price at the next available trading day on or after the scheduled date. Weekends and US market holidays roll forward to the next session.

  3. 03

    Crypto continuous coverage

    Crypto markets trade 24/7. Yahoo's daily series has one row per UTC day; we treat each row as that day's close in USD.

  4. 04

    No spread, no fees, no taxes

    All calculators assume zero commission, zero spread, and no taxes. Real venues charge 0–1% per trade and may incur withholding or capital-gains tax. Real returns will be slightly lower.

  5. 05

    Fractional units

    Buys are allowed to acquire fractional shares or coins. If your venue does not support fractional units, real-world buys would round down each period.

Refresh cadence

Historical JSON files are regenerated daily by a scheduled GitHub Actions job (05:23 UTC) that runs pnpm seed and commits the new closes, which triggers a fresh deployment. Each calculator's sitemap lastModified entry tracks the newer of the page source and the underlying data files, so search engines see realistic freshness signals rather than synthetic built-just-now timestamps.

The live price endpoints (/api/prices/crypto, /api/prices/equity) are cached at the edge for 5 minutes; equity and commodity responses may also be reused by your browser for 60 seconds. Stale-while-revalidate keeps responses snappy under load. Both routes are disallowed in robots.txt because they serve raw JSON for the calculator UI and have no value as indexable pages.

Asset coverage

The engine covers 791 assets. Below: the 11 featured assets as a live sample — the full, always-current catalog with exact per-asset coverage is machine-readable at dcamethod.com/assets.json.

SymbolCategoryFirst dateLast dateRows
GoldcommoditiesAug 30, 2000Nov 20, 20266,583 (234.4 KB)
SilvercommoditiesAug 30, 2000Nov 20, 20266,584 (229.4 KB)
BNBcryptoNov 9, 2017Nov 21, 20263,300 (117.6 KB)
BTCcryptoSep 17, 2014Nov 21, 20264,449 (166.4 KB)
ETHcryptoNov 9, 2017Nov 21, 20263,300 (121.0 KB)
SOLcryptoApr 10, 2020Nov 21, 20262,417 (85.8 KB)
AAPLstocksDec 12, 1980Nov 20, 202611,579 (424.7 KB)
MSFTstocksMar 13, 1986Nov 20, 202610,253 (364.0 KB)
NVDAstocksJan 22, 1999Nov 20, 20267,002 (258.2 KB)
QQQstocksMar 10, 1999Nov 20, 20266,970 (247.0 KB)
SPYstocksJan 29, 1993Nov 20, 20268,512 (302.3 KB)

Known limitations

  • Past performance is not a predictor of future returns. A backtest tells you what would have happened under the chosen rules; it does not promise the same outcome going forward.
  • Survivorship bias affects every asset list on this site. The assets supported are ones that survived to today. Many failed projects, delisted stocks, and dead coins are not represented.
  • Forecast modes apply a constant growth rate and cannot model drawdowns, regime changes, or correlation between assets. Treat forecasts as planning illustrations, not predictions.
  • All amounts are in nominal USD. To translate into real (inflation-adjusted) dollars, deflate the result by your assumed inflation rate.
  • Yahoo Finance occasionally backfills or corrects historical data. A new seed run may slightly change a long-window backtest result.

Want to dig deeper? Read The Method for the strategy side, or the disclaimer for what this site is and isn't.