feat(backtest): cta_engine BacktestingEngine wrapper

This commit is contained in:
2026-07-06 10:57:29 +08:00
parent e95ab91526
commit a4ce3aed85
3 changed files with 297 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import os
from pathlib import Path
# Add real vnpy source code to sys.path
_VNPY_SRC = os.path.join(os.path.dirname(__file__), "..", "..", "vnpy_v4.4.0")
_VNPY_SRC = os.path.join(os.path.dirname(__file__), "..", "vnpy_v4.4.0")
_VNPY_SRC = os.path.abspath(_VNPY_SRC)
if _VNPY_SRC not in sys.path:
sys.path.insert(0, _VNPY_SRC)