Zombie orders can't be cancelled?

Discussion in 'Interactive Brokers' started by yosuji198, Mar 14, 2020.

  1. yosuji198

    yosuji198

    Hi Community,

    I put in a spread order using an API. I put it into my live account to test (since markets are closed). But now I can't get rid of this order! If I try to cancel each one individually nothing happens. If as seen below I try to cancel them together by pressing Delete Rows/Cancel Orders, nothing happens! If I restart TWS they're still there. What can I do?

    Does anyone have ib_insync API code that can cancel all open orders? Thanks!

    upload_2020-3-14_18-22-26.png
     
  2. guru

    guru

    They look cancelled (unless you can still modify qty or price).
    IB may just wait for an exchange to confirm cancellation on their end, which should happen shortly before they open.
    Hover your mouse over the orange status indicator to check the status.
     
  3. guru

    guru

    zdreg likes this.
  4. Did you shut down the API? I've had it happen where I'd cancel an order manually that was sent from algo via API, and the algo immediately resent it.
     
  5. yosuji198

    yosuji198

    The order went away so it wasn't there on Monday morning pre-market. Maybe it was as guru said, some servers may have been down
     
    guru likes this.