Skip to content

Commit

Permalink
Merge pull request vnpy#2421 from javenwang/import-backtesting
Browse files Browse the repository at this point in the history
do not import backtesting
  • Loading branch information
vnpy authored Apr 13, 2020
2 parents 2403975 + eed9f83 commit f1f86b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions vnpy/app/cta_backtester/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
from vnpy.trader.object import HistoryRequest
from vnpy.trader.rqdata import rqdata_client
from vnpy.trader.database import database_manager
from vnpy.app.cta_strategy import (
CtaTemplate,
BacktestingEngine,
OptimizationSetting
)
from vnpy.app.cta_strategy import CtaTemplate
from vnpy.app.cta_strategy.backtesting import BacktestingEngine, OptimizationSetting

APP_NAME = "CtaBacktester"

Expand Down
1 change: 0 additions & 1 deletion vnpy/app/cta_strategy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from .base import APP_NAME, StopOrder
from .engine import CtaEngine
from .backtesting import BacktestingEngine, OptimizationSetting
from .template import CtaTemplate, CtaSignal, TargetPosTemplate


Expand Down

0 comments on commit f1f86b4

Please sign in to comment.