Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

To understand StopTargetHandling options

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

    To understand StopTargetHandling options

    Dear NT8 Support,

    After reading the documentation tips I still unable to understand. Documentation mentioned:
    //---start---
    StopTargetHandling

    Tip: The default strategy behavior is to match the order quantity used for the stops and targets to the overall strategy position. However in cases where the strategy's entry order is partially filled, StopTargetHandling.ByStrategyPosition will result in a new set of stop loss and profit target orders for each entry execution. If you would prefer all of your stops and targets to be placed at the same time within the same order, it is suggested to use StopTargetHandling.PerEntryExecution. However this may result in more stop and target orders being submitted than the overall strategy position in a scenario in which the strategy's entire entry orders are not filled in one fill.
    //---end-----
    Let's say I use a ATM template of qty=2, stop1=10, stop2=20, target1=15, target2=25 (ticks), what is the different outcomes when the option is set to (1) StopTargetHandling.PerEntryExecution, (2) StopTargetHandling.ByStrategyPosition with scenarios (A) partial filled & stay at that, (B) partial filled & fully filled,say, 1 min later?

    Explaining with an example/s should help me understand the option settings.

    Thanks.

    #2
    Hi Tiang,

    I've have a member of our support look further into this and let you know what they find.

    I appreciate your patience.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Tiang,

      I wanted to give you an update that I'm still looking into this.

      I'm having a discussion with our development team about the expected behaviors with .ByStrategyPosition and .PerEntryExecution.

      We appreciate your patience.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hello Tiang,

        Thank you for your patience.

        We had to update the Help Guide which you can view the correct information at the following link: https://ninjatrader.com/support/help...ethandling.htm

        Concerning the application using your examples pleaase see the following.
        Let's say I use a ATM template of qty=2, stop1=10, stop2=20, target1=15, target2=25 (ticks), what is the different outcomes when the option is set to (1) StopTargetHandling.PerEntryExecution, (2) StopTargetHandling.ByStrategyPosition with scenarios (A) partial filled & stay at that, (B) partial filled & fully filled,say, 1 min later?
        With StopTargetHandling.ByStrategyPosition the outcome would be the orders set based on the distance from the initial fill price of the position. Partial fills will result in "stacked" orders but at the same price levels.

        With StopTargetHandling.PerEntryExecution the outcome would be that the orders are set based on the filled amount of each execution and any partial fills if at different price levels will result in the Stops and Targets at different price levels.

        Please let me know if you have any questions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by muratb35, Today, 03:36 AM
        0 responses
        3 views
        0 likes
        Last Post muratb35  
        Started by fernlicht, Today, 02:16 AM
        1 response
        9 views
        0 likes
        Last Post NT-Roland  
        Started by fernlicht, 04-12-2021, 06:01 PM
        1 response
        28 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by memonolog, Today, 02:10 AM
        3 responses
        6 views
        0 likes
        Last Post memonolog  
        Started by orenytz, Today, 12:25 AM
        0 responses
        8 views
        0 likes
        Last Post orenytz
        by orenytz
         
        Working...
        X