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:	497
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 Segwin, 05-07-2018, 02:15 PM
                  14 responses
                  1,788 views
                  0 likes
                  Last Post aligator  
                  Started by Jimmyk, 01-26-2018, 05:19 AM
                  6 responses
                  837 views
                  0 likes
                  Last Post emuns
                  by emuns
                   
                  Started by jxs_xrj, 01-12-2020, 09:49 AM
                  6 responses
                  3,292 views
                  1 like
                  Last Post jgualdronc  
                  Started by Touch-Ups, Today, 10:36 AM
                  0 responses
                  12 views
                  0 likes
                  Last Post Touch-Ups  
                  Started by geddyisodin, 04-25-2024, 05:20 AM
                  11 responses
                  62 views
                  0 likes
                  Last Post halgo_boulder  
                  Working...
                  X