Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

*NT** AtmStrategyChangeStopTarget() method error: OrderName 'STOP1' does not exist

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

    #31
    Hello,

    Yes you do need to wait until your filled before you can modify an order. I get the same error once and the it modifies after its filled. Since its a market order your submitting it will take 1 or 2 OnBarUpdate cycles before it fills and then the stops will move.

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #32
      Is there a way to check if my order has been stop out?

      Comment


        #33
        Hello,

        If you are using an ATM strategy you can use the executions tab for current day trades or the account performance and you can see the name of the order that took you out of the position on the executions or trades tab. It will have a name called Stop 1 for example which would show you are stopped out on the trade with your first stop loss.

        Let me know if any questions.
        BrettNinjaTrader Product Management

        Comment


          #34
          I want to check it in the code. Is there a way on that?

          Comment


            #35
            Hello,

            You can in realtime using this method however you would not have access to historical data of an ATM Strategy from the account performance tab. You could only access what target filled is the ATM Strategy was spawned and run after the strategy was enabled.



            -Brett
            BrettNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            65 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            41 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            23 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            26 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            52 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X