开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Auto Restart & Auto Login w/ IB Gateway and Linux


 

Hi Brendan. See this:?
I think it's done by some members of this forum. Thank them ;)

On Mon, Feb 17, 2025 at 9:17?PM Brendan Lydon via <blydon12=[email protected]> wrote:
Hi,
?
I would like to reopen a thread on auto login, and auto restart for IB Gateway on Linux. I have been using TWS for my entire algorithmic trading journey only building strategies within the confines of the stock market's cash open (9:30am to 4pm) to keep systems running all day without needing many restart solutions and auto login credentials. But, now I want to run strategies all night long and for long periods of time. That is how I came across the benefits of using IB Gateway. I have built watchdogs for my applications to handle crashes from disconnecting from TWS, but TWS itself never crashed, only my application. But now I want to build algorithms to trade all through the night without much supervision with IB Gateway. I plan to continue using bash scripting within a linux machine for process monitoring & watchdogs. So to start, how can I enable auto login on IB gateway? What are the limitations you guys have come across? I already have set up a 5:15pm auto restart, as I have a futures trading algorithm backtested and ready to go throughout the night and non cash market hours, but I do not see a place for auto login, etc?
?
Thanks,
Brendan



--
Daniel

Join [email protected] to automatically receive all group messages.