• 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

unAdded Instrument Info

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

    unAdded Instrument Info

    Hello,
    Is there any way to get information about Instruments which is not Added?
    I mean e.g. I know that S&P has abbreviation ES, so I would like to know what kind of futures it is (Metal, Soft, etc..) Something like Inst("ES").FutureType.

    Thanks

    #2
    Hi Luigio, that info would unfortunately not be available, also not via coding, since our instrument database would not hold this info per se. I will however add this thought to our enhancement lists in product management, so it could be considered going forward in the further refinement of our platform.

    Thanks much,
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,
      Thank you that would be very helpful. Then I have an additional question even that the answer will be similar. Can I somehow check if an Instrument I am just going to add exists?
      e.g. I wont to add an instrument ZS 12-13 which actually does not exist, can I check it before I add it?
      If not may I somehow avoid showing the alert popup dialog window that the instrument does not exist?
      I thought try..catch.. could help but it did not.

      Thanks a lot.

      Comment


        #4
        You would need to access the database sdf for this check, however that's an area out of regular NinjaScript which we could not support here officially - http://www.ninjatrader.com/support/f...ad.php?t=49699

        An alternative for checking first what ever is entered in a user study, could be a Market Analyzer window.

        More flexible handling of popup windows is on our feedback lists as well.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by GTBrooks, Today, 02:44 PM
        0 responses
        4 views
        0 likes
        Last Post GTBrooks  
        Started by GLFX005, Today, 12:22 PM
        4 responses
        41 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by AspenHiker, Today, 08:37 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by MartinT, Yesterday, 01:12 PM
        3 responses
        16 views
        0 likes
        Last Post MartinT
        by MartinT
         
        Started by caveat_lector, Today, 11:58 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Heath  
        Working...
        X