Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Having problems importing Danish stocks

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

    Having problems importing Danish stocks

    Hi

    Via the instrument list I have tried to open up Danish stocks which yahoo supports, but it does not seem to work? It only allows me to open American stocks?

    Assuming that there is no solution and I can´t open any kind of european lists I have tried to import historical data from Yahoo in the .csv format, but it gives me the following error in the log (NKT is the stock - copenhagen stock exchange)

    "02-09-2007 13:19:22 Default NKT: Unexpected number of fields in line '1', should be 6 or 3"

    I have looked at the following link, but found no answer seeing that the yahoo format is should corret. The only difference is that yahoo has a line 7 with "adjusted volume"

    here: http://www.ninjatrader-support.com/H...V6/Import.html

    #2
    You must manually add each Danish instrument into NinjaTrader manually. I am not sure if we support that specific exchange in the Instrument Manager, you will need to check this.

    The problem with the import is that the 1st line of the file does not contain the correct specified number of fields.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thank you for your response! I assume that the problem with the .csv file from Yahoo is that it contains 7 variables because it also includes "adjusted close" ?

      I´m pretty sure that Ninjatrader does not support Copenhagen Stock Exchange (that is why it is so important for me to get the import function to work), but it for example supports Olso Stock Exchange (OSE), but I can´t seem to get manually added stocks to work?...

      ...how would you manually add for example the stock: SIOFF which is listed on OSE using the Instrument Manager, so I can later retrieve a graph...step by step please, I´m really not good at this

      Comment


        #4
        - which broker is this? IB?
        - what are the exact strings for the exchanges you'll need? OSE? else?

        Thanks

        Comment


          #5
          Thanks again for responding so fast. Im really sorry, but when you are refering to the broker I don´t know what you exactly mean? I´m only using data from Yahoo - was that the answer?

          Regarding the exact strings thats more troublesome. For example in Ninjatrader Oslo Stock Exhange is listed as OSE, but I have also seen it listed as "XOSL" in for example my SAXO TRADER ( my tradeplatform). But I need the following exhanges:

          Copenhagen Stock Exchange: CSE
          Oslo Stock Exchange: OSE or OSL
          Stockholm Stock Exchange: SSE or OME

          Hope that helped?

          Comment


            #6
            Sorry, misunderstanding on my end. Apparently our YAHOO adapter does not support these exchanges. I'll add this to the list for future considerations.

            Comment


              #7
              Thank you very much! Ninjatrader contains very good value for me, so I'll will be looking forward to a future update.

              Comment


                #8
                Tools -> Instument Manager -> Master Instuments -> New, then:

                The Mapping for NKT (= example for Copenhagen)

                Master instrument: NKT
                instrument type: Stock
                description: NKT HOLDING
                url: http://finance.yahoo.com/q?s=NKT.CO
                Misc -> symbol map -> Yahoo: NKT.CO

                Example for Oslo:

                Master instrument: NHY
                instrument type: Stock
                description: Norsk Hydro
                url: http://finance.yahoo.com/q?s=NHY.OL
                Misc -> symbol map -> Yahoo: NHY.OL

                Example for Stockholm:

                Master instrument: SCOR
                instrument type: Stock
                description: SWITCHCORE
                url: http://finance.yahoo.com/q?s=SCOR.ST
                Misc -> symbol map -> Yahoo: SCOR.ST

                Det funktionerer ?

                Hilsen,
                Christian
                ChristianSenior Software Developer

                Comment


                  #9
                  Thank you very very much Christian!!!!! It works wonders

                  Comment


                    #10
                    Originally posted by NinjaTrader_Christian View Post
                    Tools -> Instument Manager -> Master Instuments -> New, then:

                    The Mapping for NKT (= example for Copenhagen)

                    Master instrument: NKT
                    instrument type: Stock
                    description: NKT HOLDING
                    url: http://finance.yahoo.com/q?s=NKT.CO
                    Misc -> symbol map -> Yahoo: NKT.CO

                    Example for Oslo:

                    Master instrument: NHY
                    instrument type: Stock
                    description: Norsk Hydro
                    url: http://finance.yahoo.com/q?s=NHY.OL
                    Misc -> symbol map -> Yahoo: NHY.OL

                    Example for Stockholm:

                    Master instrument: SCOR
                    instrument type: Stock
                    description: SWITCHCORE
                    url: http://finance.yahoo.com/q?s=SCOR.ST
                    Misc -> symbol map -> Yahoo: SCOR.ST

                    Det funktionerer ?

                    Hilsen,
                    Christian
                    I used the example for Oslo and NHY but it says "Error on loading chart data for "NHY default": Unable to load historical data: unknown instrument"

                    I have tryed both the OSE and OES exchange, what can i do?

                    Comment


                      #11
                      Hello IvanB77,

                      Thank you for your post and welcome to the NinjaTrader Support Forum!

                      I have created a video on this item, please view the video at the following link: http://screencast.com/t/8iML4Ie1TWH8

                      Comment


                        #12
                        Thank you Patrick, have now done just what you explained in the video and it did not work, have deleted it and put it all in again, have also tried to disconnect and connect back to kinnect but no luck, bave also tried this with another Norwegian stock - REC ASA (REC Silicon) but no chart for me.

                        Comment


                          #13
                          Hello IvanB77,

                          Thank you for your response.

                          Please use the Yahoo connection with the instructions provided in the video: http://www.ninjatrader.com/Connectio...tion-Guide.php

                          Comment


                            #14
                            That fixed my problem, thank you so much for fast and great reply!

                            Comment


                              #15
                              Oslo Stock Exchange continued..

                              The proposed solution works well when your data source is Yahoo only. I recently added Interactive Brokers for real-time data and execution and then it stopped working.

                              As far as I can see OSE is NOT Oslo Stock Exchange but rather Osaka Stock Exchange, pretty obvious when you look at the OSE in Session Manager.

                              So from what I can understand, Oslo Stock Exchange is not on the NT Exchange list and should be added! Maybe then it will start working with IB as well.

                              Can you please put this on the list of suggested change?

                              Cheers.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by quantismo, 04-17-2024, 05:13 PM
                              4 responses
                              30 views
                              0 likes
                              Last Post quantismo  
                              Started by love2code2trade, 04-17-2024, 01:45 PM
                              4 responses
                              31 views
                              0 likes
                              Last Post love2code2trade  
                              Started by cls71, Today, 04:45 AM
                              2 responses
                              10 views
                              0 likes
                              Last Post eDanny
                              by eDanny
                               
                              Started by proptrade13, Today, 11:06 AM
                              0 responses
                              5 views
                              0 likes
                              Last Post proptrade13  
                              Started by kulwinder73, Today, 10:31 AM
                              1 response
                              10 views
                              0 likes
                              Last Post NinjaTrader_Erick  
                              Working...
                              X