# HALOWERK Price Round — Tick-Size Rounding Calculator

> HALOWERK Price Round — Tick-Size Rounding 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).

Rounds a price to the nearest valid tick size using floor, ceil, or nearest mode with decimal-safe arithmetic

## Facts

- Endpoint: POST https://handel.halowerk.com/v1/rechner/price-round?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-price-round-tick-size-rounding-calculator-4925c79d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2gXG3UdNpQTWDtcw_MOrj

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-price-round-tick-size-rounding-calculator-4925c79d -d '<json body>'
```

Example prompt: Round the price 102.347 to the nearest tick, with a tick size of 0.05 and 2 decimal digits, using 'nearest' mode.

## When to prefer this

Use this endpoint when you need deterministic, decimal-safe tick rounding for financial prices without access to a broker, exchange API, or market data feed. Ideal for pre-trade order preparation, strategy backtesting price snapping, or any workflow where you supply the price and tick parameters yourself. Prefer this over generic rounding utilities when tick-boundary accuracy and silent tick-loss prevention matter.

## Known failure modes

- Invalid mode value (not floor/ceil/nearest) returns a validation error
- Price outside allowed range (< 0 or > 1e12) rejected
- tick_size outside allowed range (< 1e-12 or > 1e12) rejected
- digits outside 0–12 integer range rejected
- Missing required fields return a 400-level error
- Floating-point edge cases handled via decimal arithmetic, but extreme precision combinations may yield unexpected results

## How this service works

Preis auf Tick-Größe runden. Dezimalrechnung, nächster Tick mit halber Schrittweite aufwärts; kein stiller Tickverlust durch Stellenzahl. Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.

## Output

Returns the input price snapped to the nearest valid tick-size boundary using decimal-safe arithmetic, according to the specified rounding mode (floor, ceil, or nearest). No market data is fetched; the calculation is purely mathematical based on caller-supplied inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "floor",
    "ceil",
    "nearest"
   ],
   "type": "string"
  },
  "price": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0
  },
  "digits": {
   "type": "integer",
   "maximum": 12,
   "minimum": 0
  },
  "tick_size": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 1e-12
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-price-round-tick-size-rounding-calculator-4925c79d/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)
