Skip to content

Different timezone between reqHistoricalDataAsync and reqRealTimeBars #181

@ironhak

Description

@ironhak

When using reqHistoricalDataAsync and df = util.df(bars) I get a date column with date format as per exchange time (i.e. 2025-10-20 11:00:00-04:00.

When using reqRealTimeBars and df = util.df(bars) I do not get exchange time zone info: 2025-10-20 15:00:05+00:00.

See from printing the real time bar list:

RealTimeBar(time=datetime.datetime(2025, 10, 20, 15, 6, 35, tzinfo=datetime.timezone.utc ...

There is no timezone info

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