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 CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            11 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            118 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            170 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            88 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            131 views
            0 likes
            Last Post cmoran13  
            Working...
            X