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 futtrader, 04-21-2024, 01:50 AM
        4 responses
        41 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        11 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        1 view
        0 likes
        Last Post port119
        by port119
         
        Started by Philippe56140, Today, 02:35 PM
        0 responses
        3 views
        0 likes
        Last Post Philippe56140  
        Started by 00nevest, Today, 02:27 PM
        0 responses
        2 views
        0 likes
        Last Post 00nevest  
        Working...
        X