need help with IB API

Discussion in 'Trading Software' started by gnom, May 29, 2010.

  1. gnom


    I never used API for IB. Need help placing this order:

    buy at market when 10 and 20 ma cross on 5 min chart
    set stop at previous bar low and set target at 10 and 20 ma cross.

    How can I write this order in Excel for IB? Does API updates prices in real time?

    Thank you in advance