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 OllieFeraher, 05-09-2024, 11:14 AM
                    6 responses
                    19 views
                    0 likes
                    Last Post OllieFeraher  
                    Started by PaulMohn, 05-02-2024, 06:59 PM
                    2 responses
                    42 views
                    0 likes
                    Last Post PaulMohn  
                    Started by ETFVoyageur, Today, 02:10 AM
                    0 responses
                    10 views
                    0 likes
                    Last Post ETFVoyageur  
                    Started by rayyyu12, Today, 12:47 AM
                    0 responses
                    8 views
                    0 likes
                    Last Post rayyyu12  
                    Started by ETFVoyageur, 05-07-2024, 07:05 PM
                    17 responses
                    137 views
                    0 likes
                    Last Post ETFVoyageur  
                    Working...
                    X