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 ttrader23, Yesterday, 09:04 AM
      8 responses
      37 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by tonynt, Yesterday, 01:48 PM
      2 responses
      10 views
      0 likes
      Last Post tonynt
      by tonynt
       
      Started by goodknight777, Today, 08:43 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Salahinho99, 05-05-2024, 04:13 AM
      5 responses
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by damethetrader, Today, 08:31 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Working...
      X