Skip to content

clientID clarification #45

@icecolbeveridge

Description

@icecolbeveridge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions