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

Uploading Weekly Data

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

    Uploading Weekly Data

    I am trying to upload the weekly unemployment data and keep getting "Import field separator could not be identified." I have the data in proper date;data format. Is it because the dates are just weekly? Do I need to included all weekday dates for the import to work properly? Thanks...

    #2
    dunwoodyjr,

    What technique are you using to import this data? Have you taken a look at our reference samples for reading from a file?

    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      I have imported data the same way before. I set it up in Excel, save a .csv, then open in Notebook, change "," to ";" and save as .txt. with the name being the same as the new symbol I created (In this case: WKUNEMP. Here is a sample:

      19710102;303000
      19710109;288000
      19710116;299000
      19710123;312000
      19710130;292000
      19710206;296000

      I use Historical Data Manger>Import to find the file and import. This time, I cannot get it to import. From this bit a info, any ideas?

      Comment


        #4
        I see - Thanks for the clarification. Imported historical data must follow the format indicated here:


        Although your data is weekly, there is no specific weekly format - they're built from daily bars. It doesn't require a separate item for each day, so you're good there. What you will have to do is add values for all the fields it's looking for. In this case, OHLC and Volume.

        Example:
        19710102;303000;303000;303000;303000;0

        Daily Bars Format
        Each bar must be on its own line and fields must be separated by semicolon (. Only 1 day bars can be imported.

        The format is:
        yyyyMMdd;open price;high price;low price;close price;volume

        Sample data:
        20061023;1377.25;1377.25;1377.25;1377.25;86
        20061024;1377.25;1377.25;1377.25;1377.25;27
        20061025;1377.25;1377.25;1377.25;1377.25;24
        20061026;1377.50;1377.50;1377.25;1377.25;82
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Thanks!! Stupid error. Still learning. I will save for future use...

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,221 views
          0 likes
          Last Post xiinteractive  
          Started by andrewtrades, Today, 04:57 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by chbruno, Today, 04:10 PM
          0 responses
          6 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Started by josh18955, 03-25-2023, 11:16 AM
          6 responses
          436 views
          0 likes
          Last Post Delerium  
          Started by FAQtrader, Today, 03:35 PM
          0 responses
          9 views
          0 likes
          Last Post FAQtrader  
          Working...
          X