{"uid":"cap_Toi-q4ScZWNnztJ-S-IYd","slug":"cryptyx-signal-backtest-0de237e8","name":"Cryptyx Signal Backtest","description":"","url":"https://www.cryptyx.ai/api/signals/backtest?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["signal_id","from","to"],"properties":{"to":{"type":"string","description":"End date YYYY-MM-DD. Range must be <=365d and from<=to"},"from":{"type":"string","description":"Start date YYYY-MM-DD"},"dryrun":{"type":"boolean","description":"If true, uses signal_dryrun_count() and skips writes to signal_log. Default false. dryrun=true nulls totalTriggerEvents/avgConfidence and omits performance block."},"signal_id":{"type":"string","description":"Signal registry ID, e.g. TR_MOMO_CONT_14D (uppercased server-side)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"application/json","example":{"to":"2025-12-31","days":[{"day":"2025-06-15","triggered":true,"confidence":0.81}],"from":"2025-01-01","signal_id":"TR_MOMO_CONT_14D","total_events":42,"trigger_rate":0.15,"avg_confidence":0.73}},"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_lfmhh2ssMKsbYp-SO6_6l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Backtests a named crypto signal over a date range, returning trigger statistics, per-day rows, performance metrics across 1d/7d/14d/30d horizons, and out-of-sample walk-forward validation results.","exampleAgentPrompt":"Run a full backtest of signal TR_MOMO_CONT_14D on CRYPTYX from 2024-01-01 to 2024-12-31 and tell me the trigger rate, hit rates across all horizons, reliability grades, and how the out-of-sample walk-forward numbers compare to the in-sample results.","exampleUseCases":null,"resultDescription":"Returns a JSON object with: totalDays, triggeredDays, triggerRate, totalTriggerEvents, avgConfidence, per-day rows[] (day, triggered, confidence), a performance block with 1d/7d/14d/30d horizon statistics (sample_size, mean_return, median_return, hit_rate, bootstrap_ci_95, statistical_significance, is_reliable, reliability_grade in green/yellow/red, caveats), and a top-level walk_forward block with out-of-sample metrics (is_ic, oos_ic, overfit_ratio, ic_delta, reliability_grade) for cross-checking IS vs OOS conclusions.","failureModes":["Invalid or unknown signal_id returns error — must be a valid registry ID from the 143 atomic or 9 composite signals","Date range exceeding 365 days is rejected","from date after to date returns validation error","dryrun=true omits performance block and nulls totalTriggerEvents/avgConfidence","Payment failure or missing x402 payment header results in 402 response","Malformed date format (non-YYYY-MM-DD) causes parsing error"],"whenToPreferThis":"Use this endpoint when you need to statistically validate a specific named CRYPTYX signal — checking both its historical trigger behavior and whether its apparent edge survives out-of-sample testing. It is uniquely suited for quantitative due diligence on a signal before live use, combining in-sample performance stats with walk-forward OOS validation in a single call. Prefer this over the per-asset endpoints when you care about universe-level signal properties rather than a specific asset's history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:42:50.231Z","isFirstParty":false,"canonicalSlug":"cryptyx-signal-backtest-0de237e8"}