Skip to content

Handle multiple securities under the same symbol #161

@jhonabreul

Description

@jhonabreul

Example: DAX futures has DAX, Mini DAX and Micro DAX (which in Lean are "FDAX", "FDXM", and "FDXS", respectively) under the same symbol ("DAX") but they differ on their contract multiplier and trade class.

Image

Image

Image

Image

Image

Related:
QuantConnect/Lean#8732
#160

Potential solution

Refactor the symbol map dictionary so that a single IB symbol can be mapped to multiple Lean symbols. WIth this, the correct multiplier will be used to create the correct IB contract to make requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions