78trust / 100

Slicer Composite

by CRYPTYX in Productivity & SaaS

x402 APIPassing, checked 2 h ago

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).

POST https://cryptyx.ai/api/metrics/slicer/composite

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
422 ms typical, 647 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://cryptyx.ai/api/metrics/slicer/composite" \
  -H "content-type: application/json" \
  -d '{"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}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcryptyx.ai%2Fapi%2Fmetrics%2Fslicer%2Fcomposite
const res = await pay("https://cryptyx.ai/api/metrics/slicer/composite", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"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}),
});
console.log(await res.json());

Example input

{
  "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
}

Example output

{
  "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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402694 ms$0.05
6 h agoPassed402422 ms$0.05
9 h agoPassed402209 ms$0.05
13 h agoPassed402174 ms$0.05
16 h agoPassed402317 ms$0.05
19 h agoPassed402503 ms$0.05
24 h agoPassed402647 ms$0.05