Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible to set "ByStrategyPosition" or "PerEntryExecution" in strategy?

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

    Possible to set "ByStrategyPosition" or "PerEntryExecution" in strategy?

    On the strategies tab of the options menu, you can change the global setting for Stop & Target Submission. Also when launching a new strategy it is a field that can be changed.

    Is it possible to hard code this in each strategies Initialize() section so that when launching a new strategy it would default for each strategy appropriately (and thus you don't have to rememeber for specific strategies what the ideal setting is for it)? I have some strategies that I want PerEntryExecution and others that are ByStrategyPosition.

    I tried something like:

    OrderHandling = OrderHandling.ByStrategyPosition;

    but it doesn't work. It is similar to EntryHandling which does appear to have this functionality:

    EntryHandling = EntryHandling.AllEntries;

    Thanks,

    kc

    #2
    Hi kc, unfortunately this is not supported.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi kc, unfortunately this is not supported.
      I would like to request this as a feature. Being able to set 'ByStrategyPosition' or 'PerEntryExecution' in the strategy initialize() method.
      Last edited by monpere; 04-23-2009, 09:51 AM.

      Comment


        #4
        Thanks for the input monpere.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        64 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Working...
        X