From dc9199a43378771abc3a64e8a72f388577bfac1e Mon Sep 17 00:00:00 2001 From: Theodore Song Date: Tue, 18 Aug 2026 08:36:55 -0400 Subject: [PATCH] Cap binary settlement risk in adaptive engine --- README.md | 10 ++++- index.html | 109 +++++++++++++++++++++++++++++++++++++++++++---------- sw.js | 2 +- 3 files changed, 99 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index f94bf4f..33b8537 100644 --- a/README.md +++ b/README.md @@ -15,17 +15,23 @@ https://polymarket-site-eta.vercel.app/personal.html The site fetches live Polymarket markets, generates agent suggestions, lets you run frequent paper cycles, and syncs the shared arena state through Neon or -Vercel Blob. Engine v35 also installs an offline app shell and caches timestamped +Vercel Blob. Engine v36 also installs an offline app shell and caches timestamped market snapshots. During an outage, cycles continue locally; cached entries are allowed for 90 minutes, older snapshots become mark-only, and all cached data expires after 24 hours. Each agent learns bounded weights from its own v34+ trade outcomes across signal type, setup quality, category, side, and entry-price band. The learner shrinks -small samples toward neutral, caps sizing changes to 0.72x-1.28x, and reserves +small samples toward neutral, caps sizing changes to 0.68x-1.30x, and reserves 15% of candidates for deterministic exploration so a stale regime cannot become permanent. +Engine v36 treats each binary stake as capable of falling to zero even when the +18% stop cannot fill. New core positions are capped at 2.5%-4% of equity and +aggressive positions at 3%-5%, with lower limits for near-term, extreme-price, +reversal, and fast-moving setups. Oversized positions inherited from older +engines are reduced to the same loss budget during live marking. + A separate walk-forward ledger records each trade-ready signal before its future price is known, grades it at least 12 hours later, and combines that broad market calibration with each agent's personal outcomes. This expands the learning sample diff --git a/index.html b/index.html index ba2d8d5..b93f4b0 100644 --- a/index.html +++ b/index.html @@ -238,6 +238,7 @@ a.market-title:hover{color:#fff;text-decoration:underline;text-decoration-color: .badge.STOP{background:rgba(251,113,133,.2);color:var(--red)} .badge.GAIN{background:rgba(52,211,153,.18);color:var(--green)} .badge.EXIT{background:rgba(251,191,36,.18);color:var(--yellow)} +.badge.RISK{background:rgba(56,210,230,.16);color:var(--cyan)} .log-date{color:var(--muted)} .empty{color:var(--muted);font-size:13.5px;padding:14px 0;text-align:center} @@ -340,7 +341,7 @@ footer{margin-top:34px;padding-top:22px;border-top:1px solid var(--border);color