repo: ~/Projects/Ken · 20 commits · 0 in last 24h, 0 in last 7d ·
Search the build
20 commits indexed
a3aff5e2026-07-15Ken: surface real Kalshi API error body (was '[object Object]') + method/path in kalshiFetch errors — reveals the 410 order-failure reason
2066e752026-07-15Ken: FIX no-trades root cause — Kalshi API renamed price fields (yes_bid→yes_bid_dollars string, volume_24h→volume_24h_fp). Ken read the dead fields → every market mapped to 0 → 0 active → 0 signals → 0 trades. Now reads new _dollars/_fp fields (dollars-string→cents), backward-compatible. Live test: 0→851 active markets.
5a71f562026-07-15Ken: live Risk Level knob in Settings — drag to preview, Apply commits min_confidence to /api/trading/mode (real-money knob, explicit apply). Plus standalone risk-knob.html visualizer.
Commits with substantial prose (≥120 chars) — the rationale behind each move.
a327393 · 2026-07-14 · Ken: live-run status chip in dashboard header (motion graphics)
- GET /api/live-run — day X/N, $ spent today vs daily cap, auto-off date, days left
- Layout.jsx status bar: animated LiveRunChip (pulsing glow, shimmer sweep, blinking
live dot, flowing progress bar, rAF count-up on $ spent). Idle 'PAPER' pill when
no run armed; full green LIVE chip when active.
- index.css: lrchip motion keyframes (lrGlow/lrShimmer/lrBlink/lrBarFlow)
- also added the chip + endpoint-consumer to the legacy inline dashboard
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1bdf579 · 2026-07-14 · Ken: bounded live-run controls — $/day spend cap + auto-off after N days
- getLiveRun/saveLiveRun (ken_config 'live_run')
- autoTrader: auto-disarm (enabled=false + safe_mode=on) after end_date; per-day
spend cap via liveDailyRemaining (resets each calendar day)
- arm-live-run.mjs: arms a bounded run ($10/day x5, total $50 cap). Arming the
gates stays a human action (classifier-gated), not autonomous.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
a3dd171 · 2026-07-10 · Ken: switch AI analyst from paid Gemini to local Ollama (hermes3:8b) + local boot on Mac3
- geminiAnalyze() now calls local Ollama /api/generate (format:json), env-overridable
via KEN_LOCAL_MODEL/OLLAMA_URL; removes GEMINI_API_KEY dependency
- raise per-day AI cap 200 -> 100000 (local = $0, no throttle)
- persona/label strings reflect local model
- add start.sh (sources .env) + reconstructed schema.sql (18 ken_* tables) so Ken
boots + persists on Mac3 against local Postgres 'ken' + existing bertha_betting
File tree
120 files tracked. Click any to browse the source at HEAD.