Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clientID clarification #45

Open
icecolbeveridge opened this issue Sep 8, 2023 · 4 comments
Open

clientID clarification #45

icecolbeveridge opened this issue Sep 8, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@icecolbeveridge
Copy link

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

@zbednarke
Copy link

Could you try using the biggest int64 and see if it fails?

@icecolbeveridge
Copy link
Author

icecolbeveridge commented Sep 14, 2023 via email

@hadrianl
Copy link
Owner

I would fix this latter

@hadrianl hadrianl added the bug Something isn't working label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants