# Cryptyx Multi-Factor Z-Score Composite Backtest

> Cryptyx Multi-Factor Z-Score Composite Backtest is a paid API for AI agents from www.cryptyx.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Backtests 2-4 metric conditions chained with AND logic, returning hit rate, mean forward return, and sample count for confluence trading strategies.

## Facts

- Endpoint: POST https://www.cryptyx.ai/api/metrics/slicer/composite
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-multi-factor-z-score-composite-backtest-ffd580e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PAdH-YJSO_9X3OXXSu8BW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cryptyx-multi-factor-z-score-composite-backtest-ffd580e4 -d '<json body>'
```

Example prompt: Run a composite backtest on SOL where trend rank is bullish AND volume is compressing AND order book depth is rising — I want to see the hit rate and mean forward return for that confluence.

## When to prefer this

Use this endpoint when you want to validate a multi-signal confluence strategy — specifically when you need to know whether AND-ing together 2-4 z-score metric conditions (e.g. trend + volume + order book) produces a meaningfully higher hit rate than any single signal alone. Prefer this over the single-metric backtest endpoint when testing confluence hypotheses. Use before live deployment to screen strategies for statistical viability.

## Known failure modes

- Fewer than 2 or more than 4 conditions provided — validation error
- Asset symbol not recognized or not in the ~200-asset universe — 404 or empty result
- Conditions too restrictive resulting in n_triggers too low for statistical significance
- Malformed condition objects in the array — 400 bad request
- Insufficient historical data for the specified asset and condition combination

## Output

A JSON object with hit_rate (fraction of triggers that met the forward return threshold), n_triggers (number of historical instances all conditions fired simultaneously), and mean_fwd_return (average forward return following triggers). Useful for evaluating whether the confluence strategy has a statistically meaningful edge before live deployment.

## Request schema (JSON Schema)

```json
{
 "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": [
      "asset",
      "conditions"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "description": "Asset symbol, uppercased server-side (e.g. BTC, ETH, SOL)"
      },
      "conditions": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "metric_id",
         "operator",
         "threshold"
        ],
        "properties": {
         "operator": {
          "enum": [
           "gt",
           "lt",
           "gte",
           "lte",
           "abs_gt"
          ],
          "type": "string"
         },
         "metric_id": {
          "type": "string"
         },
         "threshold": {
          "type": "number"
         }
        }
       },
       "maxItems": 4,
       "minItems": 2,
       "description": "2-4 conditions, each { metric_id, operator (gt|lt|gte|lte|abs_gt), threshold (z-score number) }"
      },
      "cooldown_days": {
       "type": "integer",
       "default": 7,
       "maximum": 365,
       "minimum": 0,
       "description": "Min days between accepted composite triggers (0-365, default 7)"
      }
     }
    },
    "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "application/json",
 "example": {
  "hit_rate": 0.67,
  "n_triggers": 48,
  "mean_fwd_return": 0.052
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptyx-multi-factor-z-score-composite-backtest-ffd580e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.cryptyx.ai](https://www.zero.xyz/host/www.cryptyx.ai/llms.txt)
