¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Some Paper trade Orders not filling after updating to 10.30


 

There is no issue with the "INVALID" time in force. TWS will show "INVALID" for orders that are not open any longer (filled, cancelled).

You can control the OCA OverfillProtection from the API. When you create the OCA, you select its behavior with the Order field. The "with block" OCA types 1 and 2 are overfill protected, OCA type 3 is not. If you do not set the field (e.g. it is initialized with 0), IBKR will select the OCA type for you.

The order you show is limited to the regular trading hours only, but the EndTime is set to 20:00 US/Eastern. That by itself is not an issue, but the order will not have been active before 09:30 and between 16:00 and 20:00 US/Eastern.

´³¨¹°ù²µ±ð²Ô

?

On Tue, Apr 29, 2025 at 05:24 PM, <plborgprograms@...> wrote:

@Orionn I was able to get the output but through a different way. I'm wondering if the "INVALID" time in force is the issue. Some seem to be filling anyway. In the API, OverfillProtection is decided in the gateway rather than per order so it should be checked if anything. I haven't looked at enough orders in this view to know if anything here would block it from filling.
?

Join [email protected] to automatically receive all group messages.