Historical plan (2025-12-14). Paths under
src/autogen_agents/were removed in #331;VoterAgentis nowVotingSignalandMultiTimeframeVoteris insrc/trading/instruments/. For current status see the project status.
Created: 2025-12-14 Updated: 2025-12-14 Status: Active - C Stream: COMPLETE (Core 2/2 + Infra 3/5)
The 10 core features (track:core label) are split between two parallel development streams to enable concurrent work without conflicts.
development
├── feature/core-execution (A Chat - Position Management)
└── feature/core-signals-infra (C Chat - Signals + Infrastructure)
Focus: HOW positions are managed (entry, exit, protection)
| Priority | Issue | Title | Dependency |
|---|---|---|---|
| 1 | #414 | KILLER Advanced Trailing Stop Automation | #321 ✅, #400, #364* |
| 2 | #372 | Multi-Level Price Targets | #366 |
| 3 | #366 | OHLCV-Based Intraday Entry Plan | None |
Execution Order: #366 → #372 → #414
Notes:
- #366 provides ATR calculation needed by #372 and #414
- #414 can start with current VoterAgent; #364 enhancement is optional
- All three issues form a coherent execution pipeline
Focus: WHAT signals the system generates + support infrastructure
| Priority | Issue | Title | Dependency |
|---|---|---|---|
| 1 | #364 | Ranked Voter System | None |
| 2 | #395 | Multi-Timeframe Ranked Voting | #364, #365 ✅ |
| 3 | #402 | Credential Management | None |
| 4 | #405 | Tiered Watchlist System | None |
| 5 | #407 | CustomTimeframeBuilder | None |
| 6 | #483 | DB Backup/Migration | None |
| 7 | #370 | LLM Trade Journal | None |
Execution Order: #364 → #395, then infrastructure (#402, #405, #407, #483, #370) in any order
Notes:
- #364 is foundational for #395
- Infrastructure issues are independent and can be parallelized
- #370 (Journal) is lower priority, can be deferred
Stream A (Execution):
#366 (OHLCV Entry)
└──→ #372 (Multi-Targets)
└──→ #414 (Trailing Stops) ← KILLER
Stream C (Signals):
#364 (Ranked Voter)
└──→ #395 (Multi-TF Voting)
Stream C (Infra): Independent
#402 (Credentials)
#405 (Watchlist)
#407 (Timeframes)
#483 (DB Backup)
#370 (Journal)
| A Issue | C Issue | Nature | Resolution |
|---|---|---|---|
| #414 | #364 | Optional voter integration | A can use current VoterAgent; enhance later |
No blocking cross-dependencies - streams can proceed independently.
Each chat should work in a separate worktree:
# A Chat worktree
git worktree add ../AutoGen-Trader-execution feature/core-execution
# C Chat worktree
git worktree add ../AutoGen-Trader-signals feature/core-signals-infra- Each stream PRs into
developmentwhen complete - A stream merges first (execution is higher priority)
- C stream rebases on updated
developmentbefore merge - Resolve any conflicts in C stream PR
- #366: OHLCV entry planner functional with ATR stops
- #372: Multi-level targets with order splitting
- #414: Autonomous trailing stops with voter integration
- #364: Ranked voter configuration system (commit b4d4bec, abe3905)
- #395: Multi-timeframe voting operational (commit a875452)
- Infrastructure: 2 of 5 complete (#483, #405), need 1 more
| Stream | Issues | Estimate |
|---|---|---|
| A (Execution) | 3 | 2-3 weeks |
| C (Signals) | 2 core + 5 infra | 2-3 weeks |
Parallel execution = both complete in ~3 weeks total.
Filter commands:
# All core features
gh issue list --label "track:core"
# Research (separate B chat)
gh issue list --label "track:research"
# Backlog (parked)
gh issue list --label "track:backlog"Branch switch:
# A Chat
git checkout feature/core-execution
# C Chat
git checkout feature/core-signals-infra#364 Ranked Voter System - COMPLETE
- Created
src/trading/instruments/indicator_registry.pyBaseIndicatorABC for pluggable indicatorsMACDIndicatorandRSIIndicatorimplementationsIndicatorRegistrywith singleton pattern
- Created
src/core/ranked_voter_config.pyRankedVoterManagerwith YAML + SQLite persistenceVoterConfigandVotingConfigdataclasses- Presets: default, macd_primary, rsi_primary
- Created
config_defaults/voters_config.yaml - Updated
src/autogen_agents/agents/voter_agent.pywithevaluate_ranked_voting() - Commits:
b4d4bec,abe3905
#395 Multi-Timeframe Ranked Voting - COMPLETE
- Created
src/autogen_agents/agents/multi_timeframe_voter.pyMultiTimeframeVoterclass with weighted consensus votingTimeframeResultandMultiTimeframeResultdataclasses- 4 presets: trend_following, intraday, position, scalping
- Async support for parallel data fetching
- Updated
config_defaults/voters_config.yamlwith multi_timeframe section - Commit:
a875452
#483 DB Backup/Migration Utilities - COMPLETE
- Created
src/utils/db_backup.py(~750 lines)DBBackupManagerclass for backup/restore operations- Export tables to JSON with metadata
- Import from JSON with append/replace modes
DBMigratorfor schema version management- Cleanup utilities for old data and backups
- Commit:
cbc84de
Next: Continue with infrastructure (#402, #405, #407, #370)
#405 Tiered Watchlist System - COMPLETE
- Implementation already existed, fixed CONFIG_DIR path bug
- Tiered watchlist: positions (Tier 0), pending orders (Tier 1), strategy (Tier 2), discovery (Tier 3)
- Trading modes: conservative->balanced, moderate->momentum, aggressive->wheel_strategy
- All tests passing
- Commit:
54b2266
Next: Need 1 more infrastructure issue (#402 or #407 or #370)
#407 CustomTimeframeBuilder - COMPLETE
- Created
src/trading/instruments/custom_timeframe.pyTimeframeParserfor notation parsing (65m, 1.5h, 2d, 2w, etc.)CustomTimeframeBuilderwith aggregation logic- Support for: custom minutes, fractional hours, multi-day, multi-week
- Trading hours handling (9:30-16:00, session boundaries)
- Singleton pattern and convenience functions
- Exported from
src/trading/instruments/__init__.py - Commit:
b74d57f
C Stream Complete: Core 2/2 + Infra 3/5 Success criteria achieved (need 3/5 infra)!
Comprehensive analysis of how features #364, #395, #407, #483, #405 integrate with CLI session:
| Feature | Implemented | Tested | CLI Exposed | Config Loaded | Status |
|---|---|---|---|---|---|
| #364 Ranked Voting | ✅ | ✅ | ❌ | ✅ | Available via Python API only |
| #395 Multi-Timeframe | ✅ | ✅ | ❌ | ✅ | Singleton available, no CLI cmd |
| #407 Custom Timeframe | ✅ | ✅ | Programmatic only, needs async CLI | ||
| #405 Tiered Watchlist | ✅ | ✅ | ✅ | ✅ | Working (path bug fixed) |
| #483 DB Backup | ✅ | ✅ | ❌ | N/A | Manual Python/CLI needed |
Key Finding: All features work as Python modules but lack CLI command exposure. RealVoterStrategy still uses evaluate_voting() instead of new evaluate_ranked_voting().
Phase 1 Issues Created:
- #488 [CLI] Add /voter command group for ranked voting management
- #489 [CLI] Enhance /timeframe commands for multi-timeframe voting presets
- #490 [CLI] Add /backup command group for database management
See: CLI_INTEGRATION_STATUS.md for detailed analysis and Phase 1-3 recommendations.