• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing txt files

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

    Importing txt files

    Hello.

    This seems to be a simple question, but I got stuck for hours now, getting always the same message. " unable to import file....Instrument not supported by repository".

    I'm attaching the txt file, which I couldn't generate in the correct format (how do I separate chacacters with semicolons?) The instrument I have already registered in the instrument manager, I hope that I did it correctly, just followed the guide.

    Thanks for the help.

    #2
    Hello Birle,

    You will need to make sure the data in the text file is formatted as per the link below under 'Understanding import file and data formats'.
    http://www.ninjatrader.com/support/h.../importing.htm

    If it does not use the same format, you will experience the error message you report. You will need to separate values by a semi colon. You can enter such characters by opening the text file in Notepad.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Hi Jason.

      Thank you. I think my txt file looks right now, but I still get the same message. Can't figure out what's wrong.

      Regards

      Roberto Birle
      Attached Files

      Comment


        #4
        Hello Roberto,

        Thank you for your note.

        Based on what you uploaded, I think the file isn't named correctly.

        Which instrument does this file contain data for?
        Is this a futures contract? If so, which expiry of data is contained in the file?
        Finally, what interval of data are you trying to import?
        KyleNinjaTrader Customer Service

        Comment


          #5
          Thanks Kyle.

          This are daily data from ibovespa futures contract. It seems that the brazillian stocks and futures exchange is not listed, so I did the following:
          1. Created an instrument list (BVMF)
          2. Created a master instrument (INDG11). It seems that the file name is correct.
          3. Type - Future. Tick size - 5 (I'll try to change it to 1). Point value - 0,2
          4. Currency - Us Dollar (should be Brazillian Reais, not available).
          5. Session Templates - default 24/7 . Exchange - BVME (I just chose one, because BVMF is not listed)
          6. Symbol map - This I don't know what it means. I chose External by chance and wrot "ES" on the right column ??!!
          7. Expiry - I keep writing 02-11, but it keeps coming back to 12-10.

          Regards.

          Comment


            #6
            I changed the tick size to 1 point, but it still didn't work.

            Comment


              #7
              Hello Roberto,

              When I check the file, I notice quotation marks at the start and end of each line. These quotation marks need to be removed and are in violation with the format displayed in the help guide.

              Please note that NinjaTrader displays expiry months in numbers like, 03-11 - 06-11 and so on. The .txt file name needs to be the same as the instrument name + expiry within the software. For example:

              MSFT.Last.txt for Microsoft stock last price data
              ES 12-09.Bid.txt for the S&P E-mini December contract bid price data
              $EURUSD.Ask.txt for the Euro/U.S. dollar currency pair ask price data

              Please let me know if the issue persists after removing the quotation marks and naming the .txt file properly.
              JasonNinjaTrader Customer Service

              Comment


                #8
                Thanks Jason.

                It worked!!

                Comment


                  #9
                  Good to hear it worked.

                  Have a great New Year!
                  JasonNinjaTrader Customer Service

                  Comment


                    #10
                    Hello, Roberto.

                    Did you make it work?

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by tonynt, Today, 12:39 PM
                    0 responses
                    11 views
                    0 likes
                    Last Post tonynt
                    by tonynt
                     
                    Started by Martyb, 06-13-2019, 05:14 AM
                    10 responses
                    78 views
                    0 likes
                    Last Post iq200
                    by iq200
                     
                    Started by Erwin Beckers, 11-04-2018, 02:39 AM
                    4 responses
                    71 views
                    2 likes
                    Last Post brucerobinson  
                    Started by ntbone, Today, 01:25 AM
                    0 responses
                    6 views
                    0 likes
                    Last Post ntbone
                    by ntbone
                     
                    Started by bomanpbm, Yesterday, 09:27 PM
                    0 responses
                    8 views
                    0 likes
                    Last Post bomanpbm  
                    Working...
                    X