平多和开多, 都是调用tick.bid_price1 吗?因为代码模块都是只要direction.LONG, 都是调用
if self.direction == Direction.LONG:
if not self.vt_orderid:
self.buy_best_limit()
elif self.order_price != self.last_tick.bid_price_1:
self.cancel_all()
else:
if not self.vt_orderid:
self.sell_best_limit()
elif self.order_price != self.last_tick.ask_price_1:
self.cancel_all()
self.buy_best_limit, 这里开多和平多不是相反的操作吗?