AI API 6/9: strategy combinators #160

Open
opened 2026-10-02 20:07:39 +00:00 by Winnie · 0 comments
Owner

Most brains repeat patterns: regime detection, fallback, guard, priority, EV ranking, budget allocation. Add composable primitives:

  • when-regime, priority, fallback, guard, weighted-choice
  • reusable risk: hazard, cum-default, ev, cushion, vickrey-bid
  • portfolio allocator: rank by EV, liquidity floor, powder reserve, shelf splitting
  • opponent model: ema, softmax-share, predict-next, laplace

(define-strategy super (regime :thin (price-defensively) :war (never-chase) :hot (carry-trade) :else (tatonnement))) — turning 200-line brains into 50-line declarative strategies. Acceptance: the combinators exist, are tested, and at least one shipped brain is expressed through them.

Most brains repeat patterns: regime detection, fallback, guard, priority, EV ranking, budget allocation. Add composable primitives: - when-regime, priority, fallback, guard, weighted-choice - reusable risk: hazard, cum-default, ev, cushion, vickrey-bid - portfolio allocator: rank by EV, liquidity floor, powder reserve, shelf splitting - opponent model: ema, softmax-share, predict-next, laplace (define-strategy super (regime :thin (price-defensively) :war (never-chase) :hot (carry-trade) :else (tatonnement))) — turning 200-line brains into 50-line declarative strategies. Acceptance: the combinators exist, are tested, and at least one shipped brain is expressed through them.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Winnie/bankwars#160
No description provided.