NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 05-22-2012, 05:25 PM   #1
Ironplates
Member
 
Join Date: Feb 2012
Location: Austin
Posts: 71
Thanks: 20
Thanked 1 time in 1 post
Default inconsistent Sharpe ratio calculations

I have run numerous back tests, and optimizations. What I have found is that while recording the results I have noticed that sometimes the Sharpe ratio is not calculated and returns a value of just 1.

Why the Sharpe ratio being calculated sometimes and not others?

Is there some criteria required for the Sharpe ratio to be calculated?

Is there some criteria required for the Sharpe ratio to not be calculated?

Thanks to all for looking at this and for your insights.
Ironplates is offline  
Reply With Quote
Old 05-22-2012, 06:00 PM   #2
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 1,640
Thanks: 111
Thanked 185 times in 180 posts
Default

Hello Ironplates,

Thank you for your post.

The Sharpe Ratio is calculated as the following: (Profit per Month – risk free Rate of Return) / standard deviation of monthly profits

Note:
  • NinjaTrader presets "risk free Rate of Return" to a value of zero
  • In the event that there is only 1 month of trade history or less, there is insufficient data to calculate the monthly standard deviation of profits in which event, the Sharpe Ratio is set to a value of 1
  • For information on Statistics Definitions please visit the following link: http://www.ninjatrader.com/support/h...efinitions.htm
Please let me know if I may be of further assistance.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 05-22-2012, 07:01 PM   #3
Ironplates
Member
 
Join Date: Feb 2012
Location: Austin
Posts: 71
Thanks: 20
Thanked 1 time in 1 post
Default

why then is the Sharpe ratio not calculating when I'm using three months worth of data?
Ironplates is offline  
Reply With Quote
Old 05-22-2012, 07:25 PM   #4
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 1,640
Thanks: 111
Thanked 185 times in 180 posts
Default

Hello Ironplates,

Thank you for your response.

Are you receiving a value for the Sharpe Ratio? Generally, a ratio of 1 or greater is good, 2 or greater is very good, and 3 and up is great. Are you receiving a zero (0)?

I look forward to assisting you further.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 05-22-2012, 08:38 PM   #5
Ironplates
Member
 
Join Date: Feb 2012
Location: Austin
Posts: 71
Thanks: 20
Thanked 1 time in 1 post
Default

the Sharpe ratio sometimes is reporting just a 1. However, my model typically reports Sharpe ratios from 2.5 as high as 12 from the combined results as well as for each instrument, sometimes range in the 30s. Therefore, Sharpe ratios reported that 1.0 give me the impression the strategy analysis may be invalid or lacking credibility, especially when the timeframe is 90 days
Last edited by Ironplates; 05-22-2012 at 08:38 PM. Reason: typing error
Ironplates is offline  
Reply With Quote
Old 05-23-2012, 06:37 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

What risk free return are you using as base for your own comparative calcs?

You can align those better by using this method -

http://www.ninjatrader.com/support/h...Sharpe%2BRatio
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Tags
sharpe ratio calculation, strategy analyzer results

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharpe Ratio cfree5119 Strategy Analyzer 5 01-13-2012 05:24 AM
Sharpe Ratio Edward Kunafi Strategy Development 1 12-08-2010 02:20 PM
Does Sharpe Ratio matter? molecool Suggestions And Feedback 1 08-27-2010 04:08 AM
Sharpe Ratio issue: Reaver Miscellaneous Support 11 08-03-2010 08:14 AM
Sharpe Ratio always =1 Santi Market Analyzer 4 07-07-2008 06:12 AM


All times are GMT -6. The time now is 06:50 AM.