diff --git a/config/settings.py b/archive/config/settings.py similarity index 100% rename from config/settings.py rename to archive/config/settings.py diff --git a/framework/__init__.py b/archive/framework/__init__.py similarity index 100% rename from framework/__init__.py rename to archive/framework/__init__.py diff --git a/framework/config/__init__.py b/archive/framework/config/__init__.py similarity index 100% rename from framework/config/__init__.py rename to archive/framework/config/__init__.py diff --git a/framework/data/__init__.py b/archive/framework/data/__init__.py similarity index 100% rename from framework/data/__init__.py rename to archive/framework/data/__init__.py diff --git a/framework/data/__pycache__/__init__.cpython-312.pyc b/archive/framework/data/__pycache__/__init__.cpython-312.pyc similarity index 100% rename from framework/data/__pycache__/__init__.cpython-312.pyc rename to archive/framework/data/__pycache__/__init__.cpython-312.pyc diff --git a/framework/execution/__init__.py b/archive/framework/execution/__init__.py similarity index 100% rename from framework/execution/__init__.py rename to archive/framework/execution/__init__.py diff --git a/framework/factors/__init__.py b/archive/framework/factors/__init__.py similarity index 100% rename from framework/factors/__init__.py rename to archive/framework/factors/__init__.py diff --git a/framework/risk/__init__.py b/archive/framework/risk/__init__.py similarity index 100% rename from framework/risk/__init__.py rename to archive/framework/risk/__init__.py diff --git a/framework/signals/__init__.py b/archive/framework/signals/__init__.py similarity index 100% rename from framework/signals/__init__.py rename to archive/framework/signals/__init__.py diff --git a/framework/strategy/__init__.py b/archive/framework/strategy/__init__.py similarity index 100% rename from framework/strategy/__init__.py rename to archive/framework/strategy/__init__.py diff --git a/framework/tests/test_execution.py b/archive/framework/tests/test_execution.py similarity index 100% rename from framework/tests/test_execution.py rename to archive/framework/tests/test_execution.py diff --git a/framework/tests/test_factors.py b/archive/framework/tests/test_factors.py similarity index 100% rename from framework/tests/test_factors.py rename to archive/framework/tests/test_factors.py diff --git a/framework/tests/test_integration.py b/archive/framework/tests/test_integration.py similarity index 100% rename from framework/tests/test_integration.py rename to archive/framework/tests/test_integration.py diff --git a/framework/tests/test_risk.py b/archive/framework/tests/test_risk.py similarity index 100% rename from framework/tests/test_risk.py rename to archive/framework/tests/test_risk.py diff --git a/framework/tests/test_signals.py b/archive/framework/tests/test_signals.py similarity index 100% rename from framework/tests/test_signals.py rename to archive/framework/tests/test_signals.py diff --git a/framework/tests/test_strategy.py b/archive/framework/tests/test_strategy.py similarity index 100% rename from framework/tests/test_strategy.py rename to archive/framework/tests/test_strategy.py diff --git a/framework_v2/ALIGNMENT_GUIDE.md b/archive/framework_v2/ALIGNMENT_GUIDE.md similarity index 100% rename from framework_v2/ALIGNMENT_GUIDE.md rename to archive/framework_v2/ALIGNMENT_GUIDE.md diff --git a/framework_v2/ALIGNMENT_SCHEMA_INTEGRATION.md b/archive/framework_v2/ALIGNMENT_SCHEMA_INTEGRATION.md similarity index 100% rename from framework_v2/ALIGNMENT_SCHEMA_INTEGRATION.md rename to archive/framework_v2/ALIGNMENT_SCHEMA_INTEGRATION.md diff --git a/framework_v2/DATA_ARCHITECTURE.md b/archive/framework_v2/DATA_ARCHITECTURE.md similarity index 100% rename from framework_v2/DATA_ARCHITECTURE.md rename to archive/framework_v2/DATA_ARCHITECTURE.md diff --git a/framework_v2/DATA_FLOW_DEMO.md b/archive/framework_v2/DATA_FLOW_DEMO.md similarity index 100% rename from framework_v2/DATA_FLOW_DEMO.md rename to archive/framework_v2/DATA_FLOW_DEMO.md diff --git a/framework_v2/END_TO_END_TEST_REPORT.md b/archive/framework_v2/END_TO_END_TEST_REPORT.md similarity index 100% rename from framework_v2/END_TO_END_TEST_REPORT.md rename to archive/framework_v2/END_TO_END_TEST_REPORT.md diff --git a/framework_v2/FLASK_API_FETCHER_ARCHITECTURE.md b/archive/framework_v2/FLASK_API_FETCHER_ARCHITECTURE.md similarity index 100% rename from framework_v2/FLASK_API_FETCHER_ARCHITECTURE.md rename to archive/framework_v2/FLASK_API_FETCHER_ARCHITECTURE.md diff --git a/framework_v2/FLASK_API_FETCHER_GUIDE.md b/archive/framework_v2/FLASK_API_FETCHER_GUIDE.md similarity index 100% rename from framework_v2/FLASK_API_FETCHER_GUIDE.md rename to archive/framework_v2/FLASK_API_FETCHER_GUIDE.md diff --git a/framework_v2/README.md b/archive/framework_v2/README.md similarity index 100% rename from framework_v2/README.md rename to archive/framework_v2/README.md diff --git a/framework_v2/TRADING_CALENDAR_API_INTEGRATION.md b/archive/framework_v2/TRADING_CALENDAR_API_INTEGRATION.md similarity index 100% rename from framework_v2/TRADING_CALENDAR_API_INTEGRATION.md rename to archive/framework_v2/TRADING_CALENDAR_API_INTEGRATION.md diff --git a/framework_v2/__init__.py b/archive/framework_v2/__init__.py similarity index 100% rename from framework_v2/__init__.py rename to archive/framework_v2/__init__.py diff --git a/framework_v2/config/CONFIG_DESIGN.md b/archive/framework_v2/config/CONFIG_DESIGN.md similarity index 100% rename from framework_v2/config/CONFIG_DESIGN.md rename to archive/framework_v2/config/CONFIG_DESIGN.md diff --git a/framework_v2/config/__init__.py b/archive/framework_v2/config/__init__.py similarity index 100% rename from framework_v2/config/__init__.py rename to archive/framework_v2/config/__init__.py diff --git a/framework_v2/config/loader.py b/archive/framework_v2/config/loader.py similarity index 100% rename from framework_v2/config/loader.py rename to archive/framework_v2/config/loader.py diff --git a/framework_v2/config/rotation_global.yaml b/archive/framework_v2/config/rotation_global.yaml similarity index 100% rename from framework_v2/config/rotation_global.yaml rename to archive/framework_v2/config/rotation_global.yaml diff --git a/framework_v2/config/schemas.py b/archive/framework_v2/config/schemas.py similarity index 100% rename from framework_v2/config/schemas.py rename to archive/framework_v2/config/schemas.py diff --git a/framework_v2/core/__init__.py b/archive/framework_v2/core/__init__.py similarity index 100% rename from framework_v2/core/__init__.py rename to archive/framework_v2/core/__init__.py diff --git a/framework_v2/core/data.py b/archive/framework_v2/core/data.py similarity index 100% rename from framework_v2/core/data.py rename to archive/framework_v2/core/data.py diff --git a/framework_v2/core/executor.py b/archive/framework_v2/core/executor.py similarity index 100% rename from framework_v2/core/executor.py rename to archive/framework_v2/core/executor.py diff --git a/framework_v2/core/factor.py b/archive/framework_v2/core/factor.py similarity index 100% rename from framework_v2/core/factor.py rename to archive/framework_v2/core/factor.py diff --git a/framework_v2/core/signal.py b/archive/framework_v2/core/signal.py similarity index 100% rename from framework_v2/core/signal.py rename to archive/framework_v2/core/signal.py diff --git a/framework_v2/core/strategy.py b/archive/framework_v2/core/strategy.py similarity index 100% rename from framework_v2/core/strategy.py rename to archive/framework_v2/core/strategy.py diff --git a/framework_v2/scripts/backtest_global_rotation.py b/archive/framework_v2/scripts/backtest_global_rotation.py similarity index 100% rename from framework_v2/scripts/backtest_global_rotation.py rename to archive/framework_v2/scripts/backtest_global_rotation.py diff --git a/framework_v2/scripts/compare_index_vs_etf_returns.py b/archive/framework_v2/scripts/compare_index_vs_etf_returns.py similarity index 100% rename from framework_v2/scripts/compare_index_vs_etf_returns.py rename to archive/framework_v2/scripts/compare_index_vs_etf_returns.py diff --git a/framework_v2/scripts/convert_to_viewer_csv.py b/archive/framework_v2/scripts/convert_to_viewer_csv.py similarity index 100% rename from framework_v2/scripts/convert_to_viewer_csv.py rename to archive/framework_v2/scripts/convert_to_viewer_csv.py diff --git a/framework_v2/scripts/export_backtest_detail.py b/archive/framework_v2/scripts/export_backtest_detail.py similarity index 100% rename from framework_v2/scripts/export_backtest_detail.py rename to archive/framework_v2/scripts/export_backtest_detail.py diff --git a/framework_v2/scripts/measure_gap_impact.py b/archive/framework_v2/scripts/measure_gap_impact.py similarity index 100% rename from framework_v2/scripts/measure_gap_impact.py rename to archive/framework_v2/scripts/measure_gap_impact.py diff --git a/framework_v2/scripts/verify_cum_return_fix.py b/archive/framework_v2/scripts/verify_cum_return_fix.py similarity index 100% rename from framework_v2/scripts/verify_cum_return_fix.py rename to archive/framework_v2/scripts/verify_cum_return_fix.py diff --git a/framework_v2/scripts/verify_etf_hfq_fix.py b/archive/framework_v2/scripts/verify_etf_hfq_fix.py similarity index 100% rename from framework_v2/scripts/verify_etf_hfq_fix.py rename to archive/framework_v2/scripts/verify_etf_hfq_fix.py diff --git a/framework_v2/shared/__init__.py b/archive/framework_v2/shared/__init__.py similarity index 100% rename from framework_v2/shared/__init__.py rename to archive/framework_v2/shared/__init__.py diff --git a/framework_v2/shared/data/__init__.py b/archive/framework_v2/shared/data/__init__.py similarity index 100% rename from framework_v2/shared/data/__init__.py rename to archive/framework_v2/shared/data/__init__.py diff --git a/framework_v2/shared/data/alignment.py b/archive/framework_v2/shared/data/alignment.py similarity index 100% rename from framework_v2/shared/data/alignment.py rename to archive/framework_v2/shared/data/alignment.py diff --git a/framework_v2/shared/data/flask_api_fetcher.py b/archive/framework_v2/shared/data/flask_api_fetcher.py similarity index 100% rename from framework_v2/shared/data/flask_api_fetcher.py rename to archive/framework_v2/shared/data/flask_api_fetcher.py diff --git a/framework_v2/shared/data/schemas.py b/archive/framework_v2/shared/data/schemas.py similarity index 100% rename from framework_v2/shared/data/schemas.py rename to archive/framework_v2/shared/data/schemas.py diff --git a/framework_v2/shared/factors/__init__.py b/archive/framework_v2/shared/factors/__init__.py similarity index 100% rename from framework_v2/shared/factors/__init__.py rename to archive/framework_v2/shared/factors/__init__.py diff --git a/framework_v2/shared/factors/momentum.py b/archive/framework_v2/shared/factors/momentum.py similarity index 100% rename from framework_v2/shared/factors/momentum.py rename to archive/framework_v2/shared/factors/momentum.py diff --git a/framework_v2/shared/factors/talib_base.py b/archive/framework_v2/shared/factors/talib_base.py similarity index 100% rename from framework_v2/shared/factors/talib_base.py rename to archive/framework_v2/shared/factors/talib_base.py diff --git a/framework_v2/strategies/rotation/__init__.py b/archive/framework_v2/strategies/rotation/__init__.py similarity index 100% rename from framework_v2/strategies/rotation/__init__.py rename to archive/framework_v2/strategies/rotation/__init__.py diff --git a/framework_v2/strategies/rotation/config_simple.yaml b/archive/framework_v2/strategies/rotation/config_simple.yaml similarity index 100% rename from framework_v2/strategies/rotation/config_simple.yaml rename to archive/framework_v2/strategies/rotation/config_simple.yaml diff --git a/framework_v2/strategies/rotation/rotation.py b/archive/framework_v2/strategies/rotation/rotation.py similarity index 100% rename from framework_v2/strategies/rotation/rotation.py rename to archive/framework_v2/strategies/rotation/rotation.py diff --git a/framework_v2/tests/__init__.py b/archive/framework_v2/tests/__init__.py similarity index 100% rename from framework_v2/tests/__init__.py rename to archive/framework_v2/tests/__init__.py diff --git a/framework_v2/tests/test_alignment.py b/archive/framework_v2/tests/test_alignment.py similarity index 100% rename from framework_v2/tests/test_alignment.py rename to archive/framework_v2/tests/test_alignment.py diff --git a/framework_v2/tests/test_config.py b/archive/framework_v2/tests/test_config.py similarity index 100% rename from framework_v2/tests/test_config.py rename to archive/framework_v2/tests/test_config.py diff --git a/framework_v2/tests/test_end_to_end.py b/archive/framework_v2/tests/test_end_to_end.py similarity index 100% rename from framework_v2/tests/test_end_to_end.py rename to archive/framework_v2/tests/test_end_to_end.py diff --git a/framework_v2/tests/test_flask_api_fetcher.py b/archive/framework_v2/tests/test_flask_api_fetcher.py similarity index 100% rename from framework_v2/tests/test_flask_api_fetcher.py rename to archive/framework_v2/tests/test_flask_api_fetcher.py diff --git a/framework_v2/tests/test_flat_asset_pool.py b/archive/framework_v2/tests/test_flat_asset_pool.py similarity index 100% rename from framework_v2/tests/test_flat_asset_pool.py rename to archive/framework_v2/tests/test_flat_asset_pool.py diff --git a/framework_v2/tests/test_momentum_parity.py b/archive/framework_v2/tests/test_momentum_parity.py similarity index 100% rename from framework_v2/tests/test_momentum_parity.py rename to archive/framework_v2/tests/test_momentum_parity.py diff --git a/scripts/export_backtest_detail.py b/archive/scripts/export_backtest_detail.py similarity index 100% rename from scripts/export_backtest_detail.py rename to archive/scripts/export_backtest_detail.py diff --git a/scripts/generate_legacy_report.py b/archive/scripts/generate_legacy_report.py similarity index 100% rename from scripts/generate_legacy_report.py rename to archive/scripts/generate_legacy_report.py diff --git a/scripts/get_trading_calendar.py b/archive/scripts/get_trading_calendar.py similarity index 100% rename from scripts/get_trading_calendar.py rename to archive/scripts/get_trading_calendar.py diff --git a/scripts/run_rotation.py b/archive/scripts/run_rotation.py similarity index 100% rename from scripts/run_rotation.py rename to archive/scripts/run_rotation.py diff --git a/compare_three_versions.py b/archive/single_files/compare_three_versions.py similarity index 100% rename from compare_three_versions.py rename to archive/single_files/compare_three_versions.py diff --git a/compare_v1_v2.py b/archive/single_files/compare_v1_v2.py similarity index 100% rename from compare_v1_v2.py rename to archive/single_files/compare_v1_v2.py diff --git a/run_rotation.py b/archive/single_files/run_rotation_v1.py similarity index 100% rename from run_rotation.py rename to archive/single_files/run_rotation_v1.py diff --git a/run_us_rotation.py b/archive/single_files/run_us_rotation.py similarity index 100% rename from run_us_rotation.py rename to archive/single_files/run_us_rotation.py diff --git a/test_api_dates.py b/archive/single_files/test_api_dates.py similarity index 100% rename from test_api_dates.py rename to archive/single_files/test_api_dates.py diff --git a/strategies/__init__.py b/archive/strategies/__init__.py similarity index 100% rename from strategies/__init__.py rename to archive/strategies/__init__.py diff --git a/strategies/base.py b/archive/strategies/base.py similarity index 100% rename from strategies/base.py rename to archive/strategies/base.py diff --git a/strategies/rotation/__init__.py b/archive/strategies/rotation/__init__.py similarity index 100% rename from strategies/rotation/__init__.py rename to archive/strategies/rotation/__init__.py diff --git a/strategies/rotation/config.yaml b/archive/strategies/rotation/config.yaml similarity index 100% rename from strategies/rotation/config.yaml rename to archive/strategies/rotation/config.yaml diff --git a/strategies/rotation/strategy.py b/archive/strategies/rotation/strategy.py similarity index 100% rename from strategies/rotation/strategy.py rename to archive/strategies/rotation/strategy.py diff --git a/strategies/shared/__init__.py b/archive/strategies/shared/__init__.py similarity index 100% rename from strategies/shared/__init__.py rename to archive/strategies/shared/__init__.py diff --git a/strategies/shared/data/__init__.py b/archive/strategies/shared/data/__init__.py similarity index 100% rename from strategies/shared/data/__init__.py rename to archive/strategies/shared/data/__init__.py diff --git a/strategies/shared/data/sources.py b/archive/strategies/shared/data/sources.py similarity index 100% rename from strategies/shared/data/sources.py rename to archive/strategies/shared/data/sources.py diff --git a/strategies/shared/factors/momentum.py b/archive/strategies/shared/factors/momentum.py similarity index 100% rename from strategies/shared/factors/momentum.py rename to archive/strategies/shared/factors/momentum.py diff --git a/strategies/shared/risk/controls.py b/archive/strategies/shared/risk/controls.py similarity index 100% rename from strategies/shared/risk/controls.py rename to archive/strategies/shared/risk/controls.py diff --git a/strategies/shared/signals/selectors.py b/archive/strategies/shared/signals/selectors.py similarity index 100% rename from strategies/shared/signals/selectors.py rename to archive/strategies/shared/signals/selectors.py diff --git a/strategies/us_rotation/__init__.py b/archive/strategies/us_rotation/__init__.py similarity index 100% rename from strategies/us_rotation/__init__.py rename to archive/strategies/us_rotation/__init__.py diff --git a/strategies/us_rotation/config.yaml b/archive/strategies/us_rotation/config.yaml similarity index 100% rename from strategies/us_rotation/config.yaml rename to archive/strategies/us_rotation/config.yaml diff --git a/strategies/us_rotation/strategy.py b/archive/strategies/us_rotation/strategy.py similarity index 100% rename from strategies/us_rotation/strategy.py rename to archive/strategies/us_rotation/strategy.py diff --git a/tests/test_flask_api_calendar.py b/archive/tests/test_flask_api_calendar.py similarity index 100% rename from tests/test_flask_api_calendar.py rename to archive/tests/test_flask_api_calendar.py diff --git a/tests/test_trading_calendar.py b/archive/tests/test_trading_calendar.py similarity index 100% rename from tests/test_trading_calendar.py rename to archive/tests/test_trading_calendar.py diff --git a/tests/verify_fix_result.py b/archive/tests/verify_fix_result.py similarity index 100% rename from tests/verify_fix_result.py rename to archive/tests/verify_fix_result.py diff --git a/tests/verify_mode_b.py b/archive/tests/verify_mode_b.py similarity index 100% rename from tests/verify_mode_b.py rename to archive/tests/verify_mode_b.py diff --git a/tests/verify_premium_calculation.py b/archive/tests/verify_premium_calculation.py similarity index 100% rename from tests/verify_premium_calculation.py rename to archive/tests/verify_premium_calculation.py diff --git a/visualization/__init__.py b/archive/visualization/__init__.py similarity index 100% rename from visualization/__init__.py rename to archive/visualization/__init__.py diff --git a/visualization/charts/__init__.py b/archive/visualization/charts/__init__.py similarity index 100% rename from visualization/charts/__init__.py rename to archive/visualization/charts/__init__.py diff --git a/visualization/charts/indicators.py b/archive/visualization/charts/indicators.py similarity index 100% rename from visualization/charts/indicators.py rename to archive/visualization/charts/indicators.py diff --git a/visualization/charts/kline.py b/archive/visualization/charts/kline.py similarity index 100% rename from visualization/charts/kline.py rename to archive/visualization/charts/kline.py diff --git a/visualization/report_generator/README.md b/archive/visualization/report_generator/README.md similarity index 100% rename from visualization/report_generator/README.md rename to archive/visualization/report_generator/README.md diff --git a/visualization/report_generator/__init__.py b/archive/visualization/report_generator/__init__.py similarity index 100% rename from visualization/report_generator/__init__.py rename to archive/visualization/report_generator/__init__.py diff --git a/visualization/report_generator/generate_report.py b/archive/visualization/report_generator/generate_report.py similarity index 100% rename from visualization/report_generator/generate_report.py rename to archive/visualization/report_generator/generate_report.py diff --git a/visualization/backtest_viewer.html b/visualization/backtest_viewer.html deleted file mode 100644 index c04f353..0000000 --- a/visualization/backtest_viewer.html +++ /dev/null @@ -1,714 +0,0 @@ - - - - - -ETF轮动策略回测回放器 - - - - -
-
ETF 轮动策略回测回放器
-
加载 backtest_detail.json 开始回放
- - -
-
- -
-
- - - - -
- -
- - - - - - - 速度: - - -
- -
- -
- -
- -
-
-

当日持仓

-
-
-
-

全部标的排名 (按动量排序)

-
- - - - - - - - - - - - - - - - - - -
#代码名称大类动量阈值指数价ETF价指数收益ETF收益溢价率持仓
-
-
-
- -
-
- - - -