[Fix]add traceback import

This commit is contained in:
vn.py 2019-04-11 14:04:35 +08:00
parent bee61d79b0
commit 8684e4c15c

View File

@ -1,5 +1,6 @@
import os import os
import importlib import importlib
import traceback
from datetime import datetime from datetime import datetime
from threading import Thread from threading import Thread
from pathlib import Path from pathlib import Path
@ -8,8 +9,7 @@ from vnpy.event import Event, EventEngine
from vnpy.trader.engine import BaseEngine, MainEngine from vnpy.trader.engine import BaseEngine, MainEngine
from vnpy.app.cta_strategy import ( from vnpy.app.cta_strategy import (
CtaTemplate, CtaTemplate,
BacktestingEngine, BacktestingEngine
OptimizationSetting
) )