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

Get Order

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

    Get Order

    Hi,

    Is it possible to get list of pending order ( filled by control center of ninja trader or by strategy) in an other strategy to change their stop-loss or limit.


    Regards,
    Irfan

    #2
    Hello Irfan,

    Thank you for your post.

    There is no supported code to pull orders from outside of the strategy. However, there may be unsupported code to do this.

    Please let me know if I may be of further assistance.

    Comment


      #3
      Get Order

      Ok Thanks

      Can You plz tell me what You say in this line there may be unsupported code to do this .

      Comment


        #4
        Hello Irfan,

        Thank you for your response.

        There are many unsupported methods in NinjaScript (meaning undocumented methods to achieve certain goals or items). This is because NinjaScript is based on the Microsoft programming language C#.

        Please let me know if you have any questions.

        Comment


          #5
          ok can you plz give me some sample code which can help me to get order from an other strategy.

          Comment


            #6
            Hello Irfan,

            Thank you for your response.

            This is not supported in NinjaScript and I am unaware of any method to pull order ids from other strategies or manually placed orders.

            However, one of our forum members may know how to achieve this. You may find what you are looking for at the following thread: http://www.ninjatrader.com/support/f...ad.php?t=50975

            Comment


              #7
              Thanks

              Can you tell me the procedure for downloading Local order manager library in Ninjatrader. is this library is free?

              Comment


                #8
                Hello Irfan,

                Thank you for your inquiry.

                I am not sure what the Local Order Manager Library is. Can you clarify on your request?

                Comment


                  #9
                  I read this on the link which u specified for getting order list. In this he used the variable of LongOrderManager class.So why I am asking for this in what way I can get.

                  Comment


                    #10
                    Hello Irfan,

                    Thank you for your response.

                    This is a resource available on another forum: http://www.bigmiketrading.com/wiki/t...ager-LOM-Guide

                    Please let me know if I may be of further assistance.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by burtoninlondon, Today, 12:38 AM
                    0 responses
                    3 views
                    0 likes
                    Last Post burtoninlondon  
                    Started by AaronKoRn, Yesterday, 09:49 PM
                    0 responses
                    11 views
                    0 likes
                    Last Post AaronKoRn  
                    Started by carnitron, Yesterday, 08:42 PM
                    0 responses
                    11 views
                    0 likes
                    Last Post carnitron  
                    Started by strategist007, Yesterday, 07:51 PM
                    0 responses
                    12 views
                    0 likes
                    Last Post strategist007  
                    Started by StockTrader88, 03-06-2021, 08:58 AM
                    44 responses
                    3,982 views
                    3 likes
                    Last Post jhudas88  
                    Working...
                    X