IB's MidPrice vs Adaptive Algo

Discussion in 'Order Execution' started by Cyrix, Mar 13, 2020.

  1. d08

    d08

    As Haim Bodek said in Wall Street Code, in most scenarios you're just better off taking market. Note that a regular market order at IB is slower than a far out limit order, which will execute immediately, no matter the price (up to said limit of course).
    When market is normal and I have time to close the position, I split the order into many MIDPRICE legs. I think these orders are also gamed but haven't run analysis lately. When it's very volatile and I expect continuation, it's just the far out limit.
     
    #11     Jun 7, 2020
    SPYAlgoTrader likes this.
  2. ZBZB

    ZBZB


     
    #12     Jun 7, 2020
  3. d08: thanks again... playing around with midprice right now - just to make sure it is

    order.OrderType = "MIDPRICE";

    ? originally tried MidPrice in order.AlgoStrategy which failed at 978u

    very slow execution but looks like an improvement...
     
    #13     Jun 8, 2020
  4. d08

    d08

    Yes, orderType. It's nothing fancy and it's not to be used when you really need any speed. It's basically a relative order which I believe is modified depending on the route.
     
    #14     Jun 8, 2020
    SPYAlgoTrader likes this.
  5. been live testing the orderType=MidPrice and in fact it beats concurrently executing adaptive=urgent and adaptive=normal (worse) suborders and my own homegrown solution (which tries lmt orders that are dynamically adjusting within a 30sec window) and it also appears to beat an all in mkt order (which I try to avoid to not move market too much)

    thanks for the tip! any other ib algos you use and can recommend?
     
    #15     Sep 8, 2020
    gak and d08 like this.
  6. d08

    d08

    Not really. I actually send market (via distant limit for instant execution) for many orders that are time sensitive.
    Watch out with MIDPRICE as the orders come "stuck" on IB sometimes. It seems to be a technical issue. For example I can send two MIDPRICE orders, the first one is stuck for 5 minutes while the second one executes. Seems like a technical issue.
     
    #16     Sep 8, 2020
  7. good to know... saw that in paper trading once.
    Eventually by backend has a thread watching algo orders and turning them into MKT if they don't within less than a minute.
     
    #17     Sep 8, 2020
    d08 likes this.
  8. I have been using midprice, getting nearly instant fills with minimal price slippage.
     
    #18     Sep 8, 2020
    SPYAlgoTrader likes this.
  9. d08

    d08

    It depends on what you trade and the size. There's plenty that fill instantly but I regularly have orders waiting for 3-4 minutes for a fill.
     
    #19     Sep 8, 2020
    SPYAlgoTrader and GrowleyMonster like this.
  10. traider

    traider

    Does midprice work for futures and options?
    Do you need the latest version of TWS to use the algos?
    Are there additional charges for using algos to execute
    Does midprice react differently when market is moving extremely fast vs slow
     
    #20     Sep 9, 2020