Re: Restart TWS without IBC to keep session
I didn¡¯t manage to get as far as I hoped yesterday ¨C it was all working fine for TWS, but not yet for Gateway. As I¡¯m not sure when I¡¯ll be able to finish the Gateway work, I decided to issue
By
Richard L King
·
#1961
·
|
Re: AutoRestart File INFO LOG
Here you go Richard.? Thanks.
By
@agftrading
·
#1960
·
|
Re: Restart TWS without IBC to keep session
Shrivelled walnut, more like. And decreasing with every passing day¡ I have actually just done the code for this, need to test ¨C but lunch first! Maybe issue a beta version later today (probably
By
Richard L King
·
#1959
·
|
Re: Restart TWS without IBC to keep session
That¡¯s very clever, perhaps you do have the brain the size of a planet Richard.
By
Mark Murari
·
#1958
·
|
Re: Restart TWS without IBC to keep session
That¡¯s correct. Having said that, it occurs to me that until IB provide the Restart menu entry in Gateway, it would be possible for IBC¡¯s proposed RESTART command to force a Gateway restart by
By
Richard L King
·
#1957
·
|
Re: Restart TWS without IBC to keep session
Sorry, missed this part, my bad, will read more carefully in the future. So, basically at the moment there is no way to restart Gateway without triggering 2FA (apart from automatic daily restarts)?
By
t1user
·
#1956
·
|
Re: Restart TWS without IBC to keep session
When I wrote: ¡®Note that this restart menu item isn't available for Gateway, but maybe IB will provide it in a future version.¡¯ what did you think I meant? I will do this command when I get some
By
Richard L King
·
#1955
·
|
Re: Restart TWS without IBC to keep session
+1 on the restart request The whole point of using IBC is to make the setup run fully automatically, manually restarting tws/gateway is not an option @Richard: I presume what you said about TWS is
By
t1user
·
#1954
·
|
Re: AutoRestart File INFO LOG
This is just a little diagnostic to help me if there are any issues with the auto-restart. I¡¯ll probably remove it at the next release. It¡¯s of no concern, and is expected when not in an
By
Richard L King
·
#1953
·
|
AutoRestart File INFO LOG
Hi Richard, Here is an excerpt from a log file.? The INFO logs to the console and not just the file. Finding autorestart file INFO: Could not find files for the given pattern(s). autorestart file not
By
@agftrading
·
#1952
·
|
Re: Restart TWS without IBC to keep session
Ok, noted. Sent: 17 December 2022 18:25 To: [email protected] Subject: Re: [ibc] Restart TWS without IBC to keep session Thanks, but really it would be great to have RESTART command, similar to the
By
Richard L King
·
#1951
·
|
Re: Restart TWS without IBC to keep session
Thanks, but really it would be great to have RESTART command, similar to the STOP for full automation of the process. Regards, Alexander
By
Riks
·
#1950
·
|
Re: Restart TWS without IBC to keep session
As it happens, TWS has a File | Restart... menu item which does exactly what you want. It works with IBC exactly as you'd expect, just like an auto-restart - in fact IBC can't tell the difference
By
Richard L King
·
#1949
·
|
Restart TWS without IBC to keep session
Hi, First of all, thank you very much for your work, Richard. And my question: is there any way to restart programmatically TWS tidy without closing IBC (like a daily restart) to keep the same session
By
Riks
·
#1948
·
|
Re: 2FA on temporary gateway instances
Dump JVM to persistent disk, mount the disk on the new VM instance, then re-launch gateway. This has worked well for me, only need to spin up a server only when the trade is needed.
By
teamlatos@...
·
#1947
·
|
Re: handle restarts
Here is the revised User Guide description for running IBC under Windows Task Scheduler: Scheduled Tasks (Windows only) On Windows you can start IBC automatically using the Task Scheduler to run
By
Richard L King
·
#1946
·
|
Re: handle restarts
Actually you can achieve this just using Task Scheduler, if you configure the task correctly. I don¡¯t know if you¡¯ve seen the section on running under Task Scheduler in the User Guide: if not, I
By
Richard L King
·
#1945
·
|
Re: The alerts from IBKR app are easy to miss ... my solution
Thanks Jonathan, I?will play around with the extra settings.
By
Mark Murari
·
#1944
·
|
Re: handle restarts
what? I have done is that I assume that when TWS is running, its through IBC. IBS launches a shell with the title "IBC (TWS 1020) - C:\IBC\scripts\DisplayBannerAndLaunch.bat" So I try to locate if I
By
nkulki
·
#1943
·
|
handle restarts
What I am hoping to do is to create a script that will run say every 5 minutes. It will check if TWS is running. If its running then it should just quit if its not running then it will launch TWS. ANy
By
nkulki
·
#1942
·
|