{"uid":"cap_muUZ0A88VRgcuN4YT6Yun","slug":"cryptyx-signal-threshold-simulator-56912e08","name":"Cryptyx Signal Threshold Simulator","description":"","url":"https://www.cryptyx.ai/api/signals/simulate","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","threshold_key","threshold_value"],"properties":{"asof_day":{"type":"string","description":"Optional YYYY-MM-DD lookup day. Defaults to metrics.aligned_day_1d()"},"signal_id":{"type":"string","description":"Atomic signal registry ID, uppercased server-side (e.g. TR_MOMO_CONT_14D, FLOW_ACCUM_NETUSD_7D, VOL_COMPRESSION_7v30)"},"threshold_key":{"type":"string","description":"Parameter name to simulate (e.g. t_thr, z_thr). Used to fetch current_threshold from signals.signal_params for comparison"},"threshold_value":{"type":"number","description":"Proposed cutoff value. Interpreted as z-score for most signals, t-score for TR_MOMO_* signals"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"application/json","example":{"sample_triggers":12,"trigger_distribution":{"BTC":3,"ETH":2,"SOL":2},"estimated_trigger_rate":0.18}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_lFDdUOuFSprBf8DnK5Ro2","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":"Simulates the effect of a proposed threshold parameter change on a signal, returning projected trigger rate, sample triggers, and per-asset distribution across 5+ years of historical data — without writing to the registry.","exampleAgentPrompt":"Before I save the change, simulate what happens to signal 'momentum_rsi_14' if I set the threshold_key 'min_zscore' to 0.18 — show me the projected trigger rate and how it distributes across assets.","exampleUseCases":[{"title":"Test signal aggressiveness before deployment","prompt":"I want to make my volatility signal more selective — can you simulate what happens if I increase the threshold to 0.22 and show me how many times it would have triggered over the past five years?"},{"title":"Compare trigger frequency across threshold values","prompt":"Help me find the right sensitivity for my mean_reversion signal — run a simulation at threshold 0.15 and show me the trigger rate, sample triggers, and which assets get hit most often."},{"title":"Validate parameter change safety without risk","prompt":"Before I commit this change to the registry, dry-run my signal with the new threshold_key set to 0.12 — I need to see the projected trigger distribution and make sure it doesn't fire too aggressively on small-cap assets."}],"resultDescription":"Returns an estimated trigger rate (e.g. 0.18), the count of sample triggers (e.g. 12), and a per-asset trigger distribution (e.g. BTC: 3, ETH: 2, SOL: 2) computed against 5+ years of historical fact data — no registry state is modified.","failureModes":["Unknown signal_id returns a 404 or empty result","Invalid threshold_key not recognized for the given signal returns an error","threshold_value out of valid range causes a validation error","Simulation times out on very broad signals with high trigger frequency","Missing required fields (signal_id, threshold_key, threshold_value) returns a 400 bad request","Payment not received or x402 handshake fails, blocking the call"],"whenToPreferThis":"Use this endpoint when you want to preview the impact of a threshold parameter change on a signal before committing it to the registry. It is the right choice for sizing parameter adjustments, comparing trigger aggressiveness across values, or validating that a proposed change behaves as expected — all without side effects. Prefer this over a live registry update or a full backtest endpoint when you need a fast, read-only estimate scoped to a single threshold change.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:31.463Z","isFirstParty":false}