Login Page - Create Account

Support Board


Date/Time: Thu, 21 Nov 2024 21:12:30 +0000



Post From: Connection problem

[2013-04-04 21:28:51]
madra - Posts: 109
Hello,
I have a file I need to upload for your inspection. It is a 'Word' file.
I copied a Sierra log message about a failed execution from IB. I emailed to IB support. It does not seem that the attach file is working:
Trading Message from IB: Error validating request:-'rc' : cause - GoodTilDate field is only valid with time-in-force of GTD. Error Code: 321. ServiceOrderID: 174. | 2013-04-04 11:07:25
Trading Message from IB: Can't find order with id =174. Error Code: 135. ServiceOrderID: 174. | 2013-04-04 11:09:28
Trading Message from IB: Can't find order with id =174. Error Code: 135. ServiceOrderID: 174. | 2013-04-04 11:09:35
Trading Message from IB: Error validating request:-'rc' : cause - GoodTilDate field is only valid with time-in-force of GTD. Error Code: 321. ServiceOrderID: 175. | 2013-04-04 11:41:03
Trading Message from IB: Can't find order with id =175. Error Code: 135. ServiceOrderID: 175. | 2013-04-04 11:42:31
Trading Message from IB: Error validating request:-'rc' : cause - GoodTilDate field is only valid with time-in-force of GTD. Error Code: 321. ServiceOrderID: 176. | 2013-04-04 11:46:49
Trading Message from IB: Can't find order with id =176. Error Code: 135. ServiceOrderID: 176. | 2013-04-04 11:47:13
Trading Message from IB: Can't find order with id =176. Error Code: 135. ServiceOrderID: 176. | 2013-04-04 11:47:17
Trading Message from IB: Can't find order with id =176. Error Code: 135. ServiceOrderID: 176. | 2013-04-04 11:47:18
Trade Order Error: Unable to Flatten or Reverse because a position does not exist for the symbol: USD.CAD-CASH-IDEALPRO. Working orders will still be canceled. | 2013-04-04 11:48:24
This is the response
Dear allen672 ,

According to the attachment your orders are being rejected because the wrong TIF is being included.In this case it seems you are sending an order from Sierra Charts and including the GoodTilDate Field but the Time-In-Force (TIF) is not GTD.

To resolve this issue you would need to contact Sierra Charts and inquire how to change the TIF order attribute to "GTD".

If you have any further API related questions you can call IB again for additional assistance.

Regards,

-Angel
IB API Support
I would be grateful to know how to correct this
Thank you
charlie
attachmentTrading Message from IB.docx - Attached On 2013-04-04 21:19:19 UTC - Size: 17.96 KB - 1192 views
Attachment Deleted.
Attachment Deleted.