Skip to content

Error when view chart for options using Polygon #112

@hassan-elamir

Description

@hassan-elamir

I added an API key from Polygon, but I get this error message.
TypeError: Cannot read properties of undefined (reading 'length')
image

Polygon is capable of charting aggregates (Bars) for options. Please see below link for Polygon documentations.
https://polygon.io/docs/options/get_v2_aggs_ticker__optionsticker__range__multiplier___timespan___from___to

The issue is that Polygon ticker symbol for options starts with O:
image

But the csv file from Interactive Brockers does not come with this extra "O:" by default
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions