Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting defaults for a strategy

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

    Setting defaults for a strategy

    Hi there,

    I am getting annoyed to see the Backtest window reset a bunch of settings at every opportunity ... is there a way for a strategy to define its own "preferred" settings for the following:

    - Data series type & value (it defaults to Minute / 1, I would like my strategy to define Volume / 100 as its own default)

    - HistoricalFillProcessing (it defaults to ... Default, I can't blame that and could overwrite the DefaultFillType file, however I would prefer my strategy to indicate its own default FillType)

    Thanks in advance
    Dominique

    #2
    Dominique, please try this - set your properties as desired in the parameter window and right click in it > 'Set Default....' - this will create a strategy settings template.

    Comment


      #3
      Thank you so much Bertrand!

      On top of that, is there a way to do it directly from the strategy script? I am asking this because I use version number as part of the strategy class name, which changes daily (sometimes multiple times in a day) during my development process, so doing it from the script would make the process fool proof.

      Comment


        #4
        You're welcome, unfortunately it's not possible to generate this template via code but I will add your request to our product management enhance tracking list.

        You can though also set a default template from the Strategies tab in your Control Center, so once you apply a new version you could save the settings to default before enabling as well.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        61 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        148 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        98 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X