Programming the IB API

Discussion in 'Interactive Brokers' started by DocHolliday, Aug 20, 2002.

  1. Asterix

    Asterix

    #21     Aug 30, 2002
  2. Banjo

    Banjo

    http://sierrachart.com/#features
    These guys were supposed to start using IB's feed. Haven't had time to check it out. If you do tell us what you think. I've never used them, got them from one of the threads here.
     
    #22     Aug 30, 2002
  3. well i must say they have a nice logo..

    [​IMG]

    looks like it was made in about 2 minutes with microsoft paint.
     
    #23     Aug 30, 2002
  4. stevet

    stevet

    u mean two mins including a coffee break!
     
    #24     Aug 30, 2002
  5. drbtk

    drbtk

    The following code should work for the excel api but it doesn't update for me yet:

    Sub Realtime_Calculate()
    '
    ' Realtime Macro
    ' Macro recorded 8/30/2002
    '
    ' Keyboard Shortcut:
    '
    Dim wsDDE As Worksheet
    Dim wsES As Worksheet


    Set wsDDE = Worksheets("Tickers")
    Set wsES = Worksheets("Realtime")


    Worksheets("Realtime").Range("A3").Insert
    wsES.Range("A3:A3") = wsDDE.Range("M20").Value



    End Sub

    This should give an expanding column of continuously updating prices from the IB DDe link cell (M20 in this case). Charting this column using dynamic range names should give a good chart in Excel. Still working on it. If anyone has done this, please post.
     
    #25     Aug 30, 2002
  6. Thanks for all the suggestions. QuoteTracker looks pretty close to what I was thinking of but I'll let the kinks get cleared out first. Doesn't sound like they allow futures trading through IB yet anyway and I want it mainly for the E-minis.
     
    #26     Sep 1, 2002
  7. Did you try entering the futures symbol on Quotetracker. Seemed to work for me, but didn't try trading it.
     
    #27     Sep 1, 2002
  8. No, not yet. It looked like the version being offered was beta and I haven't had good experiences being a guinea pig. May try sometime later this week.
     
    #28     Sep 1, 2002
  9. eltr

    eltr

    I am writing a program to send orders using IB API and don't know the solution for following situation.

    If I send a order to buy 1000 shares, and I get 400 shares filled, then I cancel the rest of the order(600 shares). If the cancellation goes through, which event I can use to get the information(price, ...) about the 400 shares. any insight would be much appreciated.
     
    #29     Sep 2, 2002
  10. Futuresnut, QT does not currently support futures for quotes or trading. Will in upcoming releases.
     
    #30     Sep 3, 2002