From ac022020c74af3eef4f1cd27ddc160a46603681b Mon Sep 17 00:00:00 2001 From: aszerW Date: Sun, 21 Jun 2026 13:38:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=95=B4=E7=90=86rotation=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将分析/测试/实验脚本从核心目录移出: - enrich_etf_data.py → scripts/ - oil_tracking.py → analysis/ - tracking_error_full.py → analysis/ - tracking_error_validation.py → analysis/ - test_start_year_analysis.py → experiments/ - experiment_select_num.py → experiments/ rotation/ 目录现在只保留核心策略代码: - simple_rotation.py (策略主逻辑) - config_loader.py (配置加载) - config_simple.yaml (配置文件) - daily_scheduler.py (调度器) --- rotation/{ => analysis}/oil_tracking.py | 0 rotation/{ => analysis}/tracking_error_full.py | 0 rotation/{ => analysis}/tracking_error_validation.py | 0 rotation/{ => experiments}/experiment_select_num.py | 0 rotation/{ => experiments}/test_start_year_analysis.py | 0 rotation/{ => scripts}/enrich_etf_data.py | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename rotation/{ => analysis}/oil_tracking.py (100%) rename rotation/{ => analysis}/tracking_error_full.py (100%) rename rotation/{ => analysis}/tracking_error_validation.py (100%) rename rotation/{ => experiments}/experiment_select_num.py (100%) rename rotation/{ => experiments}/test_start_year_analysis.py (100%) rename rotation/{ => scripts}/enrich_etf_data.py (100%) diff --git a/rotation/oil_tracking.py b/rotation/analysis/oil_tracking.py similarity index 100% rename from rotation/oil_tracking.py rename to rotation/analysis/oil_tracking.py diff --git a/rotation/tracking_error_full.py b/rotation/analysis/tracking_error_full.py similarity index 100% rename from rotation/tracking_error_full.py rename to rotation/analysis/tracking_error_full.py diff --git a/rotation/tracking_error_validation.py b/rotation/analysis/tracking_error_validation.py similarity index 100% rename from rotation/tracking_error_validation.py rename to rotation/analysis/tracking_error_validation.py diff --git a/rotation/experiment_select_num.py b/rotation/experiments/experiment_select_num.py similarity index 100% rename from rotation/experiment_select_num.py rename to rotation/experiments/experiment_select_num.py diff --git a/rotation/test_start_year_analysis.py b/rotation/experiments/test_start_year_analysis.py similarity index 100% rename from rotation/test_start_year_analysis.py rename to rotation/experiments/test_start_year_analysis.py diff --git a/rotation/enrich_etf_data.py b/rotation/scripts/enrich_etf_data.py similarity index 100% rename from rotation/enrich_etf_data.py rename to rotation/scripts/enrich_etf_data.py