# Trading Strategy Data – Crypto Trend Signals & Backtesting

> Trading Strategy Data – Crypto Trend Signals & Backtesting is a paid API for AI agents from strategysignals.duckdns.org, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Returns live trend regime signals, volatility metrics, and trailing stop levels for BTC, ETH, or SOL, with optional personalized P&L and backtesting data based on a 200-day SMA + 25% trailing stop methodology.

## Facts

- Endpoint: POST https://strategysignals.duckdns.org/tools/strategy-consensus
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trading-strategy-data-crypto-trend-signals-backtesting-e1ff3393
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nmNBV9kW1kqndzGagTVLi

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 trading-strategy-data-crypto-trend-signals-backtesting-e1ff3393 -d '<json body>'
```

Example prompt: What's the current trend regime and trailing stop level for BTC, and if I entered at $58,000 on March 15, what's my unrealized P&L?

## When to prefer this

Use this endpoint when you need a transparent, rules-based crypto trend signal with verifiable backtesting statistics rather than an opaque black-box indicator. It is ideal for agents assisting systematic or retail traders who want to audit the methodology (200-day SMA + 25% trailing stop) themselves. Prefer it over generic price feeds when trend regime classification, volatility context, trailing stop calculation, or personalized position P&L is needed in a single call. Best suited for BTC, ETH, and SOL; not suitable for other assets.

## Known failure modes

- Unsupported asset symbol returns a validation error — only BTC, ETH, SOL are accepted
- entry_date supplied without entry_price (or vice versa) may produce null personalized fields or a validation error
- Stale price data if upstream market feed is delayed — check timestamp in response
- Payment failure via x402 protocol prevents request from being processed
- Network timeout on duckdns.org domain due to dynamic DNS reliability

## How this service works

Live trend regime + volatility context for one asset (BTC/ETH/SOL/XRP/ADA), backed by a backtested 200-day-SMA + trailing-stop methodology. Optionally personalized to your own entry price/date.

## Output

A JSON object containing a signals array with the asset's current price, trend regime (bullish/bearish), 200-day SMA deviation percentage, volatility regime and percentile, days since last regime change, trailing stop distance and trigger price, and optionally personalized unrealized P&L if entry_date and entry_price are supplied. Also includes a methodology block with backtest statistics: Sharpe ratio, max drawdown, total return over 5 years, and a plain-English description of the rules.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset": {
   "enum": [
    "BTC",
    "ETH",
    "SOL",
    "XRP",
    "ADA"
   ],
   "type": "string"
  },
  "entry_date": {
   "type": "string",
   "description": "optional ISO date, paired with entry_price"
  },
  "entry_price": {
   "type": "number",
   "description": "optional, must be paired with entry_date"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "signals": [
   {
    "asset": "BTC",
    "price": 68420.5,
    "personalized": false,
    "trend_regime": "bullish",
    "sma_period_days": 200,
    "price_vs_sma_pct": 8.4,
    "volatility_regime": "normal",
    "volatility_percentile": 0.42,
    "regime_changed_days_ago": 47,
    "your_unrealized_pnl_pct": null,
    "trailing_stop_distance_pct": 14.2,
    "trailing_stop_trigger_price": 61200.1
   }
  ],
  "methodology": {
   "description": "200-day SMA macro regime + 25% trailing stop, 14-day re-entry cooldown",
   "sma_period_days": 200,
   "trailing_stop_pct": 0.25,
   "backtest_period_years": 5,
   "backtest_sharpe_ratio": 0.82,
   "backtest_reference_asset": "BTC",
   "backtest_max_drawdown_pct": 0.44,
   "backtest_total_return_pct": 2.69
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trading-strategy-data-crypto-trend-signals-backtesting-e1ff3393/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from strategysignals.duckdns.org](https://www.zero.xyz/host/strategysignals.duckdns.org/llms.txt)
