Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ByStrategyPosition attribute

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

    ByStrategyPosition attribute

    Hello,

    my strategy when backtested wrote this message to the log:

    25.12.2012 23:59:59|2|128|Stop/target handling for strategy 'BoStrategyYM' set to 'ByStrategyPosition' since currency based stop order was placed.

    What i need to set 'ByStrategyPosition' ?

    regards Tomas

    #2
    Tomas, you could toggle this per the Stop and Target Submission Order Handling setting when you startup the script, set this then to ByStrategyPosition instead of PerEntryExecution to avoid the log mention.

    Comment


      #3
      OK i will use this

      StopTargetHandling = StopTargetHandling.ByStrategyPosition

      thank you

      Tomas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      316 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      202 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      187 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      282 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      234 views
      0 likes
      Last Post CarlTrading  
      Working...
      X