gateway staying up overnight — how do you nightowls handle it?
so I mostly do crypto, 24/7, half my fills happen while the rest of you are asleep. been thinking about adding some US equities exposure and read through the IBKR connection guide on here a couple times.
the part that stuck with me is the bit about the API living inside a desktop program that has to stay running, and the recommendation to use Gateway over TWS for unattended sessions. coming from crypto that feels really alien to me lol. My exchange keys just... exist. no app to babysit.
so the thing the guide left unclear for me: what actually happens around the daily restart? I know IB does one, but the guide doesn't really say how that interacts with a bot that's mid-session. does the connection just drop and reconnect, do you have to re-auth by hand, and do open orders survive it? for me that window would land right in the middle of my normal awake hours, which is either really convenient or really annoying depending on the answer.
also, second thing — is anyone running Gateway on a little always-on box rather than their main PC? my laptop goes to sleep when I finally do, which seems like a bad combo with "has to stay running". curious whether people do a mini pc, an old laptop with sleep disabled, or something cloudy. and if you did go cloud, was the latency worth caring about or is that a non-issue for the kind of stuff most people run here.
not in a rush, just trying to understand the failure modes before I wire anything up. in crypto my failure modes are all rate limits and weird API errors, this feels like a whole different genre of problem.