A while back, V10 TWS moved the "Diagnostics" options from the "Accounts" menu to "Help -> Troubleshooting -> Diagnostics". The "API Logs" option still exists so you can check that TWS indeed receives what you think your client sends.
´³¨¹°ù²µ±ð²Ô
toggle quoted message
Show quoted text
On Sun, Dec 18, 2022 at 06:02 AM, Zsolt Soczo wrote:
Hello,
I tested TWS Build 10.20.1f, and it does not accept the given date
for Order Tif:
"20221218 05:50:15 US/Central"
ErrorMessage: End Time: The date, time, or time-zone entered is
invalid. The correct format is yyyymmdd hh:mm:ss xx/xxxx where
yyyymmdd and xx/xxxx 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.
I don't see why my date format is bad.
Embarrassingly, the API documentation says I have to use dash between
date components:
20220930-15:00:00 US/Eastern
Besides, the Account/Diagnostics menu is missing, so I cannot see the API log.
--
Thanks,
Zsolt