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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          60 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          147 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          97 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          284 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X