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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      82 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      43 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      56 views
      0 likes
      Last Post CarlTrading  
      Working...
      X