Skip to content

Commit 0665745

Browse files
committed
Rename Russell Top50 runtime profile
1 parent 1770edb commit 0665745

8 files changed

Lines changed: 19 additions & 19 deletions

internal_dependency_matrix.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"path": "pyproject.toml",
6363
"package": "us-equity-strategies",
6464
"source_repo": "UsEquityStrategies",
65-
"ref": "d789c5cacea6b82cccc0202561bd53482294b14a"
65+
"ref": "031a5bbd5a5ec64a57225a2b24f6569359dc9b11"
6666
},
6767
{
6868
"consumer_repo": "FirstradePlatform",
@@ -76,7 +76,7 @@
7676
"path": "requirements.txt",
7777
"package": "us-equity-strategies",
7878
"source_repo": "UsEquityStrategies",
79-
"ref": "d789c5cacea6b82cccc0202561bd53482294b14a"
79+
"ref": "031a5bbd5a5ec64a57225a2b24f6569359dc9b11"
8080
},
8181
{
8282
"consumer_repo": "HkEquityStrategies",
@@ -97,7 +97,7 @@
9797
"path": "requirements.txt",
9898
"package": "us-equity-strategies",
9999
"source_repo": "UsEquityStrategies",
100-
"ref": "d789c5cacea6b82cccc0202561bd53482294b14a"
100+
"ref": "031a5bbd5a5ec64a57225a2b24f6569359dc9b11"
101101
},
102102
{
103103
"consumer_repo": "InteractiveBrokersPlatform",
@@ -118,7 +118,7 @@
118118
"path": "requirements.txt",
119119
"package": "us-equity-strategies",
120120
"source_repo": "UsEquityStrategies",
121-
"ref": "d789c5cacea6b82cccc0202561bd53482294b14a"
121+
"ref": "031a5bbd5a5ec64a57225a2b24f6569359dc9b11"
122122
},
123123
{
124124
"consumer_repo": "LongBridgePlatform",

scripts/build_runtime_switch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{
2929
"tqqq_growth_income",
3030
"global_etf_rotation",
31-
"russell_top50_leader_rotation_aggressive",
31+
"russell_top50_leader_rotation",
3232
}
3333
)
3434
US_DAILY_SCHEDULER = {
@@ -64,7 +64,7 @@
6464
STRATEGY_SCHEDULER_PROFILES = {
6565
"nasdaq_sp500_smart_dca": US_DCA_SCHEDULER,
6666
"ibit_smart_dca": US_DCA_SCHEDULER,
67-
"russell_top50_leader_rotation_aggressive": US_SNAPSHOT_SCHEDULER,
67+
"russell_top50_leader_rotation": US_SNAPSHOT_SCHEDULER,
6868
"hk_low_vol_dividend_quality_snapshot": HK_SNAPSHOT_SCHEDULER,
6969
}
7070
PLATFORM_DRY_RUN_VARIABLES = {

tests/strategy_switch_worker_validation.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,10 @@ globalThis.fetch = async (url) => {
682682
targets: [
683683
{
684684
service: "longbridge-quant-sg-service",
685-
strategy_profile: "russell_top50_leader_rotation_aggressive",
685+
strategy_profile: "russell_top50_leader_rotation",
686686
runtime_target: {
687687
platform_id: "longbridge",
688-
strategy_profile: "russell_top50_leader_rotation_aggressive",
688+
strategy_profile: "russell_top50_leader_rotation",
689689
account_scope: "SG",
690690
service_name: "longbridge-quant-sg-service",
691691
execution_mode: "live",

web/strategy-switch-console/account-options.example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"label": "paper",
2323
"target_name": "paper",
2424
"account_selector": "PAPER",
25-
"default_strategy_profile": "russell_top50_leader_rotation_aggressive",
25+
"default_strategy_profile": "russell_top50_leader_rotation",
2626
"supported_domains": ["us_equity", "hk_equity"]
2727
}
2828
],
@@ -80,7 +80,7 @@
8080
"label": "default",
8181
"target_name": "default",
8282
"cash_currency": "USD",
83-
"default_strategy_profile": "russell_top50_leader_rotation_aggressive",
83+
"default_strategy_profile": "russell_top50_leader_rotation",
8484
"supported_domains": ["us_equity"]
8585
}
8686
]

web/strategy-switch-console/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ <h2 data-i18n="summary">切换摘要</h2>
954954
{ profile: "nasdaq_sp500_smart_dca", label: "Nasdaq 100 / S&P 500 DCA", label_en: "Nasdaq 100 / S&P 500 DCA", label_zh: "纳指100 / 标普500 定投", domain: "us_equity", runtime_enabled: true, dca_enabled: true, dca_default_mode: "fixed", dca_default_base_investment_usd: "1000" },
955955
{ profile: "ibit_smart_dca", label: "IBIT Bitcoin ETF DCA", label_en: "IBIT Bitcoin ETF DCA", label_zh: "IBIT 比特币定投", domain: "us_equity", runtime_enabled: true, dca_enabled: true, dca_default_mode: "fixed", dca_default_base_investment_usd: "1000" },
956956
{ profile: "global_etf_rotation", label: "Global ETF Rotation", label_en: "Global ETF Rotation", label_zh: "全球 ETF 轮动", domain: "us_equity", runtime_enabled: true },
957-
{ profile: "russell_top50_leader_rotation_aggressive", label: "Russell Top50 Leader Rotation Aggressive", label_en: "Russell Top50 Leader Rotation Aggressive", label_zh: "罗素 Top50 领涨轮动(激进)", domain: "us_equity", runtime_enabled: true },
957+
{ profile: "russell_top50_leader_rotation", label: "Russell Top50 Leader Rotation", label_en: "Russell Top50 Leader Rotation", label_zh: "罗素 Top50 领涨轮动", domain: "us_equity", runtime_enabled: true },
958958
{ profile: "hk_dividend_gold_defensive_rotation", label: "HK Dividend-Gold Defensive Rotation", label_en: "HK Dividend-Gold Defensive Rotation", label_zh: "港股红利黄金防御轮动", domain: "hk_equity", runtime_enabled: true },
959959
{ profile: "hk_global_etf_tactical_rotation", label: "HK Global ETF Tactical Rotation", label_en: "HK Global ETF Tactical Rotation", label_zh: "港股全球 ETF 战术轮动", domain: "hk_equity", runtime_enabled: true },
960960
{ profile: "hk_low_vol_dividend_quality_snapshot", label: "HK Low-Vol Dividend Quality Snapshot", label_en: "HK Low-Vol Dividend Quality Snapshot", label_zh: "港股低波红利质量快照", domain: "hk_equity", runtime_enabled: true },
@@ -966,7 +966,7 @@ <h2 data-i18n="summary">切换摘要</h2>
966966
nasdaq_sp500_smart_dca: { zh: "纳指100 / 标普500 定投", en: "Nasdaq 100 / S&P 500 DCA" },
967967
ibit_smart_dca: { zh: "IBIT 比特币定投", en: "IBIT Bitcoin ETF DCA" },
968968
global_etf_rotation: { zh: "全球 ETF 轮动", en: "Global ETF Rotation" },
969-
russell_top50_leader_rotation_aggressive: { zh: "罗素 Top50 领涨轮动(激进)", en: "Russell Top50 Leader Rotation Aggressive" },
969+
russell_top50_leader_rotation: { zh: "罗素 Top50 领涨轮动", en: "Russell Top50 Leader Rotation" },
970970
hk_dividend_gold_defensive_rotation: { zh: "港股红利黄金防御轮动", en: "HK Dividend-Gold Defensive Rotation" },
971971
hk_global_etf_tactical_rotation: { zh: "港股全球 ETF 战术轮动", en: "HK Global ETF Tactical Rotation" },
972972
hk_low_vol_dividend_quality_snapshot: { zh: "港股低波红利质量快照", en: "HK Low-Vol Dividend Quality Snapshot" },
@@ -988,7 +988,7 @@ <h2 data-i18n="summary">切换摘要</h2>
988988
maxRatio: "0.15",
989989
allocations: { SCHD: 0.40, DGRO: 0.25, SGOV: 0.30, SPYI: 0.05 },
990990
},
991-
russell_top50_leader_rotation_aggressive: {
991+
russell_top50_leader_rotation: {
992992
startUsd: 300000,
993993
maxRatio: "0.25",
994994
allocations: { SCHD: 0.45, DGRO: 0.30, SGOV: 0.25 },

web/strategy-switch-console/page_asset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/strategy-switch-console/strategy-profiles.example.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
"runtime_enabled": true
4747
},
4848
{
49-
"profile": "russell_top50_leader_rotation_aggressive",
50-
"label": "Russell Top50 Leader Rotation Aggressive",
51-
"label_en": "Russell Top50 Leader Rotation Aggressive",
52-
"label_zh": "罗素 Top50 领涨轮动(激进)",
49+
"profile": "russell_top50_leader_rotation",
50+
"label": "Russell Top50 Leader Rotation",
51+
"label_en": "Russell Top50 Leader Rotation",
52+
"label_zh": "罗素 Top50 领涨轮动",
5353
"domain": "us_equity",
5454
"runtime_enabled": true
5555
},

web/strategy-switch-console/strategy_profiles_asset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)