Requesting historical data from IB

Discussion in 'Data Sets and Feeds' started by bidask, Aug 11, 2011.

  1. bidask

    bidask

    Hello,

    I am building an application that will request historical data from IB. I am trying to put the historical data into a text box. I keep getting this in the text box after I make the request.

    finished-20110712 09:20:29-20110812 09:20:29 -1


    As you can see, no historical data is returned. After I make the request, I use the code below to put the data into the textbox.

    Code:
    txtHistData.Text = e.date.ToString() + " " + e.close.ToString();
    I am using C#. Can someone tell me what's wrong? I am probably not handling the data correctly.
     
  2. bidask

    bidask

    doh nevermind i figured it out.