请教交易函数

策略中用buy(lots,price),lots代表买的手数,后面平仓用sell(0,price)还是sell(lots,price)?

0表示全平lots就是具体手数。根据你策略要求来看