IbcAlpha / IBC

Automation of Interactive Brokers TWS. You can download the latest release here: https://github.com/ibcalpha/ibc/releases/latest
GNU General Public License v3.0
974 stars 174 forks source link

Strange condition TWS 1025 (paper) IBC 3.15.2 #243

Open akatsev opened 7 months ago

akatsev commented 7 months ago

Hi, Who can explain me the situation? Screenshot and log are attached. All times are in UTC. Thank you in advance, A. Katsev IBC-3.15.2_TWS-1025_MONDAY.txt QuestionScreenshot.docx

rlktradewright commented 7 months ago

This is because you kept it running all day Sunday and it tried to do an auto-restart late Sunday evening.

But it requires a full logon on Sunday, not an auto-restart.

So you have to make sure it shuts down completely at some point on Sunday. I do this using this setting in config.ini:

ClosedownAt=Sunday 15:00

rlktradewright commented 7 months ago

By the way, I'm considering enhancing IBC to handle this situation automatically, ie doing a full restart rather than an auto-restart if it encounters this dialog. That wouldn't avoid the need for full 2FA login, but would mean you don't need to use ClosedownAt.

There may be some reason that this is impractical, so in the meantime use ClosedownAt or some other means to ensure a full shutdown on Sunday.

akatsev commented 7 months ago

Ok, I'll check it out. Thank you very much! Your responses' rapidity is just wonderful! Again, thanks a lot! A. Katsev.

пн, 11 дек. 2023 г., 12:18 Richard L King @.***>:

This is because you kept it running all day Sunday and it tried to do an auto-restart late Sunday evening.

But it requires a full logon on Sunday, not an auto-restart.

So you have to make sure it shuts down completely at some point on Sunday. I do this using this setting in config.ini:

ClosedownAt=Sunday 15:00

— Reply to this email directly, view it on GitHub https://github.com/IbcAlpha/IBC/issues/243#issuecomment-1849745295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE44OABN4ZQJZL4LT4F7UA3YI3MV3AVCNFSM6AAAAABAPPHORKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZG42DKMRZGU . You are receiving this because you authored the thread.Message ID: @.***>

akatsev commented 7 months ago

Sounds good, thanks for the heads up!

пн, 11 дек. 2023 г., 12:27 Richard L King @.***>:

By the way, I'm considering enhancing IBC to handle this situation automatically, ie doing a full restart rather than an auto-restart if it encounters this dialog. That wouldn't avoid the need for full 2FA login, but would mean you don't need to use ClosedownAt.

There may be some reason that this is impractical, so in the meantime use ClosedownAt or some other means to ensure a full shutdown on Sunday.

— Reply to this email directly, view it on GitHub https://github.com/IbcAlpha/IBC/issues/243#issuecomment-1849761507, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE44OAGJLB6WG4G5AQADOMTYI3NZVAVCNFSM6AAAAABAPPHORKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZG43DCNJQG4 . You are receiving this because you authored the thread.Message ID: @.***>