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

Underrun error on COMPLETED_ORDER: End of message reached. Please report to https://github.com/stoqey/ib - code: 505 - reqId: -1 #223

Open
icocoding opened this issue Sep 21, 2024 · 0 comments

Comments

@icocoding
Copy link

readStr(): string {

In IB Gateway 10.19, an error occurred in orderDecoder.readShareholder() because the string has ended.

In the Decoder.readStr() method, if the string is no longer available, it should not throw an exception; instead, it should return null or an empty string.
Additionally, in the Decoder.readBool() method, it should return a default value if the boolean is not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant