Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 TraderBCL, Today, 04:38 AM
        2 responses
        7 views
        0 likes
        Last Post TraderBCL  
        Started by martin70, 03-24-2023, 04:58 AM
        14 responses
        105 views
        0 likes
        Last Post martin70  
        Started by Radano, 06-10-2021, 01:40 AM
        19 responses
        606 views
        0 likes
        Last Post Radano
        by Radano
         
        Started by KenneGaray, Today, 03:48 AM
        0 responses
        4 views
        0 likes
        Last Post KenneGaray  
        Started by thanajo, 05-04-2021, 02:11 AM
        4 responses
        471 views
        0 likes
        Last Post tradingnasdaqprueba  
        Working...
        X