Skip to content

tz_localize=True fails to localize datetimes in tlines and alines specifications (and in the future also in xlim specification?) #314

Open
@ventek

Description

@ventek

Hi, I tried to implement the tlines using mplfinance, and generate the trendline data as per the example, however, I still get this error:

ValueError:
tlines date pair (2021-01-11 09:35:00-05:00,2021-01-11 10:20:00-05:00) too close, or wrong order, or out of range!
df date range: [2021-01-11 09:35:00+00:00 , 2021-01-11 10:20:00+00:00]

Please, if anyone can advise, It will be much appreciated.

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions