Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions notifications/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"strategy_name_tech_communication_pullback_enhancement": "科技通信回调增强",
"strategy_name_qqq_tech_enhancement": "科技通信回调增强",
"strategy_name_mega_cap_leader_rotation_top50_balanced": "美股超大盘50强平衡龙头轮动",
"strategy_name_ibit_smart_dca": "IBIT 比特币 ETF 智能定投",
"strategy_name_hk_global_etf_tactical_rotation": "港股全球 ETF 战术轮动",
"strategy_name_hk_dividend_gold_defensive_rotation": "港股股息黄金防守轮动",
"strategy_name_hk_low_vol_dividend_quality_snapshot": "港股低波股息质量快照",
Expand Down Expand Up @@ -288,6 +289,7 @@
"strategy_name_tech_communication_pullback_enhancement": "Tech/Communication Pullback Enhancement",
"strategy_name_qqq_tech_enhancement": "Tech/Communication Pullback Enhancement",
"strategy_name_mega_cap_leader_rotation_top50_balanced": "Mega Cap Leader Rotation Top50 Balanced",
"strategy_name_ibit_smart_dca": "IBIT Smart DCA",
"strategy_name_hk_global_etf_tactical_rotation": "HK Global ETF Tactical Rotation",
"strategy_name_hk_dividend_gold_defensive_rotation": "HK Dividend-Gold Defensive Rotation",
"strategy_name_hk_low_vol_dividend_quality_snapshot": "HK Low-Vol Dividend Quality Snapshot",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flask
gunicorn
quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@b846c9d777a450e95d23c264853997d671f47dd9
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@d08492ea4b4055515606ae386e59a31a943a7fec
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@f92301b329ab5054ec5ed6fb8ce043b48ff18a0e

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 Add translations before enabling IBIT

This pin enables the new ibit_smart_dca runtime profile from UsEquityStrategies, so SUPPORTED_STRATEGY_PROFILES will now include it, but notifications/telegram.py has no strategy_name_ibit_smart_dca entries alongside the other supported profile names. In that state build_strategy_display_name() falls back to the raw profile slug, and tests/test_notifications.py explicitly asserts every supported profile has non-slug zh/en display names, so CI will fail until the translations are added or the profile is kept out of the supported set.

Useful? React with 👍 / 👎.

hk-equity-strategies @ git+https://github.com/QuantStrategyLab/HkEquityStrategies.git@4007746ac21379f7ce7cf8e999d2bb37123f6767
pandas
requests
Expand Down
1 change: 1 addition & 0 deletions tests/test_runtime_config_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"russell_1000_multi_factor_defensive",
"tqqq_growth_income",
"soxl_soxx_trend_income",
"ibit_smart_dca",
}
)
OPTIONAL_LONGBRIDGE_PROFILES = frozenset({"global_etf_confidence_vol_gate"})
Expand Down