Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

All or none question???

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

    All or none question???

    I have a system where I use the commands EnterLongLimit(5000, GetCurrentBid(), ""); and EnterShortLimit(5000, GetCurrentAsk(), "");

    Sometimes, it fills 5000 at once, and other times it is different (like 431 and 4569). Then when using SetProfitTarget and it hits, it only fills 4569?????

    Is there an "all-or-none" command I can use to avoid this???

    #2
    Hello edgeliner,
    Thanks for writing in and I am happy to assist you.

    Unfortunately the All-or-None feature is not available for live trades in NinjaTrader. For Sim trades however you can uncheck "Enforce partial fills" from Tools>Options>Simulator tab to do it.

    I will however forward your feature request to development for future enhancement.

    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Great Joydeep! Thanks a bunch!!!!!

      Comment


        #4
        Joydeep...... If I am running it in my live account, will it avoid partial fills then?????

        Comment


          #5
          Hello,

          This option will not have any effect on live trades. The live orders will be filled based off of market dynamics and we have no control over how a trade is filled in a live account.
          MatthewNinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          647 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          368 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          108 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          571 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          573 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X