wrighter / ib-scripts

Python scripts that use the Interactive Brokers TWS API
MIT License
49 stars 19 forks source link

ValueError: time data '20210419' does not match format '%Y-%m-%d %H:%M:%S%z #7

Closed n-e-o-o closed 1 year ago

n-e-o-o commented 1 year ago

Hi Matt,

Appears a few users are experiencing the same issue so thought to log an issue for it. Applies to your examples listed in the Article and many other attempts at getting this working.

I am using API Build 10.20.1g, Jan 3, 2023 4:39:22 PM.

Regards, Milan

wrighter commented 1 year ago

I have reproduced the error message, but not sure if it's exactly what you're seeing. I think this is affecting daily bars during the bar writing process.

So for example, this work:

./src/download_bars.py --size '1 hour' AAPL

But this doesn't

./src/download_bars.py --size '1 day' AAPL

n-e-o-o commented 1 year ago

Correct, i am trying to collect daily bars.

Sent from Proton Mail for iOS

On Sun, Feb 26, 2023 at 21:27, wrighter @.***> wrote:

I have reproduced the error message, but not sure if it's exactly what you're seeing. I think this is affecting daily bars during the bar writing process.

So for example, this work:

./src/download_bars.py --size '1 hour' AAPL

But this doesn't

./src/download_bars.py --size '1 day' AAPL

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>