Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

no position size in some overloads

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

    no position size in some overloads

    In some order options, for example ExitLongStop(), some of the overloads do not have an option for position size. What happens if no position size is entered as an overload? Does it simply exit the full position that was used in the EnterLongStop()?

    #2
    Hello Jg123,

    Thank you for your note.

    Yes, if no contract size is entered for the overload it will exit all the open positions for that direction.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Oh okay. All the open positions. That is good to know.

      will it be all the open positions that were opened via that strategy, or does this also include positions that were entered via another strategy and/or positions that were entered manually directly into the TWS or NT without the assistance of an automated strategy?

      Comment


        #4
        Jg123,

        You have say 11 long positions for the strategy open and you submit ExitLongStop()

        That order will be for 11 contracts to close out the strategy's positions and nothing else.
        Last edited by NinjaTrader_CalH; 06-27-2014, 10:06 AM.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          okay, regardless of how each contract was opened. right?

          Comment


            #6
            Jg123,

            No, this will be kept towards the running strategy's positions and not close out any other positions.
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by adeelshahzad, Today, 03:54 AM
            5 responses
            31 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by stafe, 04-15-2024, 08:34 PM
            7 responses
            31 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by merzo, 06-25-2023, 02:19 AM
            10 responses
            823 views
            1 like
            Last Post NinjaTrader_ChristopherJ  
            Started by frankthearm, Today, 09:08 AM
            5 responses
            18 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            43 views
            0 likes
            Last Post jeronymite  
            Working...
            X