Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Close all postions

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

    Close all postions

    is there a way to programs ninjatrader to close all position and EOD regardless of whether they have been entered via ninja strategy, manually or third party application.

    Can u set up a blanket rule to close all open position at xxx time?

    #2
    There are two ways to flatten all your trades at once.

    1. In the Control Center, Tools -> Options -> Misc has a "flatten positions" option, which will allow you to schedule a time to flatten all of your positions automatically

    2. In a SuperDOM window, the "flatten" button will automatically flatten all your positions.

    Unfortunately, there is no supported way to do this via NinjaScript.
    Last edited by NinjaTrader_JessicaP; 01-07-2016, 07:06 AM.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by fiddy View Post
      is there a way to programs ninjatrader to close all position and EOD regardless of whether they have been entered via ninja strategy, manually or third party application.

      Can u set up a blanket rule to close all open position at xxx time?
      ref: http://ninjatrader.com/support/forum...t.php?p=216616

      Comment


        #4
        In reference to option 1, will this also cancel any open orders which related to current open position (ie buytocover orders still open

        Comment


          #5
          Yes, any of NinjaTrader's flatten functions should exit out of all of your short positions, as well as all of your long positions.
          Jessica P.NinjaTrader Customer Service

          Comment


            #6
            apologies if my question was not clear, will the flatten anything function close and out your position and also cancel any orders attached to that position

            Comment


              #7
              Yes, flatten will close all positions and cancel any unfilled orders.
              Jessica P.NinjaTrader Customer Service

              Comment


                #8
                i do not see flatten position in NT8... i see auto close positions if i leave it as 0 inntruments does it do them all?

                Comment


                  #9
                  Hello babouin77,

                  The "auto close" feature within NinjaTrader 8 may be set to close all instruments.

                  To do this, simply enable the "Auto close position" option under Tools > Options > Trading.

                  Once you click on "0 instruments" you may then enter specific instruments, including their expiration (e.g. "AAPL" or "ES 12-20") or select "Auto close on all instruments", which would then apply to any and all positions currently active on your account(s):

                  Click image for larger version

Name:	auto close.png
Views:	495
Size:	34.0 KB
ID:	1131365

                  Please don't hesitate to let me know, should you have any further questions!
                  Manfred F.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by LawrenHom, Today, 10:45 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post LawrenHom  
                  Started by love2code2trade, Yesterday, 01:45 PM
                  4 responses
                  28 views
                  0 likes
                  Last Post love2code2trade  
                  Started by funk10101, Today, 09:43 PM
                  0 responses
                  7 views
                  0 likes
                  Last Post funk10101  
                  Started by pkefal, 04-11-2024, 07:39 AM
                  11 responses
                  37 views
                  0 likes
                  Last Post jeronymite  
                  Started by bill2023, Yesterday, 08:51 AM
                  8 responses
                  44 views
                  0 likes
                  Last Post bill2023  
                  Working...
                  X