Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem importing historical data

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

    Problem importing historical data

    I'm using NinjaTrader 7.0.0.22.

    I read in the help guide http://www.ninjatrader-support.com/H...de.html?Import

    to import historical data in the format

    yyyyMMdd HHmmss;open price;high price;low price;close price;volume
    ie.
    20061023 004400;1377.25;1377.25;1377.25;1377.25;86

    I try importing data in the format

    20091228 073000;1125.25;1125.75;1124.75;1124.75;5247.00
    20091228 073100;1124.75;1125.00;1124.00;1124.25;4078.00
    20091228 073200;1124.50;1124.50;1124.00;1124.25;2292.00
    20091228 073300;1124.25;1124.75;1124.00;1124.50;2374.00

    and get the error "Format error in line 0: Input string was not in a correct format,

    Is this fixed in the RC, or is it a problem with my data?

    #2
    Hi altjt,

    Thank you for your post.

    The issue is with the data you are importing.

    The final value in the import data file is supposed to be a volume, but in your example the final value has decimal places indicating it can not be a volume.

    20091228 073300;1124.25;1124.75;1124.00;1124.50;2374.00

    What you will want to do is on that last column remove the .00 portion and then you should be able to import.
    Ryan O.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your help Ryan.

      Changed the formatting on the volume and it worked perfectly.

      JT

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      612 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      355 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      561 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      564 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X