This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 770
Getting Disconnected At Certain Times #655
Comments
I spent some more time debugging this issue. The exception happens in
The exception is:
|
没有error级别的日志吗?你这看不到问题,只知道断开连接了,如果你想要断开连接不断重连的话,设置disconnectedEvent回调事件函数就可以了 |
Same here. Does anyone have an idea for us? |
Changing the TWS version to Stable fixed the issue for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm hitting a weird problem where ib_insync will disconnect immediately. The disconnect seems to happen starting at around 10:00-10:30 AM EST. It disconnects immediately after
ib.connect
. The connection works just fine up to that point in time.This only happens with TWS and I'm using
build 10.25.1n, Oct 30, 2023 4:01:24 PM
on Linux. If I start using the gateway, everything starts working again. This is annoying as I'm still interacting with TWS.Here is the connection code:
Here is the last part of
util.logToConsole('DEBUG')
:The text was updated successfully, but these errors were encountered: