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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      419 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      278 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      238 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      324 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      287 views
      0 likes
      Last Post CarlTrading  
      Working...
      X