{"uid":"cap_xii_ZsRZSxDr74043VGIl","slug":"scriptmasterlabs-acp-x402-backtest-sweep-4d926e65","name":"ScriptMasterLabs ACP x402 — Backtest Sweep","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-discovery.onrender.com/x402/backtest-sweep","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string"},"queryParams":{"type":"object","properties":{"days":{"type":"string","description":"days"},"fast":{"type":"string","description":"fast"},"slow":{"type":"string","description":"slow"},"venue":{"type":"string","description":"venue"},"symbol":{"type":"string","description":"symbol"},"interval":{"type":"string","description":"interval"},"strategy":{"type":"string","description":"strategy"}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZPj5yhU_hqkhtb9D81i1v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a parametric sweep backtest of a trading strategy over a crypto asset, testing combinations of fast/slow moving-average periods across a specified lookback window and venue.","exampleAgentPrompt":"Run a backtest sweep on BTC using a crossover strategy on Binance over the last 90 days with 1-hour intervals, testing fast MA of 10 and slow MA of 50.","exampleUseCases":[{"title":"MA crossover optimization for ETH","prompt":"Sweep fast MA values of 10 and slow MA values of 50 for an ETH crossover strategy on Coinbase over the past 60 days using 1-hour intervals — I want to see which combo performs best."},{"title":"BTC strategy backtest over 30 days","prompt":"Backtest a crossover strategy on BTC/USD on Binance over the last 30 days with 15-minute intervals, using a fast period of 5 and slow period of 20."},{"title":"SOL trading strategy parameter sweep","prompt":"Run a parameter sweep backtest for SOL using a crossover strategy on Kraken over 90 days with daily intervals, fast MA 12 and slow MA 26 — show me the performance results."}],"resultDescription":"Returns backtest performance results for the specified symbol, strategy, and MA parameter combinations across the given lookback window and venue, including metrics such as returns, trade counts, and parameter-level comparisons.","failureModes":["Missing required 'symbol' or 'strategy' parameter returns validation error","Invalid venue name returns an error or empty results","Unsupported interval string causes a parameter error","Very short 'days' windows with high-frequency intervals may yield insufficient data","Payment not settled in USDC on Base causes x402 authorization failure"],"whenToPreferThis":"Use this endpoint when you need to evaluate how different fast/slow moving average parameter combinations perform for a specific crypto trading strategy on a given venue, and you want sweep-style optimization rather than a single fixed backtest run. It is well-suited for quantitative agents doing strategy optimization loops.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:58:29.112Z","isFirstParty":false}