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:	152
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 stafe, Today, 12:34 PM
                  2 responses
                  10 views
                  0 likes
                  Last Post stafe
                  by stafe
                   
                  Started by asmmbillah, Today, 11:18 AM
                  1 response
                  14 views
                  0 likes
                  Last Post NinjaTrader_ChrisL  
                  Started by nickse2003, Today, 09:56 AM
                  1 response
                  24 views
                  0 likes
                  Last Post NinjaTrader_ChristopherJ  
                  Started by ATMtrader0001, Today, 10:08 AM
                  5 responses
                  33 views
                  0 likes
                  Last Post ATMtrader0001  
                  Started by WHICKED, Today, 09:47 AM
                  1 response
                  21 views
                  0 likes
                  Last Post NinjaTrader_Spencer  
                  Working...
                  X