"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
Decay Monitoring Thresholds
State Machine
created → benching → active → monitoring → decayed → disabled
↑ │
└───────────┘ (recovery: IC ratio > 0.7)
Decay Signal Evaluation
Each metric is evaluated independently. The worst signal across all provided metrics determines the overall decay signal.
| Metric | Healthy | Warning | Decayed | Critical |
|---|---|---|---|---|
| IC Ratio (rolling/baseline) | > 0.7 | 0.5 – 0.7 | 0.3 – 0.5 | < 0.3 |
| IR (rolling window) | > 1.0 | 0.5 – 1.0 | 0.1 – 0.5 | < 0.1 |
| IC Positive Ratio | > 55% | 45% – 55% | 35% – 45% | < 35% |
| Sharpe (strategy only) | > 1.0 | 0.5 – 1.0 | 0.0 – 0.5 | < 0.0 |
State Transition Rules
| Transition | Condition | Consecutive Requirement |
|---|---|---|
| active → monitoring | WARNING or worse | 3 consecutive periodic benches |
| monitoring → decayed | DECAYED or worse | 2 additional consecutive checks |
| monitoring → active | HEALTHY | 1 reading (recovery) |
| decayed → disabled | CRITICAL | 3 monitoring periods |
| disabled → active | Manual enable | — |
Trigger Modes
- Manual: Agent calls
sdm_decay_scan(universe=...)tool - Scheduled:
ScheduledResearchExecutorconfigured with periodic scan job - Passive: Each
alpha_benchrun updates the scanned factor's decay snapshot
Baseline Calculation
- Baseline IC mean = average of all
bench_historyentries withbench_type='initial'or the first 5periodicentries - Rolling IC mean = average of the most recent N entries (configurable via
rolling_window_days) - IC ratio = rolling_ic_mean / baseline_ic_mean
Configuration
All thresholds are configurable via DecayThresholds dataclass in src/strategy_store/decay.py.