IB API "goodAfterTime" is not working?

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.

Can you post the exact error message here? Because that does not make sense.
 
I tried to send order with goodAfterTime="20191205 09:39:45". the order can not submitted. anyone successful using this field?
Was that the time at which you submitted that order? In other words: did you specify a time in the past, at the time of submitting it?
 
'20191205 22:14:00 EST' would be the correct format for today. TIF field must be DAY or GTC.

i think you are correct. i used tif="GTD", so it did not work. i changed to tif="T
Was that the time at which you submitted that order? In other words: did you specify a time in the past, at the time of submitting it?

i will try tomorrow to see when it works. as d08 pointed out, it may be related to tif.
 
Back
Top