{"uid":"cap_6VndUWxqF4VXZ2bABgoVU","slug":"strategy-signals-crypto-backtester-64dbaa56","name":"Strategy Signals Crypto Backtester","description":"What would $1,000 have become if you'd followed this rule historically? On-demand parameterized backtest of the 200-day-SMA + trailing-stop methodology against real historical data -- caller supplies asset, SMA period, trailing-stop %, cooldown, and date range; returns real computed performance metrics and equity curve.","url":"https://strategysignals.duckdns.org/tools/strategy-backtest","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"end":{"type":"string","description":"optional ISO date"},"asset":{"enum":["BTC","ETH","SOL","XRP","ADA"],"type":"string"},"start":{"type":"string","description":"optional ISO date"},"cooldown_days":{"type":"integer"},"sma_period_days":{"type":"integer"},"starting_capital":{"type":"number"},"trailing_stop_pct":{"type":"number"}}},"responseSchema":{"type":"json","example":{"asset":"ETH","params":{"cooldown_days":14,"sma_period_days":150,"starting_capital":1000,"trailing_stop_pct":0.2},"metrics":{"win_rate":0.643,"final_equity":2842,"sharpe_ratio":0.91,"total_trades":14,"max_drawdown_pct":0.384,"starting_capital":1000,"total_return_pct":1.842},"data_period":{"years":5.5,"actual_end":"2026-07-01","actual_start":"2021-01-01","requested_end":"2026-07-01","requested_start":"2021-01-01"},"equity_curve":[{"equity":1000,"timestamp":"2021-01-01T00:00:00+00:00"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-sCgFQVj3mCa-YQGwUg5K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a configurable SMA-crossover with trailing-stop backtest on BTC, ETH, or SOL and returns full performance metrics plus an equity curve","exampleAgentPrompt":"Run a backtest on ETH starting January 1 2021 through July 1 2026 using a 150-day SMA, 14-day cooldown, 20% trailing stop, and $1,000 starting capital, and tell me the total return, Sharpe ratio, and max drawdown.","exampleUseCases":[{"title":"Evaluate BTC strategy before live trading","prompt":"Before I put real money in, can you backtest a Bitcoin SMA strategy from 2022-01-01 to 2025-01-01 using a 200-day moving average, 10-day cooldown, 15% trailing stop, and $5,000 starting capital — I want to see the win rate and Sharpe ratio."},{"title":"Compare SOL trend-following over bull run","prompt":"Run a backtest on SOL from 2021-01-01 to 2023-12-31 with a 100-day SMA period, 7-day cooldown, 25% trailing stop, and $2,000 starting capital — I'm curious how the equity curve looked during that bull market."},{"title":"Verify published strategy claims","prompt":"I read someone claiming their ETH trend strategy returned 180% since 2021 with a Sharpe above 0.9 — can you run that backtest yourself using a 150-day SMA, 14-day cooldown, 20% trailing stop, $1,000 starting from 2021-01-01 to 2026-07-01 so I can independently verify those numbers?"}],"resultDescription":"Returns the asset tested, all strategy parameters used, a metrics object with total_return_pct, final_equity, sharpe_ratio, win_rate, max_drawdown_pct, and total_trades, the actual data period covered, and a timestamped equity_curve array showing portfolio value over time.","failureModes":["Invalid asset symbol — only BTC, ETH, SOL are supported; returns validation error","Date range outside available historical data — actual_start/actual_end may differ from requested","Malformed ISO date strings — endpoint returns 400-level error","Starting capital or parameter values out of acceptable range — validation error","Service unavailable on duckdns host — DNS or uptime failures possible for self-hosted endpoint","Payment not completed via x402 — request blocked without $0.25 USDC payment"],"whenToPreferThis":"Choose this endpoint when you need a transparent, parameter-configurable SMA+trailing-stop backtest on BTC, ETH, or SOL with independently verifiable results and a full equity curve — particularly when you want to validate published strategy claims or tune parameters like cooldown days and trailing stop percentage rather than trusting a black-box signal provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:34:31.839Z","isFirstParty":false}