Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 05/04/26 17:42
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (dangyc, TipmyPip), 5,456 guests, and 19 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dangyc, ukgamer, valino, juergenwue, VladMak
19211 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 4 1 2 3 4
Re: Zorro not reconnecting to IB gateway after restart [Re: opm] #489326
03/19/26 09:18
03/19/26 09:18
Joined: Jul 2000
Posts: 28,095
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,095
Frankfurt
Pressing Stop is equivalent to closing and restarting Zorro, but not equivalent to SET_RESTART. SET_RESTART releases the TWS API, while Stop only resets the connection on the Zorro side. Both does not 100% guarantee to reconnect, since the TWS or Gateway can stay blocked despite their API reset. For reconnecting with 100% certainty they must be externally closed and restarted. From our experience, external restart is necessary with the Gateway, but not with the TWS. However this can of course change with any new version.

Re: Zorro not reconnecting to IB gateway after restart [Re: jcl] #489359
04/08/26 21:56
04/08/26 21:56
Joined: Nov 2025
Posts: 16
C
clint000 Offline
Newbie
clint000  Offline
Newbie
C

Joined: Nov 2025
Posts: 16
ok thanks. Is there a way to tell Zorro to Stop and then Trade at a particular time, by script?
I have managed to keep the Gateway stable by logging out every day and restarting it through IBC, however when Zorro is connected to the gateway and this logout+new start process happens on the gateway, it will not reconnect again unless I press Stop and Trade.
Tried the SET_RESTART but it will not reconnect to the gateway after a restart...


Thanks

Re: Zorro not reconnecting to IB gateway after restart [Re: opm] #489361
04/13/26 09:34
04/13/26 09:34
Joined: Jul 2000
Posts: 28,095
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,095
Frankfurt
You can stop trading at a particular time, but not restart it since when Zorro is stopped, no script is running. But you can stop and start a trading Zorro process at a particular time. The procedure is described under https://zorro-project.com/manual/en/engine.htm.

Re: Zorro not reconnecting to IB gateway after restart [Re: opm] #489368
04/25/26 14:06
04/25/26 14:06
Joined: Dec 2023
Posts: 16
Paddington
O
opm Offline OP
Newbie
opm  Offline OP
Newbie
O

Joined: Dec 2023
Posts: 16
Paddington
I've built a plugin based on the web api, I'll let you know how it goes

Page 4 of 4 1 2 3 4

Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1