Accumulate within price and time range.

Discussion in 'Interactive Brokers' started by Rosie123, Feb 27, 2020.

  1. Rosie123

    Rosie123

    Hi all,

    I am new to these forums so please excuse me asking questions straight away but I promise that I will add value asap! :)

    I am trying to figure out how best to trade this scenario using Interactive Brokers order types - let us say that I would like to buy a breakout above $100 so long as price remains above $100 but below say $102 for a cumulative total of 30 minutes (so price can go above and back below $100 but the trade will only execute once a cumulative total of 30 minutes have elapsed where price is between $100 and $102).

    The accumulate/distribute also seems to have this functionality but (as I learned the hard way), the first order that it executes does not wait for 30 minutes, only every order thereafter. So it begins to accumulate as soon as the price is within range and then waits the 30 minutes for every order thereafter.

    Anyone's help in this regard would be greatly appreciated.
     
  2. I'm not sure whether TWS can be set up to do this. However, if you know how to program, then you can for sure do this via the API.
     
  3. Rosie123

    Rosie123

    Thanks for your response HobbyTrading, programming is where I fall short though!