Caelum 699efeafd8
feat: quant suite finish — /pnl SDK parity, /quant hub, health-aggregator (#7)
* feat(sdk): /pnl methods in TS, Python, and Go clients

3-language SDK parity for the PnL attribution endpoint:
- TS: pnl(fills?, marks?)
- Python: pnl(fills=None, marks=None)
- Go: PnL(ctx, fills, marks)
tsc clean; Python imports; go vet+build clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* feat(product): health-aggregator Go service

services/health-aggregator: read-only ops service that polls the /health
endpoints of the Guardrail services concurrently (goroutine per target, 5s
timeout) and serves a single aggregate (200 all-up / 503 degraded) with
per-target up/latency/error. GET /health, GET /targets; HEALTH_TARGETS /
HEALTH_ADDR env. go vet + build clean; smoke verified (degraded 0/3 with no
services up).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* feat(dashboard): /quant hub page indexing the quant suite

A single index of the quant tools (ta-studio, fees, sizer, orderbook, pnl) —
each with its API route and a live example link; shows the CMC-capabilities
summary. tsc clean. Dashboard pages -> 73.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs(whats-new): Phase 3 quant suite (crate->API->page->SDK->CLI) + health-aggregator

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:44:17 +03:00

4 lines
44 B
Modula-2

module guardrail/health-aggregator
go 1.22