• 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

Default Instrument List - where stored

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

    Default Instrument List - where stored

    Is it possible retrieve Default Instrument list (with my own instruments/symbols) ? From ouside of program.

    thank you

    #2
    Hello alda.pech,

    Thanks for the post and welcome to the NinjaTrader forums. Unfortunately there is no support for managing instruments and lists beyond using the instrument manager.

    Most of the instrument definitions are stored in the database, which is not open. There are some components stored in C:\Program Files\NinjaTrader\db\Instruments.txt. We won't be able to help you work with this file, but you you're free to open and see if it can offer you shortcuts to working in the instrument manager.
    Ryan MNinjaTrader Customer Service

    Comment


      #3
      Thank you for quick answer.

      I need only read instrument list. I saw .sdf file and Instruments.txt file, but I didnt find this particular list. Maybe it is generated from more places.

      I develop solution for retrieving orders generated in NT, through your AT Interface (via File) and this list could help me.

      Edit: I found it in tables, not in any txt file :-(
      Last edited by alda.pech; 05-20-2011, 01:59 PM.

      Comment


        #4
        Originally posted by alda.pech View Post
        Thank you for quick answer.

        I need only read instrument list. I saw .sdf file and Instruments.txt file, but I didnt find this particular list. Maybe it is generated from more places.

        I develop solution for retrieving orders generated in NT, through your AT Interface (via File) and this list could help me.

        Edit: I found it in tables, not in any txt file :-(
        For me the question is still relevant. Tell me which variable the default list of tools is stored in?

        Comment


          #5
          Hello KeenEdge,

          Thank you for your response.

          The file itself is the database .sdf file under Documents\NinjaTrader 7\db folder.
          You could pull the instruments list in NinjaScript with the following code:
          Code:
          NinjaTrader.Cbi.InstrumentList list1 = NinjaTrader.Cbi.InstrumentList.GetObject("Default");
          Please keep in mind this is unsupported code.

          Please let me know if I may be of further assistance.
          Patrick H.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by w0lverine, Today, 03:57 AM
          0 responses
          1 view
          0 likes
          Last Post w0lverine  
          Started by digibob, Today, 02:47 AM
          0 responses
          1 view
          0 likes
          Last Post digibob
          by digibob
           
          Started by NinjaCustomer, Today, 12:57 AM
          1 response
          5 views
          0 likes
          Last Post NinjaCustomer  
          Started by lancasterstephen, Today, 12:09 AM
          1 response
          5 views
          0 likes
          Last Post lancasterstephen  
          Started by liltr3d, Yesterday, 10:52 PM
          0 responses
          5 views
          0 likes
          Last Post liltr3d
          by liltr3d
           
          Working...
          X