Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Analyzer Walk Forward Test's Aggregate Sortino Seems Incorrect

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

    Strategy Analyzer Walk Forward Test's Aggregate Sortino Seems Incorrect

    Hi all,

    I am confused on the Sortino shown in the first row (aggregate row) for the walk forward results. Few points:

    1. For one test I ran the aggregate Sortino is 4.7.

    2. When I calculate it myself on the dailies I get 3.6 and when I calculate it from the monthlies I get 3.2. These are close enough to 4.7 bc my assumptions on risk free rate and days in a trade year may be different etc.

    3. Now I go to the backtester feature instead of the walk forward test. I manipulate the walk forward to match the backtester param selection so the results should be similar if not identical. In there it shows a Sortino of 1.3.

    Can someone shed any light on the walk forward aggregate Sortino? Is it possible maybe each Sortino was written by a different team or something so the underlying assumptions are different? Risk free rate, number of trade days in a year etc? Other?

    Thank you all,
    Tim


    #2
    Hello ozziyhtomit,

    Welcome to the NinjaTrader support forums.

    You can try taking a look at the description in the help guide here to see if this matches what you are trying to manually calculate: https://ninjatrader.com/support/help...ghtsub=Sortino

    Otherwise this question would really require looking at the values seen in those comparisons to see why the sortino had been calculated to that value. Have you tried to extract the values used in each test and manually calculate it based on the help guide description of the equation?

    I look forward to being of further assistance
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi,

      Thanks for the reply. Yes you guys share the Sortino calc assumptions in that link, thank you for that. That has allowed me to match my calc to yours.

      Even knowing that, it does not explain away what I am seeing when I compare the Walk Forward Optimization summary Sortino to the Backtest summary Sortino. I manipulated the parameter values such that the two should generate identical results and the are not close.

      Can we schedule a time to share my screen? I need to understand this moving forward!

      Thank you,
      Tim

      Comment


        #4
        Hello ozziyhtomit,

        We generally can't provide calls for scripting concerns, if you have a specific situation and sample script that can replicate that result you could attach that and we can review that situation. Alternatively if you can reproduce this with the SampleMACrossOver and provide steps to see that using the sample I could research that further using the sample.

        Please let me know if I may be of additional assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          OK thanks for your help Jesse

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Barry Milan, Yesterday, 10:35 PM
          5 responses
          16 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          13 views
          0 likes
          Last Post DanielSanMartin  
          Started by DJ888, 04-16-2024, 06:09 PM
          4 responses
          12 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by terofs, Today, 04:18 PM
          0 responses
          11 views
          0 likes
          Last Post terofs
          by terofs
           
          Started by nandhumca, Today, 03:41 PM
          0 responses
          8 views
          0 likes
          Last Post nandhumca  
          Working...
          X