{"uid":"cap_wkwxD2rX8Xf11mZKaE8no","slug":"cryptyx-z-score-threshold-trigger-backtest-685d8d83","name":"CRYPTYX Z-Score Threshold Trigger Backtest","description":"Single-metric z-score threshold trigger — pass any metric_id, operator (gt/lt/gte/lte/abs_gt), and threshold. Returns the same institutional envelope as the presets: 5-year backtest, Sortino, MDD, profit factor, walk-forward, regime context. Applies to any of 440+ metrics across 8 factor classes. Backtests run over the CRYPTYX 200+ tracked digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.","url":"https://cryptyx.ai/api/triggers/z-score?utm_source=zero.xyz","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":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["asset","metric_id","operator","threshold"],"properties":{"asset":{"type":"string","description":"Asset symbol (uppercased server-side)."},"horizon":{"type":"string","description":"'7d', '14d' (default), or '30d'."},"operator":{"type":"string","description":"One of 'gt', 'lt', 'gte', 'lte', 'abs_gt'."},"metric_id":{"type":"string","description":"Metric ID from the catalog, e.g. 'TR_ROC_7D', 'VOL_RV_30D', 'FLOW_TAKER_BS_RATIO_MA_7D'."},"threshold":{"type":"number","description":"Z-score threshold. e.g. 1.5 for a two-sigma trigger with abs_gt."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_G6yYJIzj7qLsE8ktysKuS","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 5-year backtest for a single-metric z-score threshold trigger on any of 440+ metrics across 200+ crypto assets, returning Sortino, max drawdown, profit factor, walk-forward validation, and regime context.","exampleAgentPrompt":"Run a CRYPTYX z-score backtest on BTC using the TR_ROC_7D metric with an 'abs_gt' operator and a threshold of 1.5, over a 14-day horizon — I want to see the Sortino, max drawdown, and profit factor.","exampleUseCases":[{"title":"Momentum signal validation for Bitcoin","prompt":"Backtest the TR_ROC_7D metric on BTC using CRYPTYX — trigger when z-score is greater than 2.0 over a 30-day horizon, and show me the Sortino ratio, profit factor, and walk-forward results."},{"title":"Volatility spike trigger check for Ethereum","prompt":"I want to know how often realized 30-day volatility spikes above 1.5 standard deviations for ETH — run the CRYPTYX z-score backtest with VOL_RV_30D, operator abs_gt, threshold 1.5, and a 14-day horizon."},{"title":"Taker flow imbalance strategy on Solana","prompt":"Test a taker buy/sell ratio signal on SOL using CRYPTYX: metric FLOW_TAKER_BS_RATIO_MA_7D, operator gt, threshold 1.0, horizon 7d — I want the max drawdown and regime context alongside the backtest stats."}],"resultDescription":"Returns an institutional-grade envelope including: 5-year backtest performance stats (trigger count, trigger rate, per-horizon returns), Sortino ratio, maximum drawdown, profit factor, walk-forward validation results, and market regime context for the specified asset and metric threshold combination.","failureModes":["Invalid metric_id not in the 440+ catalog returns an error or empty result","Unsupported asset symbol returns a 404 or empty asset error","Invalid operator value outside gt/lt/gte/lte/abs_gt causes a validation error","Threshold value outside statistically meaningful range may produce zero triggers and empty backtest","Invalid horizon string (not 7d/14d/30d) defaults to 14d or returns a parameter error","Payment not included or insufficient USDC balance returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to validate a single-metric z-score signal hypothesis against a specific crypto asset with full statistical rigor — Sortino, MDD, profit factor, and walk-forward — before committing capital or building a multi-factor strategy. Prefer this over the multi-factor confluence endpoint when isolating the marginal contribution of one metric, and over the presets when you need to specify an arbitrary metric from the 440+ catalog rather than a curated bundle.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T11:34:27.580Z","isFirstParty":false,"canonicalSlug":"cryptyx-z-score-threshold-trigger-backtest-685d8d83"}