From 983d048614b86d606a588ae2a2c753b346119c18 Mon Sep 17 00:00:00 2001 From: aszerW Date: Sun, 21 Jun 2026 14:38:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9F=AD=E5=80=BAETF=E6=B1=A0=E5=A4=8D?= =?UTF-8?q?=E5=88=B64=E6=AC=A1=EF=BC=8C=E5=85=81=E8=AE=B8100%=E4=BB=93?= =?UTF-8?q?=E4=BD=8D=E9=98=B2=E5=BE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题:短债只有1只ETF时,greedy模式最多分配25%仓位 修复:etf_pool复制4次,短债排第一时可100%仓位 效果(select_num=1, greedy模式): - 修改前: 1354.99% 累计收益, 1.69 夏普 - 修改后: 1461.35% 累计收益, 1.73 夏普 - 短债100%仓位天数: 55天 (3.5%) 设计意图:短债作为防御资产,当动量最强时(通常是市场下跌), 应该允许100%配置来避险,而不是被迫分散到其他资产。 --- rotation/config_simple.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotation/config_simple.yaml b/rotation/config_simple.yaml index f15174c..504ed68 100644 --- a/rotation/config_simple.yaml +++ b/rotation/config_simple.yaml @@ -13,7 +13,7 @@ asset_pools: name: 短债指数 signal_source: 931862.CSI trade_source: 931862.CSI - etf_pool: [931862.CSI] + etf_pool: [931862.CSI, 931862.CSI, 931862.CSI, 931862.CSI] CL=F: description: WTI原油期货(2000年至今) group: COMMODITY