BTC Power Law Backtester

Bitcoin's price has historically tracked a long-term power law trendline — a curve that grows at a constant rate on a log-log time/price scale. This dashboard fits that trendline to real BTC price history from CoinGecko, then backtests trading strategies that buy when price dips below the trend and sell when it runs above it. The price / trend ratio below shows how stretched the current price is relative to the model: a ratio under the buy band signals BTC is cheap relative to trend, while a ratio over the sell band signals it's expensive.

price = A × days_since_genesisB
A is a scaling constant and B is the growth exponent — both fit to Bitcoin's historical price history.
Latest BTC price
$64,156
BUY
ratio 0.438x · well under 0.60 buy band
Price / trend ratio 0.438x  ·  trend $146,348
0x — cheap buy 0.60x            sell 2.00x 2.5x — expensive
Power law trend
$146,348
Buy triggers below
$87,809
Sell triggers above
$292,696

Price vs power law trendline

scroll to zoom  ·  drag to pan

Price / trend ratio

Portfolio performance

Strategy comparison

StrategyFinal valueTotal returnCAGRMax drawdownSharpe ratioBuy & hold finalBuy & hold returnAlpha vs B&H
meanrev$2,864,34828543.5%76.1%-61.8%1.36$974,9009649.0%$+1,889,448
dca$950,8039408.0%57.7%-83.4%1.02$974,9009649.0%$-24,098
momentum$14,49945.0%3.8%-87.6%0.34$974,9009649.0%$-960,402