[codex] simplify compact notifications and margin labels#223
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6bcd7b097c
ℹ️ 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".
| text.startswith(("⏱", "🧾", "🧩 输入状态", "📊", "🎯", "🛡️")) | ||
| or lowered.startswith(("signal:", "signal:", "market status:")) | ||
| or text.startswith(("信号:", "信号:", "市场状态:", "市场状态:")) |
There was a problem hiding this comment.
Exclude remaining audit rows from compact dashboards
When dashboard_text contains strategy audit rows that do not start with these prefixes—for example TQQQ dashboard rows like QQQ: ... | MA200 Exit: ... or Vol Delever: ...—_compact_dashboard_lines() keeps them, so compact trade/heartbeat Telegram messages still include benchmark and risk diagnostics instead of only account/position/outcome information. Please either positively allow the account/holding/cash rows or add the remaining audit prefixes before using this helper for compact notifications.
Useful? React with 👍 / 👎.
Summary
Test Plan