Skip to content

Decimal vs floating point data type for sizes #11

@lbilli

Description

@lbilli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions