From 7c8d47a855441712c94a2aaa115a08622a0b0373 Mon Sep 17 00:00:00 2001 From: hmo Date: Sat, 15 Aug 2026 03:05:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20hk=5Fbacktest=E5=8A=A0MoFin=E6=A0=B9?= =?UTF-8?q?=E8=B7=AF=E5=BE=84import=20strategy=5Flab.portfolio=5Fsim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/hk_backtest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/profile-scripts/hk_backtest.py b/deploy/profile-scripts/hk_backtest.py index 64af4740..d950ddd2 100644 --- a/deploy/profile-scripts/hk_backtest.py +++ b/deploy/profile-scripts/hk_backtest.py @@ -20,6 +20,7 @@ from datetime import datetime, timedelta import pandas as pd sys.path.insert(0, "/home/hmo/MoFin/deploy/profile-scripts") +sys.path.insert(0, "/home/hmo/MoFin") # strategy_lab.portfolio_sim(纯函数复用) from hk_strategies import HK_STRATEGIES, get_hk_strategy PANEL = "/tmp/panel_12d_hk.pkl"