refactor(notifications): migrate to shared renderer_base - #315
Conversation
Persist IBKR execution summaries after each strategy cycle using QuantPlatformKit try_record_platform_execution(). Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Replace locally duplicated functions with imports from quant_platform_kit.notifications.renderer_base. Keep thin wrappers for IBKR-specific data access patterns (e.g. execution_annotations flattening, hardcoded cash labels). Co-Authored-By: Claude <noreply@anthropic.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. |
This comment has been minimized.
This comment has been minimized.
|
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: Claude <noreply@anthropic.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. |
Replace the per-symbol hardcoded whitelist with a universal rule: if the account already holds a symbol (>0 shares) AND the strategy wants to keep >= 85% of 1 share's value, retain the position. Co-Authored-By: Claude <noreply@anthropic.com>
…-unification # Conflicts: # pyproject.toml
|
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: Claude <noreply@anthropic.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. |
Summary
Replace locally duplicated functions with imports from
quant_platform_kit.notifications.renderer_base.Depends on: QuantPlatformKit#200
Changes
notifications/renderers.py: 962 → 709 lines (-253)_build_timing_audit_lines— usesresolve_executionto flatten nestedexecution_annotations_relabel_dashboard_cash_labels— delegates to shared withtranslator=None(IBKR uses hardcoded labels)_build_tqqq_risk_control_lines— delegates to shared_format_signal_snapshot_line— delegates to shared with IBKR-specificlocalize_textcallbackbuild_dashboard, etc.)🤖 Generated with Claude Code