IB TWS Relative order problem via DDE

Discussion in 'Automated Trading' started by fader, Aug 8, 2006.

  1. fader

    fader

    using DDE, if i set the percent offset for a relative order to a value below 1%, i get the "invalid price increment" error... - for most stocks, if i want an offset of $0.01, it would be less than 1% of the current bid/ask - in TWS itself, one can choose a dollar or percent offset, but with DDE, it seems that there is only the percent offset parameter, which is not working - has anyone encountered / resolved this issue?

    i am waiting to hear back from IB, and posted on the IB forum with no luck, so perhaps someone here has an idea - thanks in advance.
     
  2. Are you sure Excel isn't calculating out beyond 2 decimal places? And then submitting bad prices.
    Don't trust your cell format - verify the calculation precision of the worksheet.