Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

External data feed: Instrument mapping ignored

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

    External data feed: Instrument mapping ignored

    I am using the external data feed to send data to NT.
    I have set up a mapping for "EURUSD" in the instrument manager. I set "External" to "EUR/USD.fx". However, this mapping seems to be ignored.

    If I send data using

    Code:
    Last("EUR/USD.fx", price, volume);
    then I get nothing in NT. If I use

    Code:
    Last("EURUSD", price, volume);
    then it works.

    #2
    Please check your Control Center logs for any errors.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      No, nothing in the log.

      Comment


        #4
        I am not sure. Please try dropping the ".fx".
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          That doesn't work either (and also would defeat the purpose of having a mapping).

          Comment


            #6
            Please provide reference samples you are using so we can test with them. Thank you.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Code:
              using System;
              using System.Threading;
              using NinjaTrader.Client;
               
              class Test
              {
                  static void Main(string[] args)
                  {
                      Client nt = new Client();
               
                      while(true)
                      {
                          // Works (tick gets added to $EURUSD chart)
                          nt.Last("EURUSD", 1, 1);
               
                          // Doesn't work (even though mapping is defined)
                          nt.Last("EUR/USD.fx", 2, 1);
               
                          Thread.Sleep(1000);
                      }
                  }
              }

              Comment


                #8
                Unfortunately having "." (dot) in a external mapping is not supported.

                Comment


                  #9
                  Originally posted by NinjaTrader_Dierk View Post
                  Unfortunately having "." (dot) in a external mapping is not supported.
                  I don't think that this is the cause of the problem, as just "EUR/USD" does not work either. Actually, even using something like "ABCXYZ" (and adapting the mapping accordingly) does not work. So it seems to me that the mapping is just being completely ignored.

                  Comment


                    #10
                    I know for fact that "." would not work since I debugged. However, you are right as well, since currently external mappings for currencies are not supported at all.

                    Next NT7 update (not the one which came out today) will hold a code change to meet your requirements.

                    Thanks

                    Comment


                      #11
                      Thanks, that's good news (hopefully "." will then work as well)!

                      Comment


                        #12
                        Yes, it will as I just tested.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        602 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        347 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        103 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        560 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        559 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X