Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Programmatically set default Fill Type?

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

    How to Programmatically set default Fill Type?

    Is there a way to set the default fill type within my strategy?

    I can't figure out which property in the Strategy NinjaScript that can control this.

    I don't like the default setting. I'm using Liberal. And soon I will write my own fill type.

    But every time I add the strategy to a chart or in the Strategy Analyzer it changes to "Default" and I often forget to set it back to Liberal.

    If you don't have a way to control this within the Strategy NinjaScript, please add it as a new feature in soon to come release.

    Please advise.

    - Wayne

    #2
    These are the settings that you can currently set programmatically: http://www.ninjatrader-support.com/v...06&postcount=5

    Thanks for your suggestion.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      None of these sets the default Fill type. Please add that as a feature.

      - Wayne

      Comment


        #4
        Consider this another vote for being able to set the default fill type in code for each strategy. In fact, I'd look over the backtesting dialog and make most all of the default values there configurable inside the strategy code (default bar type/length, default start/end dates, etc.).

        Comment


          #5
          Thanks for the input Anagoge!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          595 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          554 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X