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
4 changes: 2 additions & 2 deletions notifications/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def format_small_account_cash_substitution_notes(
"strategy_name_russell_1000_multi_factor_defensive": "罗素1000多因子",
"strategy_name_tech_communication_pullback_enhancement": "科技通信回调增强",
"strategy_name_qqq_tech_enhancement": "科技通信回调增强",
"strategy_name_mega_cap_leader_rotation_top50_balanced": "Mega Cap Top50 平衡龙头轮动",
"strategy_name_mega_cap_leader_rotation_top50_balanced": "美股超大盘50强平衡龙头轮动",
"skip_reason_below_trade_threshold": "低于调仓阈值",
"skip_reason_quote_unavailable": "无法获取报价",
"skip_reason_sell_quantity_zero": "卖出股数为0",
Expand Down Expand Up @@ -393,7 +393,7 @@ def format_small_account_cash_substitution_notes(
"strategy_name_russell_1000_multi_factor_defensive": "Russell 1000 Multi-Factor Defensive",
"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 Top50 Balanced Leader Rotation",
"strategy_name_mega_cap_leader_rotation_top50_balanced": "Mega Cap Leader Rotation Top50 Balanced",
"skip_reason_below_trade_threshold": "below trade threshold",
"skip_reason_quote_unavailable": "quote unavailable",
"skip_reason_sell_quantity_zero": "sell quantity rounds to 0",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ authors = [
]
dependencies = [
"firstrade==0.0.39",
"quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@9d9682533578c7e5a9e02ea80040b7014898e4dd",
"us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@c7a1ae5e804b720f2ab6412451b9e8ee3341ff20",
"quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@2a711adf60b585ca02932bab9ee1bac7ce1df7c6",
"us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@085f6010883b3f7c66a1c16f96749c0251410f93",
"google-cloud-storage",
"requests",
]
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
flask
gunicorn
firstrade==0.0.39
quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@9d9682533578c7e5a9e02ea80040b7014898e4dd
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@c7a1ae5e804b720f2ab6412451b9e8ee3341ff20
quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@2a711adf60b585ca02932bab9ee1bac7ce1df7c6
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@085f6010883b3f7c66a1c16f96749c0251410f93
google-cloud-storage
requests
pytest
2 changes: 2 additions & 0 deletions scripts/print_strategy_profile_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def main(argv: list[str] | None = None) -> int:
headers = [
"Canonical profile",
"Display name",
"Chinese display name",
"Eligible",
"Enabled",
"Domain",
Expand All @@ -38,6 +39,7 @@ def main(argv: list[str] | None = None) -> int:
[
str(row["canonical_profile"]),
str(row["display_name"]),
str(row.get("display_name_zh", "")),
"Yes" if row["eligible"] else "No",
"Yes" if row["enabled"] else "No",
str(row["domain"]),
Expand Down