From 8684e4c15ce9269e1a867a03eb0c3811fe7dcf4a Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Thu, 11 Apr 2019 14:04:35 +0800 Subject: [PATCH] [Fix]add traceback import --- vnpy/app/cta_backtester/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vnpy/app/cta_backtester/engine.py b/vnpy/app/cta_backtester/engine.py index 621330d2..adcab59d 100644 --- a/vnpy/app/cta_backtester/engine.py +++ b/vnpy/app/cta_backtester/engine.py @@ -1,5 +1,6 @@ import os import importlib +import traceback from datetime import datetime from threading import Thread from pathlib import Path @@ -8,8 +9,7 @@ from vnpy.event import Event, EventEngine from vnpy.trader.engine import BaseEngine, MainEngine from vnpy.app.cta_strategy import ( CtaTemplate, - BacktestingEngine, - OptimizationSetting + BacktestingEngine )