I tried to send order with goodAfterTime="20191205 09:39:45". the order can not submitted. anyone successful using this field? btw, I can successfully use goodTillDate.
I use "hour:min:sec timezone" on the same day eg: "10:00:00 GMT" , i dont pass in a day if it is on the same day.
Why would you use something that old, why not just update? I can confirm the format I posted works. Maybe you're posting it too close to the trade time or too close to the close. I believe it's not allowed in the last minute before the close and there's probably other limitations as well. Also, why not read the error messages that are returned?
I did not update api because the new api needs vc++ 12.0, which i am not familiar. I am still using vc++ 6.0. I think tws api version does not affect the execution because no matter what api version is used, IB only sees the text transmitted. the error message says "the correct format should be blah blah..." which I am already in correct format.