求助:
on_tick中打印log,发现同一时间会重复打印:
2020-09-14 09:56:58,594 INFO: arb_sim: 2020-09-14 09:56:58.594906 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,594 INFO: arb_sim: 2020-09-14 09:56:58.594906 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,610 INFO: arb_sim: 2020-09-14 09:56:58.610532 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,625 INFO: arb_sim: 2020-09-14 09:56:58.610532 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,625 INFO: arb_sim: 2020-09-14 09:56:58.610532 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,625 INFO: arb_sim: 2020-09-14 09:56:58.610532 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,625 INFO: arb_sim: 2020-09-14 09:56:58.610532 in ontick:等待时间到,当前仓位:近月0远月-1,本地委托{'CTP.3-1122803941_26'}
2020-09-14 09:56:58,636 INFO: 交易撤单失败,代码:26,信息:CTP:报单已全成交或已撤销,不能再撤
2020-09-14 09:56:58,636 INFO: 交易撤单失败,代码:26,信息:CTP:报单已全成交或已撤销,不能再撤
2020-09-14 09:56:58,636 INFO: 交易撤单失败,代码:26,信息:CTP:报单已全成交或已撤销,不能再撤
2020-09-14 09:56:58,636 INFO: 交易撤单失败,代码:26,信息:CTP:报单已全成交或已撤销,不能再撤
2020-09-14 09:56:58,636 INFO: 交易撤单失败,代码:26,信息:CTP:报单已全成交或已撤销,不能再撤