Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Commission in %

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

    Commission in %

    I'm trying to do a backtest in where I want a comission based on a percentage.
    As far as I can see there is no support for this setting.

    Are there ways to work around this in a simulator environment?

    Maybe a way to overwrite the current commission in an OnBarUpdate?

    Is there a way to get this working with custom code, if so, where should I be looking?

    #2
    Hello Connex,

    Thank you for your post.

    You would need to create you own logic that would calculate the percentage commission rate that you can then Print(); and check.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      I understand I need to do it manually.

      But is there a variable or function i could overwrite / call that is able to change the commision during the backtest itself?

      Where should this "logic" be placed?

      Comment


        #4
        connex, would unfortunately not be aware of any undocumented workarounds to set this dynamically. You would need to basically run custom performance stats/calcs that would reflect your % commission approach then. This is an item we have on our feedback list and I've made sure to note a vote on your behalf as well.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Jonafare, 12-06-2012, 03:48 PM
        5 responses
        3,984 views
        0 likes
        Last Post rene69851  
        Started by Fitspressorest, Today, 01:38 PM
        0 responses
        2 views
        0 likes
        Last Post Fitspressorest  
        Started by Jonker, Today, 01:19 PM
        0 responses
        2 views
        0 likes
        Last Post Jonker
        by Jonker
         
        Started by futtrader, Today, 01:16 PM
        0 responses
        7 views
        0 likes
        Last Post futtrader  
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,791 views
        0 likes
        Last Post aligator  
        Working...
        X