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 algospoke, Yesterday, 06:40 PM
    2 responses
    19 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    20 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X