Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

problem import my own data

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

    problem import my own data

    hello, i'm try to import weekly data and i get this error 'time stamp line is smaller than timestamp of previous line'

    please see the data and tell what is wrong here so i can modified it.
    20151229 120000;436900;436900
    20151222 120000;435150;435150
    20151215 120000;411176;411176
    20151208 120000;425762;425762
    20151201 120000;442600;442600
    20151124 120000;429522;429522
    20151117 120000;501848;501848
    20151110 120000;481818;481818
    20151103 120000;477596;477596
    20151027 120000;477897;477897
    20151020 120000;483373;483373
    20151013 120000;461422;461422
    20151006 120000;463456;463456
    20150929 120000;447755;447755
    20150922 120000;468079;468079
    20150915 120000;471542;471542
    20150908 120000;459768;459768
    20150901 120000;452412;452412
    20150825 120000;446800;446800
    20150818 120000;535111;535111
    20150811 120000;539079;539079
    20150804 120000;539263;539263
    20150728 120000;500486;500486
    20150721 120000;545092;545092
    20150714 120000;537535;537535
    20150707 120000;528769;528769
    20150630 120000;514245;514245
    20150623 120000;573536;573536
    20150616 120000;591604;591604
    20150609 120000;593389;593389
    20150602 120000;575687;575687
    20150526 120000;563419;563419
    20150519 120000;563564;563564
    20150512 120000;572525;572525
    20150505 120000;569992;569992
    20150428 120000;546771;546771
    20150421 120000;587111;587111
    20150414 120000;593319;593319
    20150407 120000;569645;569645
    20150331 120000;552428;552428
    20150324 120000;561353;561353
    20150317 120000;557266;557266
    20150310 120000;544748;544748
    20150303 120000;507390;507390
    20150224 120000;489298;489298
    20150217 120000;535012;535012
    20150210 120000;548718;548718
    20150203 120000;553352;553352
    20150127 120000;500478;500478
    20150120 120000;507512;507512
    20150113 120000;482791;482791
    20150106 120000;477441;477441

    thanks.

    #2
    Hello 400396,

    Unfortunately weekly data is not supported. You can only import tick, minute or daily data this way. Please see the link below under 'Understanding import file and data formats'.
    JasonNinjaTrader Customer Service

    Comment


      #3
      thanks for the feedback, why I get the same error when I try to import this daily data?
      20151229 120000;436900;100
      20151228 120000;436900;100
      20151225 120000;436900;100
      20151224 120000;436900;100
      20151223 120000;436900;100
      20151222 120000;435150;100
      20151221 120000;435150;100
      20151218 120000;435150;100
      20151217 120000;435150;100
      20151216 120000;435150;100
      20151215 120000;411176;100
      20151214 120000;411176;100
      20151211 120000;411176;100
      20151210 120000;411176;100
      20151209 120000;411176;100
      20151208 120000;425762;100
      20151207 120000;425762;100
      20151204 120000;425762;100
      20151203 120000;425762;100
      20151202 120000;425762;100
      20151201 120000;442600;100
      20151130 120000;442600;100
      20151127 120000;442600;100
      20151126 120000;442600;100
      20151125 120000;442600;100
      20151124 120000;429522;100
      20151123 120000;429522;100
      20151120 120000;429522;100
      20151119 120000;429522;100
      20151118 120000;429522;100
      20151117 120000;501848;100
      20151116 120000;501848;100
      20151113 120000;501848;100
      20151112 120000;501848;100
      20151111 120000;501848;100
      20151110 120000;481818;100
      20151109 120000;481818;100
      20151106 120000;481818;100
      20151105 120000;481818;100
      20151104 120000;481818;100

      Comment


        #4
        Hello,

        This data is incorrectly formatted for import in to NinjaTrader. Daily data must use the following format:

        yyyyMMdd;open price;high price;low price;close price;volume


        For example:
        20160108;1936.5;1964.75;1910;1911.5;2694404
        20160111;1909.25;1929;1892.5;1914.25;2490336
        KyleNinjaTrader Customer Service

        Comment


          #5
          hi , thanks.
          I try to import this and I still get an error ('time stamp line 2 is smaller/equal than timestamp of previous line'
          :
          20151229;436900;436900;436900;436900;100
          20151228;436900;436900;436900;436900;100
          20151225;436900;436900;436900;436900;100
          20151224;436900;436900;436900;436900;100
          20151223;436900;436900;436900;436900;100
          20151222;435150;435150;435150;435150;100
          20151221;435150;435150;435150;435150;100
          20151218;435150;435150;435150;435150;100
          20151217;435150;435150;435150;435150;100
          20151216;435150;435150;435150;435150;100
          20151215;411176;411176;411176;411176;100
          20151214;411176;411176;411176;411176;100
          20151211;411176;411176;411176;411176;100
          20151210;411176;411176;411176;411176;100
          20151209;411176;411176;411176;411176;100
          20151208;425762;425762;425762;425762;100
          20151207;425762;425762;425762;425762;100
          20151204;425762;425762;425762;425762;100
          20151203;425762;425762;425762;425762;100
          20151202;425762;425762;425762;425762;100
          20151201;442600;442600;442600;442600;100
          20151130;442600;442600;442600;442600;100
          20151127;442600;442600;442600;442600;100
          20151126;442600;442600;442600;442600;100
          20151125;442600;442600;442600;442600;100
          20151124;429522;429522;429522;429522;100
          20151123;429522;429522;429522;429522;100
          20151120;429522;429522;429522;429522;100
          20151119;429522;429522;429522;429522;100
          20151118;429522;429522;429522;429522;100
          20151117;501848;501848;501848;501848;100
          20151116;501848;501848;501848;501848;100
          20151113;501848;501848;501848;501848;100
          20151112;501848;501848;501848;501848;100
          20151111;501848;501848;501848;501848;100
          20151110;481818;481818;481818;481818;100
          20151109;481818;481818;481818;481818;100
          20151106;481818;481818;481818;481818;100
          20151105;481818;481818;481818;481818;100
          20151104;481818;481818;481818;481818;100

          Comment


            #6
            Your data starts with the most recent time and goes back in time as your scroll down. Unfortunately it needs to be the other way around. It needs to start with the oldest data. See below.

            20151023;1377.25;1377.25;1377.25;1377.25;86
            20151024;1377.25;1377.25;1377.25;1377.25;27
            20151025;1377.25;1377.25;1377.25;1377.25;24
            20151026;1377.50;1377.50;1377.25;1377.25;82
            JasonNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by oneybuchi2, Today, 03:48 PM
            0 responses
            7 views
            0 likes
            Last Post oneybuchi2  
            Started by Graci117, 06-19-2024, 01:39 PM
            6 responses
            53 views
            0 likes
            Last Post Graci117  
            Started by farawayz, Today, 01:20 PM
            0 responses
            11 views
            0 likes
            Last Post farawayz  
            Started by rjm1903, Today, 01:10 PM
            0 responses
            6 views
            0 likes
            Last Post rjm1903
            by rjm1903
             
            Started by AH369, 06-21-2024, 11:09 AM
            3 responses
            27 views
            0 likes
            Last Post AH369
            by AH369
             
            Working...
            X