Starting TWS live and paper simultaneously
There was a time when I could start two instances of the TWS (one in paper mode and one for live trading) simultaneously with IBC without problems. At some point this stopped working.
When I have
By
Despair
·
#2265
·
|
Re: How to turn off 2FA
Robert
The item I was referring to in the User Guide is under ¡®NOTES REGARDING AUTO-RESTART IN TWS/GATEWAY 1018 and later versions¡¯ on the first page.
Maybe you aren¡¯t familiar with
By
Richard L King
·
#2264
·
|
Re: How to turn off 2FA
This is super helpful, thank you very much! I really appreciate your
efforts on IBC, it really seems like a great product and can¡¯t wait to get
it set up.
I¡¯m also the lead developer of lumibot
By
Robert Grzesik
·
#2263
·
|
Re: How to turn off 2FA
FYI, I¡¯m the developer of IBC, so yes, I¡¯m quite knowledgeable about it¡
Answers to your questions:
1. You need to study the User Guide! The very first page mentions Auto-Restart. Also
By
Richard L King
·
#2262
·
|
Re: How to turn off 2FA
That sounds great. Yea I guess you're right that we don't have to be in front of a computer now that I think about it.
A few follow up questions since you seem very knowledgable on this issue:
1.
By
Robert Grzesik
·
#2261
·
|
How to run gateway for one week at a time
I heard that IB Gateway only needs to log in once per week, but I can't find the settings anywhere to accomplish that. Any ideas how to set up IB Gateway so that it doesn't log out every day, and
By
Robert Grzesik
·
#2260
·
|
Re: How to turn off 2FA
2FA has been mandatory on live IBKR accounts for a couple of years now. There is no way to avoid it. That¡¯s why IBC goes to such lengths to make it as simple as possible.
It really could hardly
By
Richard L King
·
#2259
·
|
How to turn off 2FA
Hey, I am trying to get a trading algorithm to work with IB Gateway but keep running into the issue that I need to use 2FA through my phone to log in. I'm sure you guys already know about this issue
By
Robert Grzesik
·
#2258
·
|
Re: Strange problem
... So log in doesn't proceed until you enter them manually.
I'll consider if I can improve IBC 's behaviour in this (very unusual) situation.
But what you need to do is to delete the autorestart
By
Richard L King
·
#2257
·
|
Re: Strange problem
Thanks for the file. I understand what's going on now.
When TWS auto-restarts it creates a file called 'autorestart' which contains the credentials from the previous session. The new instance uses
By
Richard L King
·
#2256
·
|
Re: Strange problem
@Richard: I'm both embarrassed but also relieved to report that it now (new trading day) again works as usual. I haven't changed a thing...
By
Despair
·
#2255
·
|
Re: Strange problem
Well, send your IBC logfile. Attach it please, don't quote it.
Sent: Monday, May 27, 2024 5:04:08 pm
To: [email protected] <[email protected]>
Subject: Re: [ibc] Strange problem
..I now entered
By
Richard L King
·
#2253
·
|
Re: Strange problem
..I now entered the credentials also in the startTWS.bat but it didn't help. It simply doesn't fill in the information any longer. :-S
By
Despair
·
#2252
·
|
Re: Strange problem
I did this. The config.ini has the correct credentials in it. However when I run startTWS.bat the are not filled in like usual. Very strange.
By
Despair
·
#2251
·
|
Re: Strange problem
If you extracted the new version of config.ini when you reinstalled, you'll need to make sure all the settings you had before are still there, including the userid and password.
Sent: Monday, May
By
Richard L King
·
#2250
·
|
Re: Strange problem
Well I had it in the config.ini.
By
Despair
·
#2249
·
|
Re: Strange problem
No, not necessarily. If you read the IBC user manual it gives pointers on how to keep your credentials safe. This includes not putting them in the settings file, but in a separate file, in a different
By
J.G.
·
#2248
·
|
Re: Strange problem
This should be remedied by reinstalling IBC, shouldn't it?
By
Despair
·
#2247
·
|
Re: Strange problem
Just a guess: could it be that the file that holds your credentials (username, password) got corrupted or deleted? Or that read access to this file, or the directory in which it is located, has
By
J.G.
·
#2246
·
|
Strange problem
I have been using IBC for years without problem but now I'm a little bit clueless.
Last night my PC crashed. Since then IBC does no longer fill in my credentials. When I start startTWS.bat the login
By
Despair
·
#2245
·
|