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.

    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.

        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

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by rbeckmann05, Yesterday, 06:48 PM
            1 response
            12 views
            0 likes
            Last Post bltdavid  
            Started by llanqui, Today, 03:53 AM
            0 responses
            6 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            10 views
            0 likes
            Last Post burtoninlondon  
            Started by AaronKoRn, Yesterday, 09:49 PM
            0 responses
            15 views
            0 likes
            Last Post AaronKoRn  
            Started by carnitron, Yesterday, 08:42 PM
            0 responses
            11 views
            0 likes
            Last Post carnitron  
            Working...
            X