Hello,
This is an odd edge case, and it's sort of on the boundary between ibapi and the tws system, but it doesn't seem to be documented clearly anywhere.
I hit a problem where I could connect to the client, but the handshake was timing out; I was able to connect with another script.
The bug turned out to be -- I believe -- that the clientID I was using was too large: in ibapi, it's an int64, but the tws docs only say int.
I don't know whether the correct fix is to use an int32 or to document that using too large a clientID will cause an unexplained failure, but I thought it was worth mentioning.
C
Hello,
This is an odd edge case, and it's sort of on the boundary between ibapi and the tws system, but it doesn't seem to be documented clearly anywhere.
I hit a problem where I could connect to the client, but the handshake was timing out; I was able to connect with another script.
The bug turned out to be -- I believe -- that the clientID I was using was too large: in ibapi, it's an int64, but the tws docs only say int.
I don't know whether the correct fix is to use an int32 or to document that using too large a clientID will cause an unexplained failure, but I thought it was worth mentioning.
C