Update engine.py

This commit is contained in:
1122455801 2019-05-26 11:05:54 +08:00
parent afd488556a
commit 6964271698

View File

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