Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Commissions not included in backtest

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

    Commissions not included in backtest

    Hi,

    I'm running a backtest on SPY (data downloaded from Yahoo) and it doesn't include commissions.

    I have included commissions in the Instrument Manager for this specific instrument. I have specified this for the Yahoo connection for this specific instrument (SPY), since that is where my data comes from. I have also enabled Options > "General > Apply Commission to pnl Calculations" and set "include Commission" true in the Strategy Analyser.

    What am I overlooking?

    #2
    Where have you inputted the commission for the instrument? You would want to do it in the Instrument Manager and in Tools->Options->Commission.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      Where have you inputted the commission for the instrument? You would want to do it in the Instrument Manager and in Tools->Options->Commission.
      Yes, I did it in both these places, but only for the Yahoo Stocks connection

      Comment


        #4
        Hi FireFly,
        How did you set your commissions up? Please define just a minimum level on the instrument and connection level and see if it works then. Please post us a screenshot of how you setup those. Thanks!
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          Hi FireFly,
          How did you set your commissions up? Please define just a minimum level on the instrument and connection level and see if it works then. Please post us a screenshot of how you setup those. Thanks!
          Here is how I have set it up
          Attached Files

          Comment


            #6
            Hi FireFly,
            Thanks for taking the time to post these shots - please enter your commissions in the 'Simulator' tab as well and let me if they are properly applied then. Thanks!
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              Hi FireFly,
              Thanks for taking the time to post these shots - please enter your commissions in the 'Simulator' tab as well and let me if they are properly applied then. Thanks!
              Is that this tab?
              So where do I fill it in?
              Attached Files

              Comment


                #8
                Hi, please enter them under Tools > Options > Comission > Stocks > Simulator. Thanks!
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_Bertrand View Post
                  Hi, please enter them under Tools > Options > Comission > Stocks > Simulator. Thanks!
                  Ah there it is!
                  It works now, thanks!

                  Comment


                    #10
                    You are welcome, great!!
                    BertrandNinjaTrader Customer Service

                    Comment


                      #11
                      I'm having exact same problem (NT 6.5.1000.16) trying to get commission to show in backtest (note - I'm doing backtest via strategies tab, not via strategy analyzer).

                      Attached are my configs..

                      Do I need to restart Ninja or something to get this to shine thru my backtest reports?

                      JD
                      Attached Files

                      Comment


                        #12
                        Hmmm...looks like its an issue with custom bar types. When I use a standard 15 min bar type as basis of my strategy, commission shows up on the backtest. But when I use a custom bar type I've coded, commission doesn't show up.

                        Is there something related to custom bar types and commissions showing up on backtest reports for NT 6.5?

                        Comment


                          #13
                          JD,

                          Unfortunately we do not have any suggestions. All I can suggest is to look into how the bars are built and try to slowly debug it to find where it breaks.
                          Josh P.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by hazylizard, Today, 08:38 AM
                          1 response
                          8 views
                          0 likes
                          Last Post NinjaTrader_Erick  
                          Started by geddyisodin, Today, 05:20 AM
                          2 responses
                          16 views
                          0 likes
                          Last Post geddyisodin  
                          Started by Max238, Today, 01:28 AM
                          5 responses
                          44 views
                          0 likes
                          Last Post Max238
                          by Max238
                           
                          Started by giulyko00, Yesterday, 12:03 PM
                          3 responses
                          13 views
                          0 likes
                          Last Post NinjaTrader_BrandonH  
                          Started by habeebft, Today, 07:27 AM
                          1 response
                          16 views
                          0 likes
                          Last Post NinjaTrader_ChristopherS  
                          Working...
                          X