Overview

Strategy backtest (crypto, daily closes) — Backtest SMA crossover / RSI reversion / DCA / buy-and-hold on daily closes of any Coinbase USD market: return vs buy-and-hold, drawdown, Sharpe, win rate, trades, equity curve. {asset?, strategy?, days?, …} — {} = BTC SMA 20/50, 180 days. (MCP tool: strategy_backtest).

Protocol x402 (POST)
Price $0.0090
Payment Asset USD Coin
Payment Network Base
Category data
Provider fiatdock
Source bazaar
Indexed 2026-10-16 16:35:48

Health

Status healthy
Latency (p50) 28ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-12-05 07:38:40
Last Healthy 2026-12-05 07:38:40
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "asset": "BTC", "days": 180, "fast": 20, "slow": 50, "strategy": "sma_cross" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "asOf": "2026-10-16T13:21:41.862Z", "asset": "BTC", "buyAndHoldReturnPct": 11.25, "endPriceUsd": 82131.46, "equityCurve": [ { "date": "2026-04-19", "equityUsd": 999, "priceUsd": 73823.14 }, { "date": "2026-05-25", "equityUsd": 1045.36, "priceUsd": 77249.07 }, { "date": "2026-06-30", "equityUsd": 994.65, "priceUsd": 58523.93 }, { "date": "2026-08-05", "equityUsd": 965.07, "priceUsd": 64603.03 }, { "date": "2026-09-10", "equityUsd": 1143.34, "priceUsd": 76536.55 }, { "date": "2026-10-15", "equityUsd": 1226.92, "priceUsd": 82131.46 } ], "exposurePct": 71.7, "finalEquityUsd": 1226.92, "market": "BTC-USD", "maxDrawdownPct": 15.71, "method": "Daily USD closes of completed UTC days (Coinbase Exchange). A signal formed at a day's close is executed at the next day's close (no look-ahead); buy_and_hold buys at the first close and dca buys every dcaEveryDays from the first close. Long or flat only, no leverage, no slippage or funding; a fee of feeBps on every trade's notional. sma_cross: long while the fast simple moving average is above the slow one. rsi_reversion: Wilder RSI, seeded with the simple average of the first rsiPeriod changes of a warm-up of 10 x rsiPeriod days before the window, with the long/flat state carried through the warm-up; buy when it falls below rsiBuy, sell when it rises above rsiSell. dca: capitalUsd split into equal purchases, one every dcaEveryDays from the first close (floor((days - 1) / dcaEveryDays) + 1 of them). sma_cross reads the slow average's length of history before the window. A window with a missing day, or a market with no close in the last 3 days, is refused, never filled in. totalReturnPct = final equity / capital - 1; buyAndHoldReturnPct = last close / first close - 1 (no fee); maxDrawdownPct = the largest peak-to-trough fall of the equity curve; sharpe = mean / standard deviation of daily equity returns x sqrt(365), risk-free rate 0; winRatePct over closed round trips; exposurePct = share of days holding the asset.", "note": "A test of a stated rule on past prices — not a forecast and not investment advice. Results ignore slippage, taxes and funding; a different window can give the opposite result.", "params": { "capitalUsd": 1000, "days": 180, "fast": 20, "feeBps": 10, "slow": 50 }, "period": { "days": 180, "from": "2026-04-19", "to": "2026-10-15" }, "sharpe": 1.54, "source": "Coinbase Exchange daily candles (api.exchange.coinbase.com)", "startPriceUsd": 73823.14, "strategy": "sma_cross", "totalReturnPct": 22.69, "tradeList": [ { "date": "2026-04-19", "priceUsd": 73823.14, "side": "buy" }, { "date": "2026-05-31", "priceUsd": 73575.17, "side": "sell" }, { "date": "2026-07-21", "priceUsd": 66516.18, "side": "buy" } ], "trades": 3, "winRatePct": 0 }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 07:38:40 healthy 402 22ms
2026-12-05 06:36:06 healthy 402 22ms
2026-12-05 05:36:18 healthy 402 22ms
2026-12-05 03:47:51 healthy 402 21ms
2026-12-05 02:38:31 healthy 402 28ms
2026-12-05 01:37:27 healthy 402 24ms
2026-12-05 01:01:00 healthy 402 24ms
2026-12-04 23:28:17 healthy 402 327ms
2026-12-04 11:06:23 healthy 402 2863ms
2026-12-03 22:33:41 healthy 402 1407ms
2026-12-03 12:03:59 healthy 402 264ms
2026-12-02 21:54:06 healthy 402 5009ms
2026-12-02 10:56:59 healthy 402 1333ms