Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

hi mintime issue

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

    hi mintime issue

    hi
    i m trying to calculate the least time between two ticks based upon dukascopy tick history which comes in the form :
    yyyymmddhhmmss.fff
    but when converting to ninja trader the milliseconds is lost
    is there any way to make nt import the time stamp with milliseconds

    #2
    Hello,
    NinjaTrader will import with milliseconds as long as the data is in the format that NinjaTrader excepts.
    Please review the following link for the data formats for Tick format: http://ninjatrader.com/support/helpG.../importing.htm

    If we can be of any other assistance please let us know.
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      Tick Format
      Each tick must be on its own line and fields must be separated by semicolon (.

      The format is:
      yyyyMMdd HHmmss;price;volume

      Sample data:
      20061107 000431;1383.00;1
      20061107 000456;1383.25;25
      20061107 000456;1383.25;36
      20061107 000537;1383.25;14

      Note: Generating bars from imported tick data is done based off of the timestamps of the tick data. Since granularity of the timestamps are down to the second, it is possible that the generated bars do not perfectly match minute or daily bars provided by the data provider as they may utilize granularity more than the second for their own bar generations.


      does this mean nt doesnt import milliseconds?

      Comment


        #4
        Hello ahmedallam,

        NinjaTrader 7 would not import the milliseconds. You would need to format the data as listed in the Historical Data Manager documentation at the following link: http://ninjatrader.com/support/helpG.../importing.htm

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, Yesterday, 06:40 PM
        2 responses
        19 views
        0 likes
        Last Post algospoke  
        Started by ghoul, Today, 06:02 PM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        45 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        180 views
        0 likes
        Last Post jeronymite  
        Working...
        X