{
  "x402Version": 2,
  "id": 4383,
  "slug": "4383",
  "resource": "https://cryptyx.ai/api/signals/backtest",
  "description": "Backtest any signal over up to 365 days. Returns trigger stats, per-day rows, and a 4-horizon performance block (sample size, mean/median return, hit rate, bootstrap CI, statistical significance, reliability grade). Walk-forward OOS read inlined. Runs across 200+ digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0cD2c9724F185a029101b4AEACf3F114415c394f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "dryrun": false,
            "from": "",
            "signal_id": "",
            "to": ""
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "avgConfidence": 0.7314,
            "days": [
              {
                "day": "2025-06-01",
                "rows": 0
              },
              {
                "day": "2025-06-02",
                "rows": 3
              },
              {
                "day": "2025-06-03",
                "rows": 5
              }
            ],
            "dryrun": false,
            "durationMs": 48213,
            "from": "2025-06-01",
            "ok": true,
            "performance": {
              "caveats": [
                "No in-sample/out-of-sample split applied. Results above are in-sample only. See `walk_forward` block for the nightly out-of-sample read."
              ],
              "horizons": [
                {
                  "bootstrap_ci_95": [
                    0.001204,
                    0.008331
                  ],
                  "hit_rate": 0.5615,
                  "horizon": "1d",
                  "is_reliable": true,
                  "mean_return": 0.004812,
                  "median_return": 0.003104,
                  "sample_size": 187,
                  "statistical_significance": "significant"
                },
                {
                  "bootstrap_ci_95": [
                    0.008221,
                    0.034102
                  ],
                  "hit_rate": 0.5882,
                  "horizon": "7d",
                  "is_reliable": true,
                  "mean_return": 0.02103,
                  "median_return": 0.01588,
                  "sample_size": 187,
                  "statistical_significance": "significant"
                },
                {
                  "bootstrap_ci_95": [
                    0.012003,
                    0.056012
                  ],
                  "hit_rate": 0.5989,
                  "horizon": "14d",
                  "is_reliable": true,
                  "mean_return": 0.03414,
                  "median_return": 0.02211,
                  "sample_size": 187,
                  "statistical_significance": "significant"
                },
                {
                  "bootstrap_ci_95": [
                    -0.004021,
                    0.12614
                  ],
                  "hit_rate": 0.604,
                  "horizon": "30d",
                  "is_reliable": false,
                  "mean_return": 0.0612,
                  "median_return": 0.0411,
                  "sample_size": 187,
                  "statistical_significance": "not_significant"
                }
              ],
              "is_sample_sufficient": true,
              "minimum_sample_threshold": 30,
              "reliability_grade": "green",
              "sample_size": 187
            },
            "signal_id": "TR_MOMO_CONT_14D",
            "to": "2025-12-01",
            "totalDays": 184,
            "totalTriggerEvents": 187,
            "triggerRate": 0.223,
            "triggeredDays": 41,
            "walk_forward": {
              "14d": {
                "asof_day": "2026-06-20",
                "ic_delta": -0.0453,
                "is_hit_rate": 0.572,
                "is_ic": 0.0941,
                "is_n_obs": 18900,
                "is_n_triggers": 612,
                "oos_hit_rate": 0.531,
                "oos_ic": 0.0488,
                "oos_n_obs": 8100,
                "oos_n_triggers": 184,
                "overfit_ratio": 0.519,
                "reliability_grade": "green",
                "split_pct": 0.7,
                "window_days": 180
              },
              "30d": {
                "asof_day": "2026-06-20",
                "ic_delta": -0.0411,
                "is_hit_rate": 0.553,
                "is_ic": 0.0712,
                "is_n_obs": 18900,
                "is_n_triggers": 612,
                "oos_hit_rate": 0.518,
                "oos_ic": 0.0301,
                "oos_n_obs": 8100,
                "oos_n_triggers": 184,
                "overfit_ratio": 0.423,
                "reliability_grade": "yellow",
                "split_pct": 0.7,
                "window_days": 180
              },
              "7d": {
                "asof_day": "2026-06-20",
                "ic_delta": -0.0264,
                "is_hit_rate": 0.561,
                "is_ic": 0.0876,
                "is_n_obs": 18900,
                "is_n_triggers": 612,
                "oos_hit_rate": 0.542,
                "oos_ic": 0.0612,
                "oos_n_obs": 8100,
                "oos_n_triggers": 184,
                "overfit_ratio": 0.699,
                "reliability_grade": "green",
                "split_pct": 0.7,
                "window_days": 180
              }
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "dryrun": {
                    "description": "If true, uses signal_dryrun_count() and skips writes to signal_log. Default false. dryrun=true nulls totalTriggerEvents/avgConfidence and omits performance block.",
                    "type": "boolean"
                  },
                  "from": {
                    "description": "Start date YYYY-MM-DD",
                    "type": "string"
                  },
                  "signal_id": {
                    "description": "Signal registry ID, e.g. TR_MOMO_CONT_14D (uppercased server-side)",
                    "type": "string"
                  },
                  "to": {
                    "description": "End date YYYY-MM-DD. Range must be <=365d and from<=to",
                    "type": "string"
                  }
                },
                "required": [
                  "signal_id",
                  "from",
                  "to"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "cryptyx.ai",
  "lastUpdated": "2026-09-05T12:57:28.569Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T12:57:28.401Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "cryptyx.ai",
    "manifest_name": "cryptyx.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}