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.
19 lines (17 loc) • 920 B
text/typescript
/**
* # src/pm — the PM (Portfolio Manager) spine: Strategy ADT, refined Book, pinned oracle
*
* The typed spine the PM-persona benchmark grades against (bd kestrel-markets-n7jx.2, design
* §10-Issue-2). Three surfaces:
* - {@link ./strategy.ts} — the 4-constructor Strategy ADT (`ORB | Straddle | Vertical | NewsShort`)
* over the two edges, `toPlay`, and `lower : EquityLowerable → plan.gbnf string`.
* - {@link ./book.ts} — `Book` as a refined collection (size band + budget law + correlation/
* concentration contract) and the reference dispatcher `PM : MarketState → Book`.
* - {@link ./oracle.ts} — the pinned interim-oracle definition (blocker B5) and the oracle/teacher
* doctrine.
*
* OSS/public: the typed method only. No repertoire, no persona playbook, generic instruments only.
*/
export * from "./strategy.ts";
export * from "./book.ts";
export * from "./oracle.ts";