CB ···

Changelog

Version history and major milestones.

v0.6.1 April 7, 2026 CURRENT

Media Eye Overhaul — Knowledge Base Wiring + Real-News Training + Cross-Source Confirmation

MEDIA EYE KNOWLEDGE BASE (70 → 1,091 KEYWORDS)

  • + Wired media_eye_knowledge.py into Media Eye scoring engine — 15.6x keyword expansion
  • + Merged 250 bullish news, 265 bearish news, 164 bullish verbs, 157 bearish verbs, 153 dovish phrases, 131 hawkish phrases
  • + New keywords start at weight 0.5 — self-training adjusts based on actual predictive accuracy
  • + DB-persisted keywords restored on reload, including previously unknown keywords from training

NEW KNOWLEDGE CATEGORIES (+367 ENTRIES)

  • + Currency Revaluation Indicators (113) — devaluations, peg breaks, capital controls, FX crises, EM stress signals, IMF bailouts
  • + Strategic Resource Dependencies (127) — OPEC dynamics, rare earth bans, lithium/cobalt, grain corridors, SPR, chokepoints (Hormuz, Suez, Red Sea)
  • + Modern Sector Keywords (127) — AI/GPU/chips, energy transition, labor market (NFP, strikes), housing, supply chain, China-specific (PBOC, yuan), modern crypto (restaking, RWA, ETF flows)
  • + Knowledge base total: 4,199 → 4,566 entries

REAL-NEWS TRAINING (REPLACES PRICE PROXY)

  • + New train_on_news_items() — matches keywords in real headlines against actual forward price returns
  • + Individual keyword scoring: each keyword tracked by whether its presence predicted the right direction
  • + Trains on 5,900+ accumulated news articles from Dec 2023 to present across all asset classes
  • × Removed price-proxy training from championship arena — was scoring all keywords identically per bar, not learning real signal
  • + Standalone Media Eye training cycle: every 50 cycles (~50 min), background thread

CROSS-SOURCE CONFIRMATION

  • + Trigram-based article clustering groups headlines about the same event from different sources
  • + Multi-source events (2+ sources within 2h window) get 2x sentiment weight
  • + Single-source events get 0.5x weight — unconfirmed news is dampened, not amplified
  • + Returns confirmed_events / single_source_events counts for observability

UPDATED SCHEDULE

  • Trading Loop: every 60s (main thread)
  • Strategy Replay: cycle%4==2 (~4 min)
  • Evolution: cycle%8==0 (~8 min, 3 parallel threads)
  • Shadow Backfill: cycle%20==0 (~20 min)
  • + Media Eye Training: cycle%50==25 (~50 min, background thread)
  • Auto-Retest: cycle%100==0 (~1.7h)
  • Championship Arena: cycle%200==100 (~3.3h, background thread, now with real-news training)
v0.6.0 April 7, 2026

Regime Stability + Parallel Evolution + Enriched Metadata

REGIME STABILITY HARDENING

  • + Regime stability gate — new regime must hold 4 bars at ≥70% confidence before agent acts on it
  • + Crash instant-confirm — Crash at ≥85% confidence bypasses the gate (safety first)
  • + Minimum position hold — HMM cannot force-exit positions held fewer than 3 bars
  • + Cross-AC crash consensus — if ANY asset class is in confirmed Crash, ALL entries blocked
  • + Drawdown recovery — waits for regime stabilization instead of blind 5-minute timer

PARALLEL EVOLUTION ENGINE

  • + All asset class evolutions now run concurrently on ThreadPoolExecutor (3 threads)
  • + ~2x wall-clock speedup (was serial stock→crypto→forex, now parallel)
  • + Global yfinance data cache — eliminates re-downloads across evolution cycles
  • + Thread-safe library saves with merge-on-write to prevent data loss

ENRICHED TRADE METADATA

  • + Every trade now records: regime name, confidence, confirmed status, news sentiment, position age, equity, drawdown %
  • + Every signal now records: regime name, confidence, news sentiment, article count
  • + 7 new columns on trades table, 4 new columns on signals table
  • + Foundation for future Transformer / ML training on high-quality feature vectors

AUTOMATED STRATEGY REPLAY + CHAMPIONSHIP

  • + Strategy replay: top library strategies replayed against last 30 days of real data during idle cycles
  • + Results stored in strategy_replays table for memory integration
  • + Championship arena auto-scheduled every ~3.3 hours (background thread)
  • + New automation status bar on Research tab showing replay/arena/evolution state

INFRASTRUCTURE

  • VPS upgraded to 4 vCPU / 8GB RAM / 75GB NVMe
  • Cash persistence — agent_cash saved after every trade, recovery prefers it over stale snapshots
  • SQLite busy_timeout 5s → 30s + exponential backoff retries on auth writes
  • × Fixed $42K equity loss from server restart losing in-memory cash state
  • × Fixed equity overwrite on restart when positions empty after drawdown halt
v0.5.0 April 2, 2026

Graduation System + Strategy Retest + Shadow P&L

6-PHASE GRADUATION LADDER

  • + Master Agent maturity system: Observer → Acolyte → Apprentice → Shadow Apprentice → Scholar → Master Alchemist
  • + Per-phase conviction caps, suggestion gating, and auto-apply controls
  • + Manual-only promotion — no automatic graduation, human decides
  • + Full graduation log with timestamp, from/to phase, and reason
  • + New About page with MA identity, graduation ladder visualization, philosophy

SHADOW P&L TRACKING

  • + Independent shadow ledger tracks every MA suggestion with hypothetical outcomes
  • + Weekly snapshots: shadow P&L vs actual P&L with delta comparison
  • + Activates at Phase 3 (Shadow Apprentice) — 1-2 month burn-in before tracking
  • + 26-week minimum recommended before considering Master Alchemist promotion
  • + Per-suggestion tracking: title, conviction, approved/rejected, individual outcome

FULL STRATEGY RETEST

  • + Retest orchestrator: re-backtest ALL strategies (active, retired, shelved) against latest 2Y data
  • + Fitness thresholds: Sharpe > 0.3, win rate > 35%, drawdown < -50%
  • + Creates “generation zero” save point for clean baseline measurement
  • + Progress tracking via /api/retest/progress with queued/passed/failed/error counts

DASHBOARD + NAVIGATION OVERHAUL

  • ~ Unified nav bar across all pages via shared partial (nav.html)
  • ~ Added equity + unrealized P&L to nav agent controls
  • - Removed Master Agent widget from dashboard sidebar
  • - Removed standalone Market Regime card from dashboard
  • - Removed auto risk cycling from Accounts page
  • - Removed redundant Hard Reset / Restore Session buttons
  • ! Fixed black rectangle overlay bug (h-full + body::before z-index stacking)
  • ! Fixed duplicate PST timezone badge
  • + New /about page with MA identity card and graduation visualization
  • + New /changelog route (previously unrouted)

NEW DB TABLES

  • + graduation_log, shadow_suggestions, shadow_weekly_snapshots, retest_queue
  • + New agent_settings keys: graduation_phase, graduation_phase_name, retest_status, shadow_tracking_active
v0.4.0 March 31, 2026

Master Agent Intelligence + Market Charts

MASTER AGENT DEBATE SYSTEM

  • + Subagent debate audits every 12h — Master Agent debates Stocks, Crypto, Forex subagents
  • + Structured positions (bull/bear cases) with evidence-based arguments
  • + Verdict scoring with conviction levels and exposure bias recommendations
  • + Automated lesson extraction for self-training
  • + 3 new DB tables: debate_sessions, forecast_snapshots, debate_lessons

ENSEMBLE FORECASTING

  • + 3-signal ensemble: HMM regime (50%), strategy momentum (30%), macro sentiment (20%)
  • + Per-asset-class directional forecasts with confidence scoring
  • + Self-tuning weights — accuracy-based adjustment from outcome backfilling
  • + Lesson decay system prevents stale insights from influencing decisions

LIVE MARKET INDEX CHARTS

  • + Real-time NASDAQ, S&P 500, DJIA intraday charts (yfinance, 5-min intervals)
  • + Side-by-side MA projection charts with confidence bands
  • + Interactive tooltips, toggleable indices, EST timezone
  • + Prominent full-width dashboard section (core feature)

DASHBOARD IMPROVEMENTS

  • ~ Master Agent widget redesigned: tabs replaced with collapsible accordion
  • ~ Removed horizontal scrollbar issue from widget navigation
  • + DEBATE section in accordion showing per-asset verdicts and bias bars
  • + New API endpoints: /api/market-indices, /api/master-agent/index-projections, /api/master-agent/debates, /api/master-agent/forecast-history, /api/master-agent/lessons
v0.3.0 March 29, 2026

Master Agent + Suggestion Engine

MASTER AGENT

  • + 1,980-line MasterAgent class with 5 oversight modules
  • + Scheduled tasks: macro monitor (4h), attribution (24h), health (6h), diagnostics (2h), suggestions (6h)
  • + 3-tier audit schedule (Mon/Wed/Fri)
  • + Suggestion engine with safe-apply actions (risk level, macro influence, retrain interval)
  • + Dashboard widget with 5 tabs: MACRO, HEALTH, P&L, SYSTEM, SUGGEST

METRICS AUDIT

  • ! Fixed 6 metric discrepancies: RETURN, WIN RATE, PROFIT FACTOR, TRADES, SHARPE/MAX DD, risk bar drawdown
  • ~ All metrics now use paper_capital baseline and mode-filtered snapshots
  • ~ Risk bar drawdown corrected from total return to peak drawdown
v0.2.0 March 27, 2026

Dashboard + HMM Regime Detection

  • + Live trading dashboard at trading.cytrader.ai (FastAPI + Jinja2 + HTMX + Tailwind)
  • + HMM regime detection with 6-stage confidence pipeline and 7 market regimes
  • + Real-time metrics: net worth, return, Sharpe, max DD, win rate, profit factor
  • + Multi-asset market ticker (stocks, crypto, forex, options, cash)
  • + Waitlist system with confirmation emails via cy.sup@cytrader.ai
  • + Admin waitlist widget with mass email broadcast
  • + OANDA V20 forex integration
v0.1.0 March 2026

Initial Release

  • + Karpathy-inspired genetic strategy evolution engine
  • + Walk-forward backtesting across 80+ symbols
  • + Multi-asset support: stocks (Alpaca), crypto (CCXT), forex (OANDA)
  • + Risk profiles: Conservative, Balanced, Aggressive
  • + Landing page with live stats and waitlist
  • + VPS deployment (Vultr) with nginx reverse proxy