老师您好,每次平仓只平持仓的一半如何写代码Buy(my_lots,MyPrice); Sell(my_lots/2,MyExitPrice);这个代码回测不是每次持仓的一半想写个每次平仓只平持仓的一半,怎么改?