feat(backtest): default hk research wrappers to orchestrator - #83
Conversation
Wire hk_equity_combo through HkEquityComboBacktestRunner, combo_simulator, walk-forward CLI, and research --orchestrator entrypoint. Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Codex <noreply@openai.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Co-Authored-By: Codex <noreply@openai.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Co-Authored-By: Codex <noreply@openai.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
💡 Codex ReviewWhen Adding HkEquityStrategies/src/hk_equity_strategies/backtest/orchestrator_runner.py Lines 204 to 208 in b6008c2 When orchestrator callers pass combo parameters such as In the new default path, this call omits HkEquityStrategies/src/hk_equity_strategies/backtest/combo_simulator.py Lines 115 to 117 in b6008c2 When the ETF signal returns gross exposure below 1.0 because its volatility target or cash allocation fired, this branch renormalizes it back to the full combo ETF sleeve. The production combo profile multiplies ETF weights by the sleeve weight without rescaling, so orchestrator combo backtests overstate ETF exposure in those periods instead of leaving the ETF leg's cash uninvested. HkEquityStrategies/scripts/research_hk_proxy_orchestrator_backtest.py Lines 53 to 55 in b6008c2 For ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary\n- Default HK research wrappers to orchestrator/profile\n- Preserve legacy AkShare path behind --analysis\n\n## Test Plan\n- python3 -m py_compile on modified scripts\n- --help smoke test on modified wrappers