I'm having an issue where Zorro doesn't reconnect to the IBKR gateway after the daily restart. As you can see status is green, but no port is open or data sent/recieved. I've tested restart during market hours and outside.
Any help or advice would be much appreciated.
Thanks, Adam
Re: Zorro not reconnecting to IB gateway after restart
[Re: opm]
#488688 04/01/2511:2604/01/2511:26
I don't know a problem with a daily restart, but there is one with the automated weekly gateway shutdown. You must manually close and restart the gateway on any weekend. Zorro needs not be restarted, but the current gateway version won't recover properly from its automated shutdown.
Re: Zorro not reconnecting to IB gateway after restart
[Re: opm]
#488689 04/01/2512:3804/01/2512:38
thanks for your response. I'm finding that zorro doesn't reconnect to the gateway after the daily restart, weekly or manual restart. I have to manually stop/start zorro trading after every auto gateway restart.
I've tried multiple strategies and they are all the same. None of them reopen a port in the gateway.
Adam
Re: Zorro not reconnecting to IB gateway after restart
[Re: opm]
#488690 04/01/2516:0904/01/2516:09
I was referring to the weekly shutdown, but if you have set it up for daily shutdown, it's the same. Shutdown requires manually closing and opening the gateway. Zorro can reconnect automatically, you can even set BarMode to let it explicitly disconnect and re-connect, but it won't help. After a shutdown, the gateway is in a state that it does not accept API connections. Only closing it solves that.
I hope that this behavior changes with a new gateway version, but so far, all versions behave this way.
Re: Zorro not reconnecting to IB gateway after restart
[Re: opm]
#488696 04/09/2511:0204/09/2511:02
the gateway restarts every day by default. All I can do is change the time. This is what I'm referring to. I know the weekly restart/shutdown is different.
Any thoughts on why it won't reconnect? I can add a video if that helps. The zorro log just shows it isn't restablishing a connection. ¯\_(?)_/¯
I'll try BarMode to force reconnection and set StartDate to NOW, so I don't keep missing trades.