Hi,

im using IBKR on a daily resolution equity algo.

for placing order i use MarketOnOpenOrder and noticed the order is sent to the broker when the market is closed, therefore the order is invalid with error “Message: Brokerage failed to place order” and the trade is missed.

shouldn't MarketOnOpenOrder orders try to fill when the market is actually open ? 

log from 5am 2021-12-11 (saturday):

2021-12-11 05:00:00 New Order Event: Time: 12/11/2021 05:00:00 OrderID: 2 EventID: 1 Symbol: GM Status: Invalid Quantity: 10 Message: Brokerage failed to place order

Thanks

 

Author