Skip to content

Show TQQQ delever allocation in notifications - #170

Merged
Pigbibi merged 1 commit into
mainfrom
codex/tqqq-notification-ratios
Jun 18, 2026
Merged

Show TQQQ delever allocation in notifications#170
Pigbibi merged 1 commit into
mainfrom
codex/tqqq-notification-ratios

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • include TQQQ retained / QQQM redirected ratios in volatility-delever notifications
  • pass the new allocation fields through signal snapshots
  • pin UsEquityStrategies to fdd39ef0313181bee9083319b87b7175c32b364d

Validation

  • python -m py_compile notifications/renderers.py notifications/telegram.py application/signal_snapshot.py
  • direct zh/en TQQQ risk-control render check passed
  • full notification tests could not run locally because pandas is not installed on this VPS

@Pigbibi
Pigbibi merged commit 562b596 into main Jun 18, 2026
1 check passed
@Pigbibi
Pigbibi deleted the codex/tqqq-notification-ratios branch June 18, 2026 08:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 114722996c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Comment on lines +449 to +453
allocation_detail = _format_tqqq_volatility_delever_allocation_detail(
signal_metadata,
prefix=prefix,
redirect_symbol=redirect_symbol or "QQQ",
translator=translator,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include allocation detail in sent compact notifications

In the live IBKR Telegram path with TQQQ delever applied, this new allocation_detail only reaches the detailed dashboard built here; run_strategy_core still passes render_trade_notification a strategy_dashboard from application.rebalance_service._strategy_dashboard_text (application/rebalance_service.py:357), which only includes dashboard/timing, and NotificationPublisher sends compact_text (tests/test_notification_events.py:12). As a result, the retained/redirected allocation is logged but omitted from the actual sent Telegram compact message, so the feature does not show up for users unless the compact path uses the enriched renderer dashboard too.

Useful? React with 👍 / 👎.

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