Update stop_algo.py

This commit is contained in:
1122455801 2019-05-30 16:04:58 +08:00
parent 1a8a167ba1
commit ef5848934f

View File

@ -85,7 +85,7 @@ class StopAlgo(AlgoTemplate):
if tick.limit_down: if tick.limit_down:
price = max(price, tick.limit_down) price = max(price, tick.limit_down)
self.vt_orderid = self.buy( self.vt_orderid = self.sell(
self.vt_symbol, self.vt_symbol,
price, price,
self.volume, self.volume,