# CRYPTYX Custom Trigger Backtester

> CRYPTYX Custom Trigger Backtester is a paid API for AI agents from cryptyx.ai, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Accepts an arbitrary user-defined trigger predicate (z_score, z_differential, or composite) and returns a full institutional-grade backtest evidence envelope including 5-year performance stats, walk-forward IS/OOS, and regime context

## Facts

- Endpoint: POST https://cryptyx.ai/api/triggers/custom
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptyx-custom-trigger-backtester-2010b6aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tT_ixxUBKCDy-ThxGSynD

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-custom-trigger-backtester-2010b6aa -d '<json body>'
```

Example prompt: Run a backtest on my custom z_score trigger for BTC with a 30-day horizon — I want the full institutional evidence envelope with Sortino ratio, max drawdown, profit factor, walk-forward IS/OOS split, and regime context.

## When to prefer this

Choose this endpoint when you need to evaluate an entirely custom or novel trigger predicate that is not already a standard CRYPTYX setup — it is the extensibility endpoint for institutional-grade backtesting. Prefer it over the canonical setup scanner when your signal definition is unique and not pre-enumerated. It runs a live backtest every time (no cache), so it is appropriate when freshness and bespoke predicate flexibility matter more than cost efficiency.

## Known failure modes

- Invalid trigger definition schema — missing required fields like 'type' or malformed predicate structure
- Unsupported asset symbol not covered in CRYPTYX's 200+ tracked universe
- Invalid horizon value — must be '7d', '14d', or '30d'
- Unsupported trigger type — must be z_score, z_differential, or composite
- Payment failure — endpoint requires $0.25 USDC per call via x402 protocol
- Backtest computation timeout for highly complex composite predicates
- Insufficient historical data for newly listed or obscure long-tail assets

## How this service works

Arbitrary trigger definition — POST any {type: z_score|z_differential|composite, ...} predicate and get the full institutional evidence envelope back. 5-year backtest, Sortino, max drawdown, profit factor, walk-forward IS/OOS, regime context, rolling hit rates. Enterprise tier because every request runs a live backtest (no cache). The extensibility endpoint: anything expressible in Metric Slicer becomes a triggerable institutional-grade primitive. Backtests run over the CRYPTYX 200+ tracked digital assets — BTC, ETH, SOL, top-cap + long-tail coverage.

## Output

Returns a comprehensive institutional evidence envelope including 5-year backtest performance statistics, Sortino ratio, maximum drawdown, profit factor, walk-forward in-sample/out-of-sample (IS/OOS) split results, current macro regime context, and rolling hit rates — all computed live against CRYPTYX's 200+ tracked digital assets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset": {
   "type": "string",
   "description": "Asset symbol (uppercased server-side)."
  },
  "horizon": {
   "type": "string",
   "description": "'7d', '14d' (default), or '30d'."
  },
  "definition": {
   "type": "object",
   "description": "Trigger definition. {type: \"z_score\"|\"z_differential\"|\"composite\", ...}. See docs for full schema."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptyx-custom-trigger-backtester-2010b6aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptyx.ai](https://www.zero.xyz/host/cryptyx.ai/llms.txt)
