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 cmoran13, Yesterday, 01:02 PM
        0 responses
        25 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        17 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        160 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        94 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        147 views
        2 likes
        Last Post CaptainJack  
        Working...
        X