Skip to content
Advertisement

Tag: tws

IBKR TWS API reqIds does not send back any messages to nextValidId

Shouldn’t the following code at least print “hi”, as I connect to the API and then reqIds is supposed to shoot a message back to nextValidId? Instead, when I run this, nothing happens at all. Answer delete these lines You don’t need to request ids on startup, the next one comes automatically. Don’t disconnect before you get a response. If

Advertisement