代码中有
time.sleep(5)
是不是导致了模拟中出现收盘后还在交易?
实盘会怎么样?
1.不建议代码中使用 time.sleep()函数它可能引发这些问题https://www.shinnytech.com/question/7973/answer/7975/