Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Partial Fills On Entry During Simulation

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

    Partial Fills On Entry During Simulation

    I am running a strategy right now with position size set 'by strategy' of 100 shares. Almost everytime an entry occurs, it fills in lots of 95 shares, 2, and 3 shares (or some variation thereof). Sometimes it is two executions, sometimes three.

    Is there a way to make the entry orders be "all or nothing", so that it will only execute if 100 shares can be filled? I believe that most brokerages support an All or Nothing order type.

    For exit, I use a trailing stop and have the Stop and Target Submission set to "ByStrategyPosition", so it only has one trailing stop order for all three entries, but then it will also create partial fills once it is executed.

    Thanks,

    kc

    #2
    If you are in sim mode you can try this: Tools->Options->Simulator->Uncheck "Enforce partial fills". In real-life, there is no guarantee that you do not get partial fills.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      If you are in sim mode you can try this: Tools->Options->Simulator->Uncheck "Enforce partial fills". In real-life, there is no guarantee that you do not get partial fills.
      I should have mentioned that I already have that box unchecked, yet am still getting parital fills in simulation.

      Comment


        #4
        Right. There is no guarantees you do not get a partial fill. Being partially filled is a function of what is happening in the market. It is even more prevalent if you are using limit order types.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          You would think that in simulation mode, which is what I am in, by unchecking that box that would force it to fill you only once. What is the point of the "enforce partial fills" box if unchecking it does not do anything?

          As far as I can tell, partial fills are enforced whether the box is checked or not.

          Comment


            #6
            No. Enforce partial fills helps you test partial fills in a liquid market where it would otherwise not happen. In illiquid markets this is a different story. The simulator takes into consideration bid price, ask price, bid/ask volume, last price/volume, etc. The algorithm is highly dynamic and no matter how you play it, if you are in an illiquid market you will get partial fills.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Yeah, I hear ya, but it still isn't quite right. Would you consider MSFT or AAPL a liquid market? I'm not sure gets any more liquid. That is what I'm testing on. I'm using market orders.

              In real life, if you place a 100 share market order on pretty much any Nasdaq 100 stock, you will get filled instantly, no partial fill. For some reason, with eSignal data and in simulation mode, NT doesn't seem to think it could obtain that execution. I guess I'll have to wait and see how it performs in real-time, but still not sure I understand why you can't configure the simulator to not have partial fills. Thanks,

              kc

              Comment


                #8


                Check your delay settings.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                558 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                324 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                545 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                547 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X