开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

IBKR API fill outside RTH


 

Hi,

Has anyone tried entering an order with "fill outside RTH" using the API? I can't seem to get it to work.
Reference: https://interactivebrokers.github.io/tws-api/classIBApi_1_1Order.html

TWS API v9.76.1
Tried the following orders without avail:

??? #Create order object
??? order = Order()
??? order.action = 'BUY'
??? order.totalQuantity = 10
??? order.orderType = 'LMT'
??? order.lmtPrice = 100
??? order.OutsideRth = 'true'

and

??? order.OutsideRth = True # bool

Thank you in advance

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