# HALOWERK Win-Streak & Hit-Rate Calculator

> HALOWERK Win-Streak & Hit-Rate 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-11-19).

Computes trading hit rate (win ratio) and win/loss streak statistics from a provided list of P&L values, counting zero results as losses

## Facts

- Endpoint: POST https://handel.halowerk.com/v1/rechner/win-streaks?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-win-streak-hit-rate-calculator-08454330
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RGfY746A9tNZwhGP3Ef51

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-win-streak-hit-rate-calculator-08454330 -d '<json body>'
```

Example prompt: Calculate my trading hit rate and win/loss streak stats from these P&L values (in cash): [150, -80, 0, 200, 300, -50, -120, 0, 400, -30] — treat zeros as losses.

## When to prefer this

Use this endpoint when you have raw P&L cash figures from your own systems and need to compute win rate and streak statistics without connecting to a broker or market data feed. It is purely a calculation tool — you supply all numbers, it returns only derived statistics. Prefer this over building custom analytics when you need a quick, paid-per-call micro-service that handles zero results correctly as losses.

## Known failure modes

- Empty or missing pnl_cash array returns a validation error
- Array items exceeding ±1,000,000,000,000 are rejected
- Arrays longer than 5,000 items are rejected
- Non-numeric values in the array cause a schema validation error
- Payment failure (x402) results in no computation being returned

## How this service works

Trefferquote und Serienlängen. Nullergebnisse gehören in den Nenner und unterbrechen Serien. Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.

## Output

Returns the hit rate (percentage of winning trades), win streak lengths, loss streak lengths, and related statistics computed from the submitted P&L array. Zero-valued results are counted as losses and break any winning streak.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-win-streak-hit-rate-calculator-08454330/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)
