{"uid":"cap_Cl_XyCObgNDZc63xS7yQJ","slug":"kraken-crypto-signals-backtest-x402-api-eab739fe","name":"Kraken Crypto Signals Backtest - x402 API","description":"Walk-forward replay of the live multi-timeframe strategy over recent 1m history: win-rate and average forward return per BUY/SELL signal. Lets an agent measure recent edge before subscribing to the live signal stream (USDC on Base).","url":"https://signals.nsgoods.org/backtest","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"pair":"BTC/USD","sample":[{"ts":"2026-06-13T18:25:00","entry":64120.4,"future":64235.1,"signal":"BUY","return_pct":0.179}],"best_pct":1.42,"worst_pct":-0.71,"generated_at":"2026-06-13T21:00:00+00:00","step_minutes":5,"win_rate_pct":64.3,"window_hours":12,"avg_return_pct":0.18,"forward_minutes":30,"signals_evaluated":14}},"example":{"request":{"required":"BTC/USD","properties":"12h"},"response":{"note":"Walk-forward replay of the live multi-timeframe strategy over the most recent ~hours of 1m Kraken history. Recent only (not long-horizon). Past performance is not predictive of future results.","pair":"BTC/USD","sample":[{"ts":"2026-06-16T08:55:00","entry":66905.6,"future":66627.8,"signal":"SELL","return_pct":0.4152},{"ts":"2026-06-16T09:20:00","entry":66538.7,"future":66453.6,"signal":"BUY","return_pct":-0.1279},{"ts":"2026-06-16T09:50:00","entry":66453.6,"future":66671.7,"signal":"BUY","return_pct":0.3282},{"ts":"2026-06-16T10:00:00","entry":66484,"future":66538.7,"signal":"BUY","return_pct":0.0823},{"ts":"2026-06-16T11:00:00","entry":66491.7,"future":66435.4,"signal":"BUY","return_pct":-0.0847},{"ts":"2026-06-16T11:40:00","entry":66349.8,"future":66515.7,"signal":"BUY","return_pct":0.25},{"ts":"2026-06-16T11:45:00","entry":66376.4,"future":66559.6,"signal":"BUY","return_pct":0.276},{"ts":"2026-06-16T12:45:00","entry":66413.1,"future":66192.2,"signal":"BUY","return_pct":-0.3326},{"ts":"2026-06-16T12:50:00","entry":66341.2,"future":66149.1,"signal":"BUY","return_pct":-0.2896},{"ts":"2026-06-16T13:10:00","entry":66090,"future":66011.9,"signal":"BUY","return_pct":-0.1182},{"ts":"2026-06-16T13:15:00","entry":66192.2,"future":66061.8,"signal":"BUY","return_pct":-0.197},{"ts":"2026-06-16T13:20:00","entry":66149.1,"future":66061.4,"signal":"BUY","return_pct":-0.1326},{"ts":"2026-06-16T13:25:00","entry":66051.9,"future":66059.3,"signal":"BUY","return_pct":0.0112},{"ts":"2026-06-16T13:30:00","entry":66070.1,"future":66100.1,"signal":"BUY","return_pct":0.0454},{"ts":"2026-06-16T13:35:00","entry":66008.7,"future":66167,"signal":"BUY","return_pct":0.2398},{"ts":"2026-06-16T13:55:00","entry":66059.3,"future":65650,"signal":"BUY","return_pct":-0.6196},{"ts":"2026-06-16T14:20:00","entry":65669.6,"future":65654.8,"signal":"BUY","return_pct":-0.0225},{"ts":"2026-06-16T14:25:00","entry":65650,"future":65618.7,"signal":"BUY","return_pct":-0.0477},{"ts":"2026-06-16T14:30:00","entry":65560.5,"future":65614,"signal":"BUY","return_pct":0.0816},{"ts":"2026-06-16T15:10:00","entry":65778.7,"future":65820.7,"signal":"BUY","return_pct":0.0639}],"best_pct":0.4152,"signature":"0xb0f9b147655a0107b7847e33155aec288a80f5bbc330f0278ed6600e6ea8d3fd413f19b9e4d5f88b1f71743688fbf4b39065d50801cce449fde4bafc918413461b","signed_by":"0x5e63d01d6A266BC17f577B80199a2a07B15053C7","worst_pct":-0.6196,"disclaimer":"Educational signal from a multi-timeframe Kraken strategy. Not financial advice. Markets can move against any signal; use independent risk management.","generated_at":"2026-06-16T17:39:37.181433+00:00","step_minutes":5,"win_rate_pct":44,"window_hours":12,"avg_return_pct":-0.0217,"forward_minutes":30,"candles_window_1m":720,"signals_evaluated":25}},"exampleRequest":{"required":"BTC/USD","properties":"12h"},"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qbvf7gYh4by15QrnvMyf9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns backtested BUY/SELL/HOLD trading signals with win rate, return stats, and trade samples for a crypto pair over a recent window.","exampleAgentPrompt":"Run a backtest of the Kraken crypto signals for BTC/USD over the last 12 hours using 5-minute steps and a 30-minute forward window, and tell me the win rate and average return.","exampleUseCases":null,"resultDescription":"A JSON object containing the trading pair, a list of signal samples (each with timestamp, entry price, future price, signal type, and return percentage), plus aggregate stats: best/worst return, win rate, average return, number of signals evaluated, window hours, step minutes, forward minutes, and generation timestamp.","failureModes":["Invalid or unsupported trading pair returns an error response","Payment not received or x402 payment failure returns 402 status","Missing required query parameters returns a 400 bad request","Kraken data source unavailable causes upstream failure","No signals generated in window returns empty sample array"],"whenToPreferThis":"Use this endpoint when you need backtested performance metrics for crypto trading signals — specifically win rate, average return, and sample trades — over a recent historical window. Prefer this over live signal endpoints when you want to evaluate signal quality before acting, or when an agent needs to justify a trade recommendation with historical evidence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:54.807Z","isFirstParty":false}