After-hours limit order via TWS API

Discussion in 'Interactive Brokers' started by gery_cu, May 7, 2021.

  1. gery_cu

    gery_cu

    I'm trying to send an after-hours limit order via TWS API

    I have "Allow order to be activated, triggered, or filled outside of regular trading hours (if available)"
    I have market the Property of the order "ConditionsIgnoreRth" to true in my trade.
    I have set the "Tif" property as "GTC"

    Despite that, my orders don't get filled, they're marked as blue, which means:
    "DARK BLUE indicates that an order has been accepted by the system (simulated orders) or an exchange (native orders) and that this order has yet to be elected. The order status remains DARK BLUE until the eligibility criteria are met. At that time the order is triggered, and the order status color will change appropriately."

    Also, I can't check the RTH property for this trade (pic shared)

    If I try to place the same trade manually, it can get filled after hours.

    Not sure what I'm missing
     
  2. guru

    guru

    betcashrun likes this.
  3. Just my guess: IB has accepted your order, but is not able to place the order at the exchange (because after-hours). So there is no confirmation from the exchange. Once IB is able to place the order at the exchange will the order status change.
     
    guru likes this.
  4. Guru wrote it: use OutsideRth instead of ConditionsIgnoreRth.