I am getting the error message 2174 from TWS/API when Amibroker connects to IB TWS (V 10.19.1g) - complaining about time zone (date-time attributes) in requests. Not sure if this is from the last upgrade of TWS. I only update stable version of TWS. AB still gets the quotes to update charts - but I am wondering if this will eventually stop working.
AB Version: 6.40.4 64bit
IB Plugin Version: 2.11.0
Is it possible to increase the display time of the error message?
I will try older versions of the plugin to see if it makes a difference.
Error Msg: (seems to be truncated, as the last line is incomplete).
Error 2174: You submitted request with date-time attributes without explicit time zone. Please switch to use yyyymmdd-hh:mm:ss in UTC or use instrument timezone, like US/Eastern. Implied time zone functionally will be removed in the 6CONN
Do you really mean the plugin? Plugin does not place the orders.
You probably mean IBController, not plugin.
Just add the time zone to your time strings in PlaceOrder, like UTC at the end.
I do mean the plugin. I am not placing orders via the API. This Plugin Status error message appears as soon as Amibroker connects to TWS for realtime quotes. First message from TWS is Connected Okay to data farm. Error 2174 appears immediately thereafter. Is there anyway of I can log the messages from TWS? Or increase the display time?
No worry about it. In case somebody would like to know what this warning 2174 is about to get rid of it, here's the complete message:
2174 : Warning: You submitted request with date-time attributes without explicit time zone. Please switch to use yyyymmdd-hh:mm:ss in UTC or use instrument time zone, like US/Eastern. Implied time zone functionality will be removed in the next API release
Another similar one you could meet if you ever use IBController:
10314 : End Date/Time: The date, time, or time-zone entered is invalid. The correct format is yyyymmdd hh:mm:ss xxx where yyyymmdd and xxx are optional. E.g.: 20031126 15:59:00 US/Eastern Note that there is a space between the date and time, and between the time and time-zone. If no date is specified, current date is assumed. If no time-zone is specified, local time-zone is assumed(deprecated). You can also provide yyyymmddd-hh:mm:ss time is in UTC. Note that there is a dash between the date and time in UTC notation.
10314 is an error. note the difference between both formats is the '-' (and timezone after...)
Cheers.
I was okay with the warning Msg 2174, but with the recent update to: Build 10.19.1i, Dec 13, 2022 (I use only the stable version of TWS), the behavior has changed. Now the error message persists instead of displaying once with Message Count increasing to 50, 60 and so on. Backfill function no longer works with AB saying that Backfill timeout due to IB throttling. I will attempt to go back to older TWS version and the latest version too, as this is no longer usable for intraday charting . The pop up cycles between Msg 2174 & Backfill timeout & Retry. Chart updates from the time of connection.