UNPKG

kestrel.markets

Version:

A typed, token-efficient language + runtime for agentic trading: agents author bounded plans, the runtime fires them at the tick. CLI + typed library + MCP server.

17 lines (16 loc) 1.1 kB
/** * # blotter/types — the Blotter v1 typed record (kestrel-a57.1, ADR-0011; epic a57 schema) * * The **Blotter** is the deterministic projection of one Session {@link ../bus Bus} into the canonical * typed record of that Session (CONTEXT: Blotter). The Bus is the truth; the Blotter is its projection — * regenerable, byte-stable, never a second writer (ADR-0010). This file is the SHAPE only; the fold that * produces it is {@link ./project.ts}, its canonical bytes are {@link ./serialize.ts}, and the * determinism leg that proves the fold is pure is {@link ./certify.ts}. * * Two orthogonal stamps ride a Blotter and must never be conflated (ADR-0011): * **Certification** — is this record faithful and reproducible? (a set of pass/fail/na legs; the * determinism leg is a57.1's, the paper/live legs land in a57.3) — and **Fidelity** — how real are its * fills? (the `modeled|realized` level from the graded META, plus the judge's self-limitation stamp — what * it could NOT observe — derived from the fill model in a57.4). Certified never means good. */ export {};