Skip to content

feat: add recommended_trades to TrainingTrial and SimulationRunner integration - #42

Merged
belarusian merged 1 commit into
mainfrom
build13/simulation-integration
Aug 14, 2026
Merged

feat: add recommended_trades to TrainingTrial and SimulationRunner integration#42
belarusian merged 1 commit into
mainfrom
build13/simulation-integration

Conversation

@belarusian

Copy link
Copy Markdown
Owner

Changes

  • Add recommended_trades: list[dict]|None to TrainingTrial dataclass
  • Update _trainer closure to derive recommended_trades from allocation_history
  • Verify _trainer computes sharpe_ratio, outperformance, model_roi, buyhold_roi
  • Update WorkflowRunner._run_trial() to extract recommended_trades from result
  • Update print_results() in alloc/cli.py to render trade recommendations
  • Add 21 tests for metric computation and recommended_trades

Verification

  • 411 tests pass
  • ruff clean
  • mypy clean

…tegration

- Add recommended_trades: list[dict]|None to TrainingTrial dataclass
- Update _trainer closure to derive recommended_trades from allocation_history
- Verify _trainer computes sharpe_ratio, outperformance, model_roi, buyhold_roi
- Update WorkflowRunner._run_trial() to extract recommended_trades from result
- Update print_results() in alloc/cli.py to render trade recommendations
- Add 21 tests for metric computation and recommended_trades
- All 411 tests pass, ruff clean, mypy clean
@belarusian
belarusian force-pushed the build13/simulation-integration branch from 874fe7b to 3bde6cf Compare August 14, 2026 04:20
@belarusian
belarusian merged commit 8c5955d into main Aug 14, 2026
1 check passed
@belarusian
belarusian deleted the build13/simulation-integration branch August 14, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant