{
  "x402Version": 2,
  "id": 4372,
  "slug": "4372",
  "resource": "https://cryptyx.ai/api/metrics/slicer/composite",
  "description": "Multi-factor z-score confluence backtest for one asset (2-4 conditions). Intersects triggered days, returns per-metric series, composite triggers, and per-horizon forward-return/drawdown stats. Validate confluence stacks before live deployment. Coverage: pass any asset in the CRYPTYX 200+ tracked universe (BTC, ETH, SOL, top-cap + long-tail).",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0cD2c9724F185a029101b4AEACf3F114415c394f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "asset": "BTC",
            "conditions": [
              {
                "metric_id": "TR_ROC_7D",
                "operator": "abs_gt",
                "threshold": 1.5
              },
              {
                "metric_id": "VOL_RV_7D",
                "operator": "lt",
                "threshold": 1
              }
            ],
            "cooldown_days": 0
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "compositeTriggeredDays": [
              "2026-04-25",
              "2026-05-12"
            ],
            "durationMs": 1842,
            "metricSeries": [
              {
                "metric_id": "TR_MOMO_CONT_14D",
                "timeseries": [
                  {
                    "asof_day": "2026-04-25",
                    "pctl": 0.96,
                    "triggered": true,
                    "z": 1.82
                  }
                ]
              },
              {
                "metric_id": "VOL_COMPRESSION_7v30",
                "timeseries": [
                  {
                    "asof_day": "2026-04-25",
                    "pctl": 0.08,
                    "triggered": true,
                    "z": -1.34
                  }
                ]
              }
            ],
            "ok": true,
            "params": {
              "asset": "BTC",
              "conditions": [
                {
                  "metric_id": "TR_MOMO_CONT_14D",
                  "operator": "gt",
                  "threshold": 1.5
                },
                {
                  "metric_id": "VOL_COMPRESSION_7v30",
                  "operator": "lt",
                  "threshold": -1
                }
              ],
              "cooldown_days": 7
            },
            "priceSeries": [
              {
                "asof_day": "2026-04-25",
                "close_px": 67420.5
              }
            ],
            "summary": {
              "horizons": {
                "14d": {
                  "hit_rate": 0.7222,
                  "max_dd_mean": 0.0341,
                  "max_dd_p95": 0.0621,
                  "max_dd_worst": 0.0824,
                  "max_return": 0.1421,
                  "mean_return": 0.0584,
                  "median_return": 0.0521,
                  "min_return": -0.0521,
                  "n": 18,
                  "sharpe": 1.682,
                  "std_return": 0.0521
                },
                "180d": {
                  "hit_rate": 0.6667,
                  "max_dd_mean": 0.1241,
                  "max_dd_p95": 0.1921,
                  "max_dd_worst": 0.2421,
                  "max_return": 0.3421,
                  "mean_return": 0.1721,
                  "median_return": 0.1524,
                  "min_return": -0.1824,
                  "n": 12,
                  "sharpe": 0.921,
                  "std_return": 0.1421
                },
                "1d": {
                  "hit_rate": 0.7222,
                  "max_dd_mean": 0.0094,
                  "max_dd_p95": 0.0184,
                  "max_dd_worst": 0.0241,
                  "max_return": 0.0524,
                  "mean_return": 0.0142,
                  "median_return": 0.0118,
                  "min_return": -0.0231,
                  "n": 18,
                  "sharpe": 1.482,
                  "std_return": 0.0184
                },
                "30d": {
                  "hit_rate": 0.7059,
                  "max_dd_mean": 0.0521,
                  "max_dd_p95": 0.0921,
                  "max_dd_worst": 0.1241,
                  "max_return": 0.1921,
                  "mean_return": 0.0821,
                  "median_return": 0.0742,
                  "min_return": -0.0824,
                  "n": 17,
                  "sharpe": 1.421,
                  "std_return": 0.0712
                },
                "365d": {
                  "hit_rate": 0.625,
                  "max_dd_mean": 0.1721,
                  "max_dd_p95": 0.2521,
                  "max_dd_worst": 0.3124,
                  "max_return": 0.4521,
                  "mean_return": 0.2421,
                  "median_return": 0.2184,
                  "min_return": -0.2124,
                  "n": 8,
                  "sharpe": 0.842,
                  "std_return": 0.1821
                },
                "60d": {
                  "hit_rate": 0.6667,
                  "max_dd_mean": 0.0742,
                  "max_dd_p95": 0.1241,
                  "max_dd_worst": 0.1621,
                  "max_return": 0.2421,
                  "mean_return": 0.1042,
                  "median_return": 0.0921,
                  "min_return": -0.1124,
                  "n": 15,
                  "sharpe": 1.124,
                  "std_return": 0.0921
                },
                "7d": {
                  "hit_rate": 0.7778,
                  "max_dd_mean": 0.0214,
                  "max_dd_p95": 0.0421,
                  "max_dd_worst": 0.0584,
                  "max_return": 0.1124,
                  "mean_return": 0.0384,
                  "median_return": 0.0341,
                  "min_return": -0.0421,
                  "n": 18,
                  "sharpe": 1.842,
                  "std_return": 0.0421
                },
                "90d": {
                  "hit_rate": 0.6429,
                  "max_dd_mean": 0.0921,
                  "max_dd_p95": 0.1521,
                  "max_dd_worst": 0.1942,
                  "max_return": 0.2842,
                  "mean_return": 0.1284,
                  "median_return": 0.1124,
                  "min_return": -0.1421,
                  "n": 14,
                  "sharpe": 1.024,
                  "std_return": 0.1124
                }
              },
              "n_observations": 1284,
              "n_suppressed": 6,
              "n_triggers": 18,
              "n_triggers_raw": 24,
              "perMetric": {
                "TR_MOMO_CONT_14D": {
                  "n_triggers": 142,
                  "trigger_rate": 0.1106
                },
                "VOL_COMPRESSION_7v30": {
                  "n_triggers": 98,
                  "trigger_rate": 0.0763
                }
              },
              "trigger_rate": 0.014
            },
            "triggers": [
              {
                "asof_day": "2026-04-25",
                "fwd_14d": 0.0653,
                "fwd_180d": 0.1842,
                "fwd_1d": 0.0184,
                "fwd_30d": 0.0892,
                "fwd_365d": 0.2541,
                "fwd_60d": 0.1124,
                "fwd_7d": 0.0421,
                "fwd_90d": 0.1387,
                "max_dd_14d": 0.0341,
                "max_dd_180d": 0.1142,
                "max_dd_1d": 0.0082,
                "max_dd_30d": 0.0512,
                "max_dd_365d": 0.1654,
                "max_dd_60d": 0.0734,
                "max_dd_7d": 0.0214,
                "max_dd_90d": 0.0921,
                "metrics": {
                  "TR_MOMO_CONT_14D": {
                    "pctl": 0.96,
                    "z": 1.82
                  },
                  "VOL_COMPRESSION_7v30": {
                    "pctl": 0.08,
                    "z": -1.34
                  }
                }
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "asset": {
                    "description": "Asset symbol, uppercased server-side (e.g. BTC, ETH, SOL)",
                    "example": "BTC",
                    "type": "string"
                  },
                  "conditions": {
                    "description": "2-4 conditions, each { metric_id, operator (gt|lt|gte|lte|abs_gt), threshold (z-score number) }",
                    "example": [
                      {
                        "metric_id": "TR_ROC_7D",
                        "operator": "abs_gt",
                        "threshold": 1.5
                      },
                      {
                        "metric_id": "VOL_RV_7D",
                        "operator": "lt",
                        "threshold": 1
                      }
                    ],
                    "items": {
                      "properties": {
                        "metric_id": {
                          "example": "TR_ROC_7D",
                          "type": "string"
                        },
                        "operator": {
                          "enum": [
                            "gt",
                            "lt",
                            "gte",
                            "lte",
                            "abs_gt"
                          ],
                          "type": "string"
                        },
                        "threshold": {
                          "example": 1.5,
                          "type": "number"
                        }
                      },
                      "required": [
                        "metric_id",
                        "operator",
                        "threshold"
                      ],
                      "type": "object"
                    },
                    "maxItems": 4,
                    "minItems": 2,
                    "type": "array"
                  },
                  "cooldown_days": {
                    "default": 7,
                    "description": "Min days between accepted composite triggers (0-365, default 7)",
                    "maximum": 365,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "asset",
                  "conditions"
                ]
              },
              "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:59:45.719Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T12:59:45.531Z"
  },
  "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"
  }
}