[object Object]

← back to Ken

Ken: widen near-term window 120->365 days — 120d left only ~11 tradeable markets; the actual junk was 2028-2045 multi-year longshots, which a 1-year window excludes while keeping liquid mid-term markets.

b49c172dd9d2abbc8cfffa4b1c387209b7ec4fcb · 2026-08-03 11:01:31 -0700 · steve@designerwallcoverings.com

Files touched

Diff

commit b49c172dd9d2abbc8cfffa4b1c387209b7ec4fcb
Author: steve@designerwallcoverings.com <steve@designerwallcoverings.com>
Date:   Mon Aug 3 11:01:31 2026 -0700

    Ken: widen near-term window 120->365 days — 120d left only ~11 tradeable markets; the actual junk was 2028-2045 multi-year longshots, which a 1-year window excludes while keeping liquid mid-term markets.
---
 kalshi-dash/server.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kalshi-dash/server.js b/kalshi-dash/server.js
index 7d51558..71dd5dc 100644
--- a/kalshi-dash/server.js
+++ b/kalshi-dash/server.js
@@ -7543,7 +7543,7 @@ async function getWinnerConsensusSignals() {
         // NEAR-TERM guard: never place real money on a far-future market (2028-2045 longshots have
         // no live liquidity). Match the scan's 120-day window.
         const ct = m.close_time ? new Date(m.close_time).getTime() : 0;
-        if (!(ct > Date.now() && (ct - Date.now()) < 120 * 24 * 60 * 60 * 1000)) continue;
+        if (!(ct > Date.now() && (ct - Date.now()) < 365 * 24 * 60 * 60 * 1000)) continue;
       } catch { continue; } // ticker not tradeable right now → skip (never guess a price)
       if (!yesPrice || yesPrice <= 5 || yesPrice >= 95) continue;
       out.push({
@@ -7917,7 +7917,7 @@ async function autonomousScan() {
     // AND closing within ~120 days. Without the close-date gate, winners built their track record on
     // far-future longshots (2028-2045 events) that have NO live order book when it's time to place a
     // real bet — the exact reason getWinnerConsensusSignals kept returning "no tradeable consensus".
-    const NEAR_TERM_MS = 120 * 24 * 60 * 60 * 1000;
+    const NEAR_TERM_MS = 365 * 24 * 60 * 60 * 1000; // within ~1yr: kills the 2028-2045 longshots, keeps liquid mid-term markets
     const nowMs = Date.now();
     const activeMarkets = allMarkets
       .filter(m => {

← afc629c Ken: carry close_time into allMarkets — the near-term filter  ·  back to Ken  ·  auto-save: 2026-08-03T11:23:33 (2 files) — kalshi-dash/arm-l 14b4275 →