Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting Commisions

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

    Setting Commisions

    How do I programmaticaly set include commissions to true?

    #2
    boreland,

    Unfortunately there is no supported way to do this currently.

    Adam P.NinjaTrader Customer Service

    Comment


      #3
      What about using getter-setter under properties. I.e set include commissions to true.

      Comment


        #4
        boreland,

        I think I misunderstood, is this what you are looking for?

        Adam P.NinjaTrader Customer Service

        Comment


          #5
          I understand that it is not supported but could you perhaps help me out with the right descriptions:

          [Description("")]
          [GridCategory("Parameters")]
          public bool IncludeCommissions
          {
          get { return includeCommissions; }
          set { includeCommissions = true; }
          }

          Comment


            #6
            Sorry I did that see your latest response, yes that is what I was looking for.

            Many Thanks

            Comment


              #7
              boreland,

              The sample I gave you you can set in your Initialize() method. Are you trying to allow the user of the strategy to change this setting from the get-go?
              Adam P.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by kinfxhk, 07-14-2026, 09:39 AM
              0 responses
              93 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-13-2026, 10:18 AM
              0 responses
              93 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-13-2026, 09:50 AM
              0 responses
              71 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-13-2026, 07:21 AM
              0 responses
              88 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 07-11-2026, 02:11 AM
              0 responses
              67 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Working...
              X