Update engine.py

This commit is contained in:
1122455801 2019-06-05 13:55:51 +08:00
parent ad4471dfc4
commit 72d2ef95d0

View File

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