# HALOWERK Maximum Drawdown Calculator

> HALOWERK Maximum Drawdown Calculator is a paid API for AI agents from handel.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-17).

Computes the maximum drawdown from a user-supplied equity curve, returning the worst peak-to-trough decline as a pure calculation with no brokerage access or investment advice.

## Facts

- Endpoint: POST https://handel.halowerk.com/v1/rechner/drawdown?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-maximum-drawdown-calculator-d97af7d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cTXl5g4X6cHKGrO0Xi3n7

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 halowerk-maximum-drawdown-calculator-d97af7d3 -d '<json body>'
```

Example prompt: Calculate the maximum drawdown from my equity curve — here are the portfolio values over time: [100000, 102000, 99000, 95000, 97000, 91000, 93000, 105000].

## When to prefer this

Choose this endpoint when you need a fast, deterministic maximum drawdown calculation from a caller-supplied equity curve without any external data dependencies. Ideal for backtesting pipelines, risk dashboards, or automated reporting where you already hold the price/NAV series and need a reliable MDD figure at very low cost ($0.002 per call).

## Known failure modes

- Fewer than 2 values in equity_curve returns a validation error
- Values exceeding ±1,000,000,000,000 are rejected
- Array length exceeding 5000 items is rejected
- Non-numeric values in the array cause a schema validation failure
- Payment failure via x402 returns HTTP 402

## How this service works

Maximaler Drawdown.  Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.

## Output

Returns the computed maximum drawdown derived from the provided equity curve array, expressed as the largest peak-to-trough decline. The result is a pure numerical calculation — no brokerage data, no external prices, and no investment recommendations are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "equity_curve": {
   "type": "array",
   "items": {
    "type": "number",
    "maximum": 1000000000000,
    "minimum": -1000000000000
   },
   "maxItems": 5000,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-maximum-drawdown-calculator-d97af7d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from handel.halowerk.com](https://www.zero.xyz/host/handel.halowerk.com/llms.txt)
