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 rhyminkevin, Today, 04:58 PM
                    2 responses
                    43 views
                    0 likes
                    Last Post loosek
                    by loosek
                     
                    Started by iceman2018, Today, 05:07 PM
                    0 responses
                    5 views
                    0 likes
                    Last Post iceman2018  
                    Started by lightsun47, Today, 03:51 PM
                    0 responses
                    7 views
                    0 likes
                    Last Post lightsun47  
                    Started by 00nevest, Today, 02:27 PM
                    1 response
                    14 views
                    0 likes
                    Last Post 00nevest  
                    Started by futtrader, 04-21-2024, 01:50 AM
                    4 responses
                    49 views
                    0 likes
                    Last Post futtrader  
                    Working...
                    X