设置检查限价单时间为30s
This commit is contained in:
parent
e62ab751d8
commit
db47776764
@ -79,7 +79,7 @@ class RealTraderManager:
|
|||||||
# 检查限价单是否超时
|
# 检查限价单是否超时
|
||||||
if hasattr(Config, "RTM_ORDER_TIMEOUT"):
|
if hasattr(Config, "RTM_ORDER_TIMEOUT"):
|
||||||
try:
|
try:
|
||||||
schedule.every(10).seconds.do(
|
schedule.every(30).seconds.do(
|
||||||
run_threaded(self.check_limit_orders)
|
run_threaded(self.check_limit_orders)
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user