• 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 dtl-saw, Today, 08:50 PM
                0 responses
                2 views
                0 likes
                Last Post dtl-saw
                by dtl-saw
                 
                Started by waterman, Today, 07:02 PM
                0 responses
                6 views
                0 likes
                Last Post waterman  
                Started by authenticx, Today, 03:51 PM
                0 responses
                16 views
                0 likes
                Last Post authenticx  
                Started by PN720, Today, 12:54 PM
                1 response
                20 views
                0 likes
                Last Post NinjaTrader_Jim  
                Started by linuxguru, Yesterday, 05:59 PM
                1 response
                32 views
                0 likes
                Last Post NinjaTrader_Kate  
                Working...
                X