[#55] Adapt: regime-trader iteration 2.1 — wins base, patient-market, micro-economy, duel #57
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Winnie/bankwars!57
Loading…
Reference in a new issue
No description provided.
Delete branch "55-adapt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
[#55] Adapt: the market-regime trader
Thesis. Adapt models the world as a small set of regimes, re-inferred every turn from observable state, and switches playbook when the regime changes — instead of tuning one fixed strategy:
market-deposit-rates) → a chase/rate-war gaugefree-float) → frozen-market gauge (deposit-drought vs normal)loan-rate-capand the yield estimate) → carry gaugePlaybooks. THIN (cap barely clears default risk) → park. WAR (dispersion > 2·rate-temp) → never chase deposits, cream lending only. COLD/frozen (churn < 5%) → hoard, lend the surplus as bonds. HOT (demand-heat > 1 and cheap bond money clears) → carry: borrow up to 4× loan-max, blanket-bid aggressively. NORMAL → a bid tatonnement: adapt reads its own loan book each turn — if all its fresh loans price at its own bid it is the sole bidder and ratchets the price up toward the yield estimate (avg + risk + rate-temp); if it won nothing it steps down; floor funding+risk−2·rate-temp; blanket bid so loans it cannot fund die unclaimed rather than feeding a rival's book.
All thresholds are config-derived; the regime detection is adapt's own calculation — no helpers shared with empire/mill/vault.
Full bench (100 games × 13 presets, master
7f503c4):All four assigned scenarios won (most wins). deposit-drought and thin-margins remain weak — next iterations target the frozen/thin playbooks.
Smoke: 0
[aierrors, 0 ACCT divergence. Onlyai/adapt.lispchanged.v2.2 update (same branch, new commit
d018fa7)thin-margins and deposit-drought routed through the tatonnement (they were the two non-target weaknesses: 1 and 7 wins). Full bench (100 games × 13 presets) after the change — adapt wins all four assigned scenarios and all 13 presets:
Smoke clean (0
[aierrors, 0 ACCT divergence). Onlyai/adapt.lispchanged across both commits.