feat(backtest): cta_engine BacktestingEngine wrapper
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user