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

Decimal vs floating point data type for sizes #11

Open
lbilli opened this issue Sep 22, 2021 · 0 comments
Open

Decimal vs floating point data type for sizes #11

lbilli opened this issue Sep 22, 2021 · 0 comments

Comments

@lbilli
Copy link
Owner

lbilli commented Sep 22, 2021

As of API v163, official IB implementations (except C++, see InteractiveBrokers/tws-api#1061) started reporting market data sizes and volumes as decimals instead of integers.

Here numeric (i.e. standard 64-bit floating point) are used instead, which limits the precision to ~16 decimal digits.

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