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

partil fill

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

    partil fill

    HI NT experts,

    Will NT internal logic automatically cancel a partially filled entry order if the position of the partially filled order is closed with a market order?



    Regards,

    #2
    Hello binwang2,

    It depends here on where the order is submitted. If it happened outside the strategy environment there is no way for the strategy to know status of this fill.

    If market order is submitted by the strategy, there will be notification of the actual fill quantity received.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Hello binwang2,

      It depends here on where the order is submitted. If it happened outside the strategy environment there is no way for the strategy to know status of this fill.

      If market order is submitted by the strategy, there will be notification of the actual fill quantity received.

      Do i need to cancel the entry order manually, assuming the filled portion is closed?

      Comment


        #4
        Hello binwang,

        I'm not sure. Could you clarify the scenario you're intersted in?

        What is submitting orders?
        What is the result?
        What outcome do you want?
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Suppose my entry order is to long 10K USDJPY. 2K is filled, leaving entry order live for remaining 8K to be filled. However, market takes off.
          Then I exit the 2K USDJPY position with market order. Will the entry order wating to be filled automatically get cancelled by some NT internal logic?

          Comment


            #6
            If you submit the market order manually, there is no way for the strategy to know this. The strategy only acts in accordance with information related to the strategy and its fills.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              I am coding all this in a strategy.

              Comment


                #8
                Thanks for the clarification. I understand what you'd like to know and will look into this.
                Ryan M.NinjaTrader Customer Service

                Comment


                  #9
                  Yes, there is NT internal logic that will cancel the outstanding entry order when an exit statement is used.
                  Ryan M.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Rapine Heihei, Today, 08:19 PM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by Rapine Heihei, Today, 08:25 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post Rapine Heihei  
                  Started by f.saeidi, Today, 08:01 PM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by Rapine Heihei, Today, 07:51 PM
                  0 responses
                  6 views
                  0 likes
                  Last Post Rapine Heihei  
                  Started by frslvr, 04-11-2024, 07:26 AM
                  5 responses
                  97 views
                  1 like
                  Last Post caryc123  
                  Working...
                  X