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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      309 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      349 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X