Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

About the market when importing a batch from the stock symbol list

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

    #16
    Thank you for your reply and much appreciated.

    NinjaTrader connects to other connections, and the symbol mapping is necessary to use the proper symbol notation with that connection type.
    ​​​​​​​I'm thinking of using TSE instead of TSEJ.
    How do I set up the correct symbol mapping for TES?​​​​​​​

    ​​​​​​​

    Comment


      #17
      Hello ラリー,

      You may need to test to see which is able to load data. However, I would expect either just the SYMBOL, or SYMBOL|TSE, or SYMBOL|SMART the symbol mapping would be appropriate for IB.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        Thank you for your reply.

        I have made the following settings from the import Stock Symbol List settings screen, and in both cases, two stock symbols (No. 1 shows a message with only one stock symbol) are successfully imported or updated, but when I open the chart afterwards, they do not seem to be displayed. The following is a list of the symbols that can be entered.

        (1) Input field   symbol only
        Traded on     Tse
        Currency      Japanese Yes
        Instrument list    optional
        Trading hours    ose     
        Separator characters   ,;


        (2)Input field     symbol|TSE
        Traded on       Tse
        Currency       Japanese Yes
        Instrument list     Optional
        Trading hours      ose     
        Separator characters  |


        (3)Input field    symbol|SMART
        Traded on       Tse 
        Currency       Japanese Yes
        Instrument list     Optional
        Trading hours     ose 
        Separator characters  |
        Last edited by ラリー; 08-15-2022, 01:14 AM.

        Comment


          #19
          Hello ラリー,

          Update the instrument settings in the Tools -> Instruments window after the import is complete. The custom symbol mapping for IB cannot be done in the import process.


          Replace the word symbol, with the actual symbol. Like 6804|SMART or 6804|TSEJ.

          Chelsea B.NinjaTrader Customer Service

          Comment


            #20
            Update the instrument settings in the Tools -> Instruments window after the import is complete.
            Thank you for your reply.

            I understand that you can display the chart in TSEJ by that method, but in that case, you need to update symbols one by one, right?

            However, it is very difficult to update many symbols one by one, so is there any other way?

            Comment


              #21
              Hello ラリー,

              Importing the instruments using unsupported and undocumented code would be the other way.
              I have a requirement to dynamically add Instruments into NinjaTrader database ( i am identifying these instruments based on logic elsewhere and they are supported by my Interactive Brokers feed). Is there a way for me to do that i.e. 1. Either by storing them in some format into Import directory 2. Or by programmatically adding


              Otherwise you will need to modify each instruments settings one by one.
              Chelsea B.NinjaTrader Customer Service

              Comment


                #22
                Thank you for your reply.

                When I run the code in the link you sent me with the ninja script, I get an output result saying that the error namespace cannot directly contain members like fields or methods.

                https://ninjatrader.com/support/foru...53#post1173053

                Comment


                  #23
                  Attached image when executed
                  Attached Files

                  Comment


                    #24
                    Hello ラリー,

                    The code has to be run in a NinjaScript. What you have is not a NinjaScript. Its just an empty file with no indicator or addon class..

                    Try creating a new indicator, and add this code to the State.DataLoaded of OnStateChange().

                    You also need strings of instrument symbols to resolve..

                    Below is a link to a forum post with helpful resources on getting started with NinjaScript and C#.
                    Last edited by NinjaTrader_ChelseaB; 08-17-2022, 07:46 AM.
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      #25
                      Thank you for your reply.

                      Try creating a new indicator, and add this code to the State.DataLoaded of OnStateChange().

                      You also need strings of instrument symbols to resolve..
                      Create a new indicator (with default settings) and
                      DataLoaded in OnStateChange(), but it outputs an error, and I referred to the link, but I am sorry, but I do not know where to put the instrument symbol string addition in the code that created the new indicator.
                      Attached Files

                      Comment


                        #26
                        Hello ラリー,

                        A basic understanding of C# will be needed to write the proper syntax.

                        Using the Strategy Builder and the View Code button can help to get you familiar with syntax and adding indicators, but we would recommend reviewing some publicly available C# resources to better learn the language to not stumble on syntax and compiler errors.

                        Also, we do have indicator and strategy tutorials. Combining these tutorials with using the Strategy Builder's View Code button and following the C# resources Chelsea has linked will give you all of the tools needed to get started.

                        Strategy Tutorials - https://ninjatrader.com/support/help...strategies.htm

                        Indicator Tutorials - https://ninjatrader.com/support/help...indicators.htm

                        Comment


                          #27
                          Thank you very much.

                          I will try various things.
                          I may ask you again about something else, but I would appreciate it if you could help me with that.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by argusthome, 03-08-2026, 10:06 AM
                          0 responses
                          69 views
                          0 likes
                          Last Post argusthome  
                          Started by NabilKhattabi, 03-06-2026, 11:18 AM
                          0 responses
                          42 views
                          0 likes
                          Last Post NabilKhattabi  
                          Started by Deep42, 03-06-2026, 12:28 AM
                          0 responses
                          24 views
                          0 likes
                          Last Post Deep42
                          by Deep42
                           
                          Started by TheRealMorford, 03-05-2026, 06:15 PM
                          0 responses
                          27 views
                          0 likes
                          Last Post TheRealMorford  
                          Started by Mindset, 02-28-2026, 06:16 AM
                          0 responses
                          54 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Working...
                          X