在回测中好好的,在实盘中使用
target_pos2.set_target_volume(-t) target_pos1.set_target_volume(t)
就无法成交。为什么呀?
这个函数的下单是通过wait_update的