From eda98b858ba694451c1206e9e4aea952e83da5da Mon Sep 17 00:00:00 2001 From: 1122455801 Date: Fri, 17 May 2019 12:26:55 +0800 Subject: [PATCH] Update engine.py --- vnpy/app/algo_trading/engine.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vnpy/app/algo_trading/engine.py b/vnpy/app/algo_trading/engine.py index 9429e06a..81949739 100644 --- a/vnpy/app/algo_trading/engine.py +++ b/vnpy/app/algo_trading/engine.py @@ -46,10 +46,14 @@ class AlgoEngine(BaseEngine): from .algos.twap_algo import TwapAlgo from .algos.iceberg_algo import IcebergAlgo from .algos.sniper_algo import SniperAlgo + from .algos.stop_algo import StopAlgo + from .algos.best_limit_algo import BestLimitAlgo self.add_algo_template(TwapAlgo) self.add_algo_template(IcebergAlgo) self.add_algo_template(SniperAlgo) + self.add_algo_template(StopAlgo) + self.add_algo_template(BestLimitAlgo) def add_algo_template(self, template: AlgoTemplate): """"""