From 72d2ef95d0c7d5082d964aa3f479bff2c69f5af3 Mon Sep 17 00:00:00 2001 From: 1122455801 Date: Wed, 5 Jun 2019 13:55:51 +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 a3dc7740..fb227231 100644 --- a/vnpy/app/algo_trading/engine.py +++ b/vnpy/app/algo_trading/engine.py @@ -50,6 +50,7 @@ class AlgoEngine(BaseEngine): from .algos.best_limit_algo import BestLimitAlgo from .algos.grid_algo import GridAlgo from .algos.dma_algo import DmaAlgo + from .algos.arbitrage_algo import ArbitrageAlgo self.add_algo_template(TwapAlgo) self.add_algo_template(IcebergAlgo) @@ -58,6 +59,7 @@ class AlgoEngine(BaseEngine): self.add_algo_template(BestLimitAlgo) self.add_algo_template(GridAlgo) self.add_algo_template(DmaAlgo) + self.add_algo_template(ArbitrageAlgo) def add_algo_template(self, template: AlgoTemplate): """"""