I'm just started to run my algorithm on live, using paper IBKR account. In the algorithm I'm using MarketOnOpenOrder - because I'm making trading decisions once a day after market hours and when I decide to buy or sell stocks - I want to do that on the next trading day (on open). However, I see that all of my orders fail with the same error: “Invalid 201 - Order rejected - reason:Exchange is closed”.

According to documentation, IBKR does support MOO orders, so I not understand the reason for the error. 

P.S. Of cause, I could theoretically implement this logic on my own (e.g. to subscribe to event and to send order during market hours) - but I don't want to. I really prefer to broker to deal with this, especially if it supports this functionality.

Any ideas?

 

Author

Evgeni Aizikovich

a day ago