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 zstheorist, Today, 07:52 PM
        0 responses
        3 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        149 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Working...
        X