Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing Stop/target values in Control Center while Strategy running

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

    Changing Stop/target values in Control Center while Strategy running

    I am trying to adjust stop values manually while a strategy is running ..
    (why ... because I'm trying to over-ride my strats logic ... don't ask:shock: )

    I'm doing this using the orders tab in CC, and in a DOM. DOesn't matter.

    The change takes.. and I see the stop adjusted in TWS, but it's immediately reset back to the original value.

    The Strategy dynamically updates stops once a bar (not every tick) and the the setstoploss code is in OnBarUpdate. I have print statements in my code when it adjusts the stoploss, and I'm pretty sure it's not my code 'reseting' the stop back.

    Is this reseting expected?

    #2
    imported post

    Simple answer: yes :-)

    Right now there is no concept of manually overwritten strategry order settings. We have it on our list of future enhancements though.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,271 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    10 responses
    403 views
    1 like
    Last Post beobast
    by beobast
     
    Working...
    X