• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

All or None

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

    All or None

    Hello.

    _numOfContracts = 2;
    EnterLongLimit(0, true, _numOfContracts, Close[0], "Long Entry");

    I want either the 2 contracts filled at the limit price or nothing.filled.

    I want to avoid a situation where only 1 contract gets filled at the limit.

    Is there a way to force either an "all or none" condition?

    #2
    Originally posted by rcsingleton View Post
    Hello.

    _numOfContracts = 2;
    EnterLongLimit(0, true, _numOfContracts, Close[0], "Long Entry");

    I want either the 2 contracts filled at the limit price or nothing.filled.

    I want to avoid a situation where only 1 contract gets filled at the limit.

    Is there a way to force either an "all or none" condition?
    That will be a FillOrKill order. NT does not support it, or at least does not list it as an OrderType anymore.

    Comment


      #3
      Hi rcsingleton, thanks for your note.

      That would be called a partial fill in NinjaTrader. You can detect and handle partial fills using on OnOrderUpdate. There is not an order type that would do this automatically. The behavior would need to be customized in OnOrderUpdate.

      Please let me know if I can assist any further.
      Chris L.NinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_ChrisL View Post
        Hi rcsingleton, thanks for your note.

        That would be called a partial fill in NinjaTrader. You can detect and handle partial fills using on OnOrderUpdate. There is not an order type that would do this automatically. The behavior would need to be customized in OnOrderUpdate.

        Please let me know if I can assist any further.
        Actually he says that he does not want a partial fill at all; only a complete fill.

        Comment


          #5
          Hello all,

          Unfortunately, NinjaTrdader does not support a KoF or IOC Time in Force. I'll add a feature request to add a KoF option and upvote SFT-1489 which is a request to add IOC Time in Force.

          Please let me know if I can assist any further.
          Chris L.NinjaTrader Customer Service

          Comment


            #6
            More info on SFT-1489 here,
            https://ninjatrader.com/support/foru...r-type-support
            Last edited by bltdavid; 03-31-2020, 12:25 PM. Reason: Fixed link

            Comment


              #7
              Originally posted by bltdavid View Post
              Circular link referencing this very thread? Mistake?

              Comment


                #8
                Oops, yes, it was a mistake ... I fixed the link.

                Thanks!

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by D Trader, Yesterday, 09:43 AM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by cassiano_sanches, 07-10-2020, 07:37 PM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by terminatorT1000, 07-10-2020, 06:40 PM
                2 responses
                31 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Giudiver, 07-10-2020, 04:29 PM
                2 responses
                17 views
                0 likes
                Last Post Giudiver  
                Started by rtwave, Today, 04:11 PM
                0 responses
                4 views
                0 likes
                Last Post rtwave
                by rtwave
                 
                Working...
                X