• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sharpe Ratio issue:

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

    Sharpe Ratio issue:

    Good evening.

    I have been testing out the 6.5 latest beta version and have noticed that Sharpe ratio seems to always be stuck at 1.0 no matter what I do. I have been messing around with the sim feed and did some pretty outlandish trades just to see if I could get it to change, but it remains "stuck" at 1.0.

    Has anyone else had this issue? Just wondering what the explanation may be.

    Thanks.

    #2
    Sharpe is calculated based of the standard deviation of monthly returns. If there is no trade data for several months (to calculate the standard deviation), then it would yield the default value of 1.
    DierkNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Dierk View Post
      Sharpe is calculated based of the standard deviation of monthly returns. If there is no trade data for several months (to calculate the standard deviation), then it would yield the default value of 1.
      Ahh, I just noticed that. Sorry I had a brain fart.

      Comment


        #4
        I'm also getting this Sharpe Ratio stuck at 1 problem.

        Currently I'm backtesting over about a months worth of 5 min bar data. And over that period I get about 68 trades. I have a P&L for every single one of those days.

        How do you guys actually calculate the Sharpe Ratio...? Do you take the daily returns and the standard deviation of daily returns...? Or monthly or annual...?

        Thanks

        Comment


          #5
          http://www.ninjatrader-support.com/H...arpeRatio.html
          DierkNinjaTrader Customer Service

          Comment


            #6
            Thanks Dierk.

            I honestly think you might be better annualising from daily returns and daily standard deviations. Makes the Sharpe Ratio mean a little more because of the increased number of data points. Using monthly figures makes the SR very unstable over anything less than 3 or 4 years worth of data.

            Might be something to think about at least.

            Comment


              #7
              Thanks for your suggestion. We'll add it to the list of future considerations.
              DierkNinjaTrader Customer Service

              Comment


                #8
                Did anything ever come of this? I would also really like the option of Sharpe ratio calculated by daily returns. Perhaps just a toggle button in the options between daily/monthly? It would be extremely useful for all those strategies which are higher frequency/tick based (some data providers only provide a few weeks worth of tick data)

                thanks
                Dave

                Comment


                  #9
                  Totally agree. The industry standard is daily Sharpe. More robust. I am currently working on a script to try to calculate it. Let me know if you guys already have this or if you have any ideas on how to program it.

                  Comment


                    #10
                    On that note, is there any way to access the data provided in the "Period" tab - i.e. daily returns???

                    Cheers

                    Comment


                      #11
                      Thanks for the feedback guys - you could access the profit per month, unfortunately not the daily return - http://www.ninjatrader-support.com/H...luesClass.html
                      BertrandNinjaTrader Customer Service

                      Comment


                        #12
                        Problem solved.

                        I just wrote up a custom type that yields the annualized daily sharpe ratio. Here it is:

                        http://www.ninjatrader.com/support/f...040#post183040

                        Cheers.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by YevhenShynkarenko, Today, 02:55 AM
                        0 responses
                        14 views
                        0 likes
                        Last Post YevhenShynkarenko  
                        Started by pjsmith, Today, 02:20 AM
                        0 responses
                        5 views
                        0 likes
                        Last Post pjsmith
                        by pjsmith
                         
                        Started by faisamtrader, Yesterday, 10:03 PM
                        0 responses
                        7 views
                        0 likes
                        Last Post faisamtrader  
                        Started by johnnybegoode, Yesterday, 08:11 PM
                        0 responses
                        4 views
                        0 likes
                        Last Post johnnybegoode  
                        Started by Bionian, Yesterday, 02:47 PM
                        2 responses
                        25 views
                        0 likes
                        Last Post Bionian
                        by Bionian
                         
                        Working...
                        X