Skip to content

feat(risk): envelope target scale + mandate DD budget - #612

Merged
Pigbibi merged 1 commit into
mainfrom
fix/qpk-envelope-target-scale-20260918
Sep 18, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/qpk-envelope-target-scale-20260918

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • apply_combined_scale_to_targets: shrink-only; None/invalid scale omits (does not invent zero risk).
  • resolve_mandate_dd_budget: SOXL/TQQQ default 0.35 (not 10%); env/override supported.
  • publish_attention_telegram_transition: ACTION/HALT pages with dedup keys.
  • Doc: docs/capital_envelope_target_scale_v1.zh-CN.md.

Test plan

  • pytest tests/test_capital_risk_envelope.py tests/test_attention.py -q (35 passed)
  • CI green

Made with Cursor

Expose apply_combined_scale_to_targets for live sizing (omit when scale
missing), default SOXL/TQQQ mandate drawdown budgets at 0.35, and a
transition-only Telegram helper for ACTION/HALT attention pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi merged commit bd8d06e into main Sep 18, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/qpk-envelope-target-scale-20260918 branch September 18, 2026 00:12
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