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.

    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

          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.

              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:



                        Cheers.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Waxavi, Today, 02:10 AM
                        1 response
                        17 views
                        0 likes
                        Last Post NinjaTrader_LuisH  
                        Started by Kaledus, Today, 01:29 PM
                        5 responses
                        13 views
                        0 likes
                        Last Post NinjaTrader_Jesse  
                        Started by Waxavi, Today, 02:00 AM
                        1 response
                        12 views
                        0 likes
                        Last Post NinjaTrader_LuisH  
                        Started by alifarahani, Today, 09:40 AM
                        5 responses
                        23 views
                        0 likes
                        Last Post NinjaTrader_Jesse  
                        Started by gentlebenthebear, Today, 01:30 AM
                        3 responses
                        17 views
                        0 likes
                        Last Post NinjaTrader_Jesse  
                        Working...
                        X