From 69642716987abba26cd330b7aa089cd911849ec6 Mon Sep 17 00:00:00 2001 From: 1122455801 Date: Sun, 26 May 2019 11:05:54 +0800 Subject: [PATCH] Update engine.py --- vnpy/app/algo_trading/engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vnpy/app/algo_trading/engine.py b/vnpy/app/algo_trading/engine.py index 81949739..1bfbd20c 100644 --- a/vnpy/app/algo_trading/engine.py +++ b/vnpy/app/algo_trading/engine.py @@ -48,12 +48,14 @@ class AlgoEngine(BaseEngine): from .algos.sniper_algo import SniperAlgo from .algos.stop_algo import StopAlgo from .algos.best_limit_algo import BestLimitAlgo + from .algos.grid_algo import GridAlgo 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) + self.add_algo_template(GridAlgo) def add_algo_template(self, template: AlgoTemplate): """"""