Update stop_algo.py
This commit is contained in:
parent
1a8a167ba1
commit
ef5848934f
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user