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): """"""