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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          67 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          36 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          60 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          62 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X