咨詢(xún)內(nèi)容:
大致就是每次運(yùn)行到下面這個(gè)timer function 就會(huì)報(bào)錯(cuò)
def stop_order(context):
if p < 2000:
return
for account in []:
buy_open(context.s, 0, 1, account=account)
print("一些簡(jiǎn)單變量更新“)
killtimer(stop_order)
用最新的beta是報(bào)錯(cuò) order_status()無(wú)響應(yīng), 關(guān)鍵是我這個(gè)策略就沒(méi)有定義order_status()....
根據(jù)自己的輸出可以確定stop_order()里的每一行。
只有實(shí)盤(pán)的時(shí)候才有這個(gè)問(wèn)題,模擬沒(méi)事。
試著調(diào)大order_status()響應(yīng)時(shí)間也不行
?
?來(lái)源: www.tumamayizhan.com
金字塔資深技術(shù):
這里賬戶(hù)死循環(huán)了?
技術(shù)交流:
對(duì)的
補(bǔ)充內(nèi)容 (2022-2-25 14:32):
這個(gè)測(cè)略變紅 要重啟
?
技術(shù)交流:
不要去死循環(huán)。。。