hadrianl / hadrianl/ibapi

clientID clarification

Open
#45 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
163
Forks
65
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.