"You must enter a valid price" - API vs TWS

Discussion in 'Interactive Brokers' started by nooby_mcnoob, May 7, 2020.

  1. Out of curiosity: what is it that you changed/fixed? It is not immediately obvious to me.
     
    #21     May 7, 2020
  2. #22     May 7, 2020
  3. They responded and said the reason the error message said "invalid price" was because my account number was missing without acknowledging that submitting literally the same object with transmit = True after 0.25 seconds works.

    I like IB most of the time except these times.
     
    #23     May 8, 2020
  4. Hmmm. Not really a plausible reason. They must have thought you were just a noob? :) You only need to supply an account number if you have more than one Uxxx numbers.
    I did encounter "invalid price" error messages in the past. But those were all caused by using incorrect prices, either caused by rounding errors, or by not knowing the correct price step for an instrument.
    Having to submit an order in two stages, with a pause in between, is something I haven't seen before.
     
    #24     May 8, 2020
    nooby_mcnoob likes this.