ib_async icon indicating copy to clipboard operation
ib_async copied to clipboard

Different timezone between `reqHistoricalDataAsync` and `reqRealTimeBars`

Open ironhak opened this issue 1 month ago • 0 comments

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

ironhak avatar Oct 20 '25 15:10 ironhak