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 ntram, Yesterday, 05:39 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by bmarovets, Yesterday, 06:33 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by FishTrade, Yesterday, 03:42 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by giulyko00, Yesterday, 11:49 AM
          3 responses
          22 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by ttrader23, Yesterday, 09:04 AM
          3 responses
          17 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X