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

Double execution of Exit Strategies

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

    Double execution of Exit Strategies

    Hello

    I'm running a strategy with multiple exit strategies, most of the time it runs without any problem however, occasionally when a trade is being exited, 2 exit strategies are executed at the same time resulting in a net position being created.

    Would you have any ideas how I can solve this problem.

    Regards

    John

    BTW, some of my exit strategies are variable

    #2
    Overfills can occur if you have multiple exits in place, especially if they are close to each other. Only way to know what happen is to evaluate your individual situation with TraceOrders = true.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks Josh, the problem is that I am running over 30 different exit strategies.... I do already see the output but inevitably during each session I get at least 1 overfill.
      I'm wondering is there something I could write which does not accept an exit order as an opening position?

      Any suggestions?

      Comment


        #4
        John833,

        There is nothing that can be done since overfills occur when two exits go in place and both get filled before your NinjaTrader is notified.

        Say you had Exit A in place and then place Exit B. If A happens to get filled now, but before your brokerage can report this fill back to you, B gets filled at the exchange you now have an overfill. While the report for A being filled to come back across the internet, B got filled. There was no opportunity for you to cancel B. Even if you received the A fill event and tried to submit a B cancel. B could have been filled while your B cancel request was traversing the internet to get to your brokerage.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks Josh, I thought that might be the case.
          Last edited by John833; 06-15-2009, 04:25 PM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Waxavi, Today, 02:10 AM
          0 responses
          3 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Started by TradeForge, Today, 02:09 AM
          0 responses
          8 views
          0 likes
          Last Post TradeForge  
          Started by Waxavi, Today, 02:00 AM
          0 responses
          2 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Started by elirion, Today, 01:36 AM
          0 responses
          4 views
          0 likes
          Last Post elirion
          by elirion
           
          Started by gentlebenthebear, Today, 01:30 AM
          0 responses
          4 views
          0 likes
          Last Post gentlebenthebear  
          Working...
          X