Update engine.py

This commit is contained in:
1122455801 2019-05-17 12:26:55 +08:00
parent 1a583779d3
commit eda98b858b

View File

@ -46,10 +46,14 @@ class AlgoEngine(BaseEngine):
from .algos.twap_algo import TwapAlgo from .algos.twap_algo import TwapAlgo
from .algos.iceberg_algo import IcebergAlgo from .algos.iceberg_algo import IcebergAlgo
from .algos.sniper_algo import SniperAlgo from .algos.sniper_algo import SniperAlgo
from .algos.stop_algo import StopAlgo
from .algos.best_limit_algo import BestLimitAlgo
self.add_algo_template(TwapAlgo) self.add_algo_template(TwapAlgo)
self.add_algo_template(IcebergAlgo) self.add_algo_template(IcebergAlgo)
self.add_algo_template(SniperAlgo) self.add_algo_template(SniperAlgo)
self.add_algo_template(StopAlgo)
self.add_algo_template(BestLimitAlgo)
def add_algo_template(self, template: AlgoTemplate): def add_algo_template(self, template: AlgoTemplate):
"""""" """"""