Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing Tick Data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Importing Tick Data

    I just downloaded some tick data and it's in the current raw format:

    Time,Ask,Bid,AskVolume,BidVolume
    2013.09.15 21:00:00.378,1.33607,1.33528,1.5,1.5
    2013.09.15 21:00:00.498,1.33607,1.3353,0.75,0.75
    2013.09.15 21:00:00.618,1.3361,1.33531,1.5,1.35
    2013.09.15 21:00:00.699,1.33606,1.33531,0.75,0.68
    2013.09.15 21:00:00.949,1.33606,1.33527,1.5,1.35

    which in excel looks like this:

    Time Ask Bid AskVolume BidVolume
    2013.09.15 21:00:00.378 1.33607 1.33528 1.5 1.5
    2013.09.15 21:00:00.498 1.33607 1.3353 0.75 0.75
    2013.09.15 21:00:00.618 1.3361 1.33531 1.5 1.35
    2013.09.15 21:00:00.699 1.33606 1.33531 0.75 0.68

    I did read a pertinent thread on the subject but am still confused as to what modifications are necessary to make it compatible with the NinjaTrader import function. The date has to change and the commas have to be replaced with semicolons, right?

    But I'm also a bit confused about the bid and ask columns - I will need both obviously, how can I import the entire data?

    Thanks!

    #2
    molecool, that would need to be done from two source files then, one for bid data, the other for the ask data.

    You are correct in understanding the needed formatting changes, all details would be also fully documented here - https://www.ninjatrader.com/support/.../importing.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      molecool, that would need to be done from two source files then, one for bid data, the other for the ask data.

      You are correct in understanding the needed formatting changes, all details would be also fully documented here - https://www.ninjatrader.com/support/.../importing.htm
      I just saw the following thread:

      gparkis I just took a look at the format and it seems that they quote both sides of the market at the same time. Contrary to the answers above, you can import it to NT 7 if you did some rearrangements yourself so that it is in the same format: 1. Combine the DATE and TIME columns into a unified timestamp in yyyymmdd hhmmss format. 2. Separate your data into 2 files: - one with { newTimestamp, Bid, BidSize } as each row, - another with {newTimestamp, Ask, AskSize } as each row 3. Run a loop that removes row …


      It is claimed there that the import would be impossible: "the files in which Ninjatrader stores bid, last, and ask data have one second time stamps so cannot be synchronized when backfilling charts".

      Can you please comment on this? I don't want to burn a lot of time for nothing.

      Comment


        #4
        Hi Molecool, the lowest timestamp granularity in NT7 is one second, that is correct.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by benmarkal, Yesterday, 12:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by helpwanted, Today, 03:06 AM
        1 response
        19 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        11 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        244 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Working...
        X