{
  "x402Version": 2,
  "id": 4379,
  "slug": "4379",
  "resource": "https://cryptyx.ai/api/signals/composite/backtest",
  "description": "Walk-forward backtest of a custom 8-class composite weight vector at 7d/14d/30d. Runs custom, IC-weighted default, and equal-weight blends in parallel with full performance breakdowns. Benchmark your blend against the production moat. 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": {
            "from": "",
            "horizon": "",
            "threshold": 0,
            "to": "",
            "weights": {}
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "custom_weights": {
              "CORR": 0.5,
              "EFF": 1,
              "FLOW": 1.5,
              "FUT": 1,
              "OB": 0.5,
              "OPT": 0.5,
              "TR": 2,
              "VOL": 1
            },
            "daily": [
              {
                "avg_score": 0.0213,
                "day": "2026-01-01",
                "n_bearish": 9,
                "n_bullish": 14,
                "n_total": 198,
                "top_asset": "BTC",
                "top_score": 0.6842
              },
              {
                "avg_score": 0.0341,
                "day": "2026-01-02",
                "n_bearish": 7,
                "n_bullish": 17,
                "n_total": 198,
                "top_asset": "SOL",
                "top_score": 0.7215
              }
            ],
            "default_weights": {
              "CORR": 0.08,
              "EFF": 0.14,
              "FLOW": 0.16,
              "FUT": 0.12,
              "OB": 0.09,
              "OPT": 0.11,
              "TR": 0.18,
              "VOL": 0.12
            },
            "from": "2026-01-01",
            "horizon": "7d",
            "ok": true,
            "performance": {
              "custom": {
                "avg_assets_triggered": 24.7,
                "avg_daily_return": 0.0042,
                "cumulative_return": 0.3738,
                "hit_rate": 0.5618,
                "max_drawdown": 0.0387,
                "sharpe": 1.2143,
                "total_days": 89
              },
              "default": {
                "avg_assets_triggered": 24.7,
                "avg_daily_return": 0.0035,
                "cumulative_return": 0.3115,
                "hit_rate": 0.5506,
                "max_drawdown": 0.0412,
                "sharpe": 1.0421,
                "total_days": 89
              },
              "equal_weight": {
                "avg_assets_triggered": 24.7,
                "avg_daily_return": 0.0021,
                "cumulative_return": 0.1869,
                "hit_rate": 0.5169,
                "max_drawdown": 0.0541,
                "sharpe": 0.6238,
                "total_days": 89
              }
            },
            "threshold": 0.05,
            "to": "2026-03-31"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "from": {
                    "description": "Start date YYYY-MM-DD",
                    "type": "string"
                  },
                  "horizon": {
                    "description": "Forward return horizon: 7d, 14d, or 30d (default 7d)",
                    "type": "string"
                  },
                  "threshold": {
                    "description": "Composite score threshold for long/short trigger, 0-1 (default 0.05)",
                    "type": "number"
                  },
                  "to": {
                    "description": "End date YYYY-MM-DD",
                    "type": "string"
                  },
                  "weights": {
                    "description": "Per-class weights 0-2 for all 8 factor classes: CORR, EFF, FLOW, FUT, OB, OPT, TR, VOL",
                    "type": "object"
                  }
                },
                "required": [
                  "weights",
                  "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:58:32.028Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T12:58:31.764Z"
  },
  "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"
  }
}