If I'm retrieving a bunch of stuff, I often get disconnected from gateway due to pacing violations. Turns out, avoiding this is easy to do with ib_insync:
I couldn't find any documentation on this, but there you go.
Code:
ib.client.setConnectionOptions('+PACEAPI')
I couldn't find any documentation on this, but there you go.
