From 137d43b689bd53a632c09ca79c068fa1d18c045f Mon Sep 17 00:00:00 2001
From: Pigbibi <20649888+Pigbibi@users.noreply.github.com>
Date: Fri, 19 Jun 2026 21:47:47 +0800
Subject: [PATCH] sync russell top50 strategy profile
---
scripts/build_runtime_switch.py | 6 ++----
tests/strategy_switch_worker_validation.mjs | 4 ++--
.../account-options.example.json | 4 ++--
web/strategy-switch-console/index.html | 13 +++----------
web/strategy-switch-console/page_asset.js | 2 +-
.../strategy-profiles.example.json | 16 ++++------------
.../strategy_profiles_asset.js | 2 +-
7 files changed, 15 insertions(+), 32 deletions(-)
diff --git a/scripts/build_runtime_switch.py b/scripts/build_runtime_switch.py
index f7fd56a..4e413f0 100644
--- a/scripts/build_runtime_switch.py
+++ b/scripts/build_runtime_switch.py
@@ -28,8 +28,7 @@
{
"tqqq_growth_income",
"global_etf_rotation",
- "russell_1000_multi_factor_defensive",
- "mega_cap_leader_rotation_top50_balanced",
+ "russell_top50_leader_rotation_aggressive",
}
)
US_DAILY_SCHEDULER = {
@@ -65,8 +64,7 @@
STRATEGY_SCHEDULER_PROFILES = {
"nasdaq_sp500_smart_dca": US_DCA_SCHEDULER,
"ibit_smart_dca": US_DCA_SCHEDULER,
- "russell_1000_multi_factor_defensive": US_SNAPSHOT_SCHEDULER,
- "mega_cap_leader_rotation_top50_balanced": US_SNAPSHOT_SCHEDULER,
+ "russell_top50_leader_rotation_aggressive": US_SNAPSHOT_SCHEDULER,
"hk_low_vol_dividend_quality_snapshot": HK_SNAPSHOT_SCHEDULER,
}
PLATFORM_DRY_RUN_VARIABLES = {
diff --git a/tests/strategy_switch_worker_validation.mjs b/tests/strategy_switch_worker_validation.mjs
index e76ed4b..783262c 100644
--- a/tests/strategy_switch_worker_validation.mjs
+++ b/tests/strategy_switch_worker_validation.mjs
@@ -682,10 +682,10 @@ globalThis.fetch = async (url) => {
targets: [
{
service: "longbridge-quant-sg-service",
- strategy_profile: "mega_cap_leader_rotation_top50_balanced",
+ strategy_profile: "russell_top50_leader_rotation_aggressive",
runtime_target: {
platform_id: "longbridge",
- strategy_profile: "mega_cap_leader_rotation_top50_balanced",
+ strategy_profile: "russell_top50_leader_rotation_aggressive",
account_scope: "SG",
service_name: "longbridge-quant-sg-service",
execution_mode: "live",
diff --git a/web/strategy-switch-console/account-options.example.json b/web/strategy-switch-console/account-options.example.json
index e8629f6..c4fe144 100644
--- a/web/strategy-switch-console/account-options.example.json
+++ b/web/strategy-switch-console/account-options.example.json
@@ -22,7 +22,7 @@
"label": "paper",
"target_name": "paper",
"account_selector": "PAPER",
- "default_strategy_profile": "mega_cap_leader_rotation_top50_balanced",
+ "default_strategy_profile": "russell_top50_leader_rotation_aggressive",
"supported_domains": ["us_equity", "hk_equity"]
}
],
@@ -80,7 +80,7 @@
"label": "default",
"target_name": "default",
"cash_currency": "USD",
- "default_strategy_profile": "mega_cap_leader_rotation_top50_balanced",
+ "default_strategy_profile": "russell_top50_leader_rotation_aggressive",
"supported_domains": ["us_equity"]
}
]
diff --git a/web/strategy-switch-console/index.html b/web/strategy-switch-console/index.html
index 9d0bde0..400c5d1 100644
--- a/web/strategy-switch-console/index.html
+++ b/web/strategy-switch-console/index.html
@@ -954,8 +954,7 @@
切换摘要
{ 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" },
{ 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" },
{ profile: "global_etf_rotation", label: "Global ETF Rotation", label_en: "Global ETF Rotation", label_zh: "全球 ETF 轮动", domain: "us_equity", runtime_enabled: true },
- { profile: "russell_1000_multi_factor_defensive", label: "Russell 1000 Multi-Factor Defensive", label_en: "Russell 1000 Multi-Factor Defensive", label_zh: "罗素 1000 多因子防御", domain: "us_equity", runtime_enabled: true },
- { profile: "mega_cap_leader_rotation_top50_balanced", label: "Mega Cap Leader Rotation Top50 Balanced", label_en: "Mega Cap Leader Rotation Top50 Balanced", label_zh: "美股巨头 Top50 均衡轮动", domain: "us_equity", runtime_enabled: true },
+ { 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 },
{ 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 },
{ 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 },
{ 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 },
@@ -967,8 +966,7 @@ 切换摘要
nasdaq_sp500_smart_dca: { zh: "纳指100 / 标普500 定投", en: "Nasdaq 100 / S&P 500 DCA" },
ibit_smart_dca: { zh: "IBIT 比特币定投", en: "IBIT Bitcoin ETF DCA" },
global_etf_rotation: { zh: "全球 ETF 轮动", en: "Global ETF Rotation" },
- russell_1000_multi_factor_defensive: { zh: "罗素 1000 多因子防御", en: "Russell 1000 Multi-Factor Defensive" },
- mega_cap_leader_rotation_top50_balanced: { zh: "美股巨头 Top50 均衡轮动", en: "Mega Cap Leader Rotation Top50 Balanced" },
+ russell_top50_leader_rotation_aggressive: { zh: "罗素 Top50 领涨轮动(激进)", en: "Russell Top50 Leader Rotation Aggressive" },
hk_dividend_gold_defensive_rotation: { zh: "港股红利黄金防御轮动", en: "HK Dividend-Gold Defensive Rotation" },
hk_global_etf_tactical_rotation: { zh: "港股全球 ETF 战术轮动", en: "HK Global ETF Tactical Rotation" },
hk_low_vol_dividend_quality_snapshot: { zh: "港股低波红利质量快照", en: "HK Low-Vol Dividend Quality Snapshot" },
@@ -990,12 +988,7 @@ 切换摘要
maxRatio: "0.15",
allocations: { SCHD: 0.40, DGRO: 0.25, SGOV: 0.30, SPYI: 0.05 },
},
- russell_1000_multi_factor_defensive: {
- startUsd: 400000,
- maxRatio: "0.20",
- allocations: { SCHD: 0.45, DGRO: 0.30, SGOV: 0.25 },
- },
- mega_cap_leader_rotation_top50_balanced: {
+ russell_top50_leader_rotation_aggressive: {
startUsd: 300000,
maxRatio: "0.25",
allocations: { SCHD: 0.45, DGRO: 0.30, SGOV: 0.25 },
diff --git a/web/strategy-switch-console/page_asset.js b/web/strategy-switch-console/page_asset.js
index 04ec23c..fa39207 100644
--- a/web/strategy-switch-console/page_asset.js
+++ b/web/strategy-switch-console/page_asset.js
@@ -1,2 +1,2 @@
// Generated by scripts/sync_strategy_switch_page_asset.py; do not edit by hand.
-export const PAGE_HTML = "\n\n\n \n \n \n QuantRuntimeSettings Strategy Switch\n \n\n\n \n \n
策略切换
\n
选平台、目标账号和策略,一次执行完成切换。
\n
\n \n \n\n \n \n
初始化控制台\n
读取策略配置
\n
正在读取登录状态、账号配置和当前状态。
\n
\n
\n \n\n \n \n\n \n \n
\n 当前平台\n \n
\n\n
登录后查看账号配置。
\n\n
\n\n
\n
\n
登录后才可执行切换。
\n
\n
\n
\n\n \n \n \n\n \n\n\n";
+export const PAGE_HTML = "\n\n\n \n \n \n QuantRuntimeSettings Strategy Switch\n \n\n\n \n \n
策略切换
\n
选平台、目标账号和策略,一次执行完成切换。
\n
\n \n \n\n \n \n
初始化控制台\n
读取策略配置
\n
正在读取登录状态、账号配置和当前状态。
\n
\n
\n \n\n \n \n\n \n \n
\n 当前平台\n \n
\n\n
登录后查看账号配置。
\n\n
\n\n
\n
\n
登录后才可执行切换。
\n
\n
\n
\n\n \n \n \n\n \n\n\n";
diff --git a/web/strategy-switch-console/strategy-profiles.example.json b/web/strategy-switch-console/strategy-profiles.example.json
index eb98ae6..3270970 100644
--- a/web/strategy-switch-console/strategy-profiles.example.json
+++ b/web/strategy-switch-console/strategy-profiles.example.json
@@ -46,18 +46,10 @@
"runtime_enabled": true
},
{
- "profile": "russell_1000_multi_factor_defensive",
- "label": "Russell 1000 Multi-Factor Defensive",
- "label_en": "Russell 1000 Multi-Factor Defensive",
- "label_zh": "罗素 1000 多因子防御",
- "domain": "us_equity",
- "runtime_enabled": true
- },
- {
- "profile": "mega_cap_leader_rotation_top50_balanced",
- "label": "Mega Cap Leader Rotation Top50 Balanced",
- "label_en": "Mega Cap Leader Rotation Top50 Balanced",
- "label_zh": "美股巨头 Top50 均衡轮动",
+ "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
},
diff --git a/web/strategy-switch-console/strategy_profiles_asset.js b/web/strategy-switch-console/strategy_profiles_asset.js
index ccbbb61..bfb926e 100644
--- a/web/strategy-switch-console/strategy_profiles_asset.js
+++ b/web/strategy-switch-console/strategy_profiles_asset.js
@@ -1,2 +1,2 @@
// Generated by scripts/sync_strategy_switch_page_asset.py; do not edit by hand.
-export const DEFAULT_STRATEGY_PROFILES = [{"profile": "tqqq_growth_income", "label": "TQQQ Growth Income", "label_en": "TQQQ Growth Income", "label_zh": "TQQQ 增长收益", "domain": "us_equity", "runtime_enabled": true}, {"profile": "soxl_soxx_trend_income", "label": "SOXL/SOXX Semiconductor Trend Income", "label_en": "SOXL/SOXX Semiconductor Trend Income", "label_zh": "SOXL/SOXX 半导体趋势收益", "domain": "us_equity", "runtime_enabled": true}, {"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"}, {"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"}, {"profile": "global_etf_rotation", "label": "Global ETF Rotation", "label_en": "Global ETF Rotation", "label_zh": "全球 ETF 轮动", "domain": "us_equity", "runtime_enabled": true}, {"profile": "russell_1000_multi_factor_defensive", "label": "Russell 1000 Multi-Factor Defensive", "label_en": "Russell 1000 Multi-Factor Defensive", "label_zh": "罗素 1000 多因子防御", "domain": "us_equity", "runtime_enabled": true}, {"profile": "mega_cap_leader_rotation_top50_balanced", "label": "Mega Cap Leader Rotation Top50 Balanced", "label_en": "Mega Cap Leader Rotation Top50 Balanced", "label_zh": "美股巨头 Top50 均衡轮动", "domain": "us_equity", "runtime_enabled": true}, {"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}, {"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}, {"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}];
+export const DEFAULT_STRATEGY_PROFILES = [{"profile": "tqqq_growth_income", "label": "TQQQ Growth Income", "label_en": "TQQQ Growth Income", "label_zh": "TQQQ 增长收益", "domain": "us_equity", "runtime_enabled": true}, {"profile": "soxl_soxx_trend_income", "label": "SOXL/SOXX Semiconductor Trend Income", "label_en": "SOXL/SOXX Semiconductor Trend Income", "label_zh": "SOXL/SOXX 半导体趋势收益", "domain": "us_equity", "runtime_enabled": true}, {"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"}, {"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"}, {"profile": "global_etf_rotation", "label": "Global ETF Rotation", "label_en": "Global ETF Rotation", "label_zh": "全球 ETF 轮动", "domain": "us_equity", "runtime_enabled": true}, {"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}, {"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}, {"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}, {"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}];