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

Is it possible to enforce full fills in NT?

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

    Is it possible to enforce full fills in NT?

    In other words, not allowing partial fills.

    #2
    alex,

    You can do this as part of the simulator but it wouldn't work the same with a live account.

    Enforce partial fills
    Enables or disables the forcing of partial fills on each order. If enabled, orders will always get filled with partial fills. When disabled orders are filled completely or partially depending on trade volume.

    This setting can be found in the Tools > Options menu.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I´m trying to enforce partial filled, I have set the Tools -> Options -> Simulator already and the orders keep getting complete filled.

      I set the quantity of my EnterLongStopLimit to 999.999 and set the stop and limit to the same value even thought I can´t get partial filled.

      what em I missing?

      Comment


        #4
        Hello,

        Thank you for writing in.

        Provide a link below to assist you further on what you are missing:


        Don't hesitate to contact us with any other NinjaTrader items we may assist with.

        Comment


          #5
          I can't see how that link explains my question.

          I set a debug variable in the initialize method and I sow the order get partial filled, but it takes about half a second to be complete filled even thought I set a very high value, shouldn't it stop on a partial filled instead of go all the way to filled when I set the "Enforce partial fills"?

          Comment


            #6
            Hello,

            Thank you for the reply.

            The link that was provided in the previous post was to inform you how fill partial works.

            To directly answer your question as stated from the post from NinjaTrader_AdamP, checking the Enforce partial fills is used with the Sim101 account not with live account. Enabling Enforce partial fills does not prevent the order from completely filling. The order will fill completely, however, it fills in partial filled increments. This allow partial fills to be simulated with the Sim101 account to let you design your code to handle partial fills correctly and to have the logic perform correctly when experiencing orders that are filled in partial fills.

            Don't hesitate to contact us with any other NinjaTrader items we may assist with.

            Comment


              #7
              ok, thanks, now i got it. I even thought my installation was broken or something, but then its fine.

              Is there a way to better control or force partial fills, something like a variable i can use to prevent ninja to completely fill the order?

              PS: Thanks again.

              Comment


                #8
                Hello,

                Thank you for the reply.

                To prevent an order to be fully filled, a submitted quantity would require that a cancel order is sent at exactly the right time after a partial fill. After the partial is filled, the order would need to be cancelled before there are enough market volume to continue filling the order. If another partial fill occurs after the cancellation is sent, this will result in an overfill. It is difficult to not cause an overfill when cancelling the remaining quantity of an order after a partial fill.

                Don't hesitate to contact us with any other NinjaTrader items we may assist with.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by zstheorist, Today, 07:52 PM
                0 responses
                3 views
                0 likes
                Last Post zstheorist  
                Started by pmachiraju, 11-01-2023, 04:46 AM
                8 responses
                149 views
                0 likes
                Last Post rehmans
                by rehmans
                 
                Started by mattbsea, Today, 05:44 PM
                0 responses
                5 views
                0 likes
                Last Post mattbsea  
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                33 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Started by tkaboris, Today, 05:13 PM
                0 responses
                5 views
                0 likes
                Last Post tkaboris  
                Working...
                X