Historical data query end date/time string .... invalid /IB  [SOLVED]

Questions about MultiCharts and user contributed studies.
Lantama2
Posts: 14
Joined: 06 Jan 2021
Has thanked: 5 times

Historical data query end date/time string .... invalid /IB

Postby Lantama2 » 26 Jan 2023

Hello, after upgrading to 24407 I am getting errors in backfilling from IB. I also updated JAVA, but not the TWS. Any hints what to do?
Best Andreas
Attachments
2023-01-26_100623.jpg
(111.19 KiB) Not downloaded yet

Lantama2
Posts: 14
Joined: 06 Jan 2021
Has thanked: 5 times

Re: Historical data query end date/time string .... invalid /IB

Postby Lantama2 » 26 Jan 2023

It seems that it is solved with upgrading the TWS to 10.20.

Lantama2
Posts: 14
Joined: 06 Jan 2021
Has thanked: 5 times

Re: Historical data query end date/time string .... invalid /IB

Postby Lantama2 » 26 Jan 2023

The problem persists, as the Quote Manager does not store downloaded (trimed) data with fractional volume. At least when using an older API. Currently, I cannot upgrade the API for other reasons. Not storing the data seems to be a bug in QM (newest version).

01/26/2023 14:49:00] TWS warning message: Id= 1001107; code= 2176; description= Warning: Your API version does not support fractional share size rules. Please upgrade to a minimum version 163. Trimmed value 5.3 to 5
[01/26/2023 14:49:00] Data request for SPY ISLAND STK USD 1 Minute Trade [ 04/12/2018 05:01:00.000 - 04/16/2018 05:00:00.000 ] (Id= 1001108)

User avatar
Polly MultiCharts
Posts: 202
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: Historical data query end date/time string .... invalid /IB  [SOLVED]

Postby Polly MultiCharts » 26 Jan 2023

Hello Lantama2,

This message appears due to the IB API changes implemented in TWS build (10.20.1h (Jan 10)). Our developers are currently looking into it on our end.
In the meantime, please use TWS build (10.20.1d (Nov 29)).
After the downgrade please restart MultiCharts and reload your charts by pressing CTRL+R or via View -> Reload if necessary.

Lantama2
Posts: 14
Joined: 06 Jan 2021
Has thanked: 5 times

Re: Historical data query end date/time string .... invalid /IB

Postby Lantama2 » 26 Jan 2023

Perfect. Many thanks for this fast and helpful support.


Return to “MultiCharts”