IB Historical Data Time-Zone Error

Posted By: ruins

IB Historical Data Time-Zone Error - 12/01/22 07:49

I have confirmed that I have the correct subscription level for historical data access within IB, yet I am getting the following error in TWS and IBGateway when the script attempts to retrieve price history:

18:19:39:097 <- 20-6-11-0-JNPR-STK--0---SMART-ISLAND-USD---0-20221201 07:19:39 GMT-1 day-103 D-1-ASK-2--
18:19:39:509 -> 4-2-11-10314-End Date/Time: The date, time, or time-zone entered is invalid. The correct format is yyyymmdd hh:mm:ss xx/xxx

It appears that Zorro sends "GMT-1" for the time-zone where as IB is expecting "US/Eastern" or similar format.

Any advice on how to resolve ?

-Zorro S 2.50
-IBGateway 10.19
Posted By: BrainSailor

Re: IB Historical Data Time-Zone Error - 12/01/22 08:07

Hi ruins (nice nick!),
I reported this a while ago. You need to download the new IB Plugin if you are using 2.50.
Zorro is reporting this bug here:
https://zorro-project.com/manual/en/bugs.htm

You can also use the PreRelease. This has the new plugin with it. Although the PreRelease has some issues. If you want to be on the save side, just download the new IB Plugin and replace it with the old one.
Hope that helps,
BS
Posted By: ruins

Re: IB Historical Data Time-Zone Error - 01/13/23 12:57

Many thanks. Slow reply, but just confirming that the new plugin resolved my issue.
© 2024 lite-C Forums