Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Commisson not calculated

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

    Commisson not calculated

    Hello,

    I've come across a strange issue. I have two charts, same instrument. There are two different strategies on these charts, but on same account (Sim101). At the initialize() function both of them calls IncludeCommission = true; and then initializes some indicators.
    However one them includes commission, the other doesn't.
    Do you have any suggestion on this?

    Edit: using NT7b22. The commission levels are set for External,Simulator,IB both globally and in the instrument settings. Also "Apply commissions for PnL calculations" is checked in settings.
    Attached Files
    Last edited by vides2012; 10-02-2010, 04:55 AM.

    #2
    vides2012, can you please post the code you used, along with the steps necessary to reproduce this issue? I'd like to test it out here. Thank you.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Actually I cannot share the code with you, it has rather complex elements. I'm trying to reproduce the error with as simple strategy as possible.
      Do you know any setting that can affect this behavior?

      Comment


        #4
        I have found the problem. I was just refreshing my strategy (F5) and an IncludeCommission = false; was left in the Initialize() before.

        Anyway I suggest making IncludeCommission property settable in the Strategies menu on the chart.

        Thanks!

        Comment


          #5
          vides2012, glad to hear you've got it working. I will send your suggestion along.
          AustinNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          607 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          353 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          560 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          561 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X