HomeReady-2-GoPortfolioRankingScreenerStockETFToolsCommunityHelp
ForumsEmail UserPollsFeature RequestsGroups


  Index  | Recent Threads  | Who's Online  | User List  | Search
  Search  
Quick Go »
Thread Status: Normal
Total posts in this thread: 3
[Request a Feature] [Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1175 times and has 2 replies Next Thread
marco


UNITED STATES
Joined: Jan 1, 1970
Posts: 3980
Status: Offline

IMPORTANT: Sharpe() and Sortino() function problem Reply to this Post
Reply with Quote

Dear All,

Sharpe() and Sortino() functions were introduced to offer a more flexible version of Sharpe1Y,2Y, and Sortino1Y,2Y. A while back the parameter specification for these functions was changed to be more intuitive. The first parameter was changed to be the total number of bars to examine, and the second parameter the number of bars used to calculate the returns.

This created a problem that has been around for a few months. Most Sharpe() and Sortino() functions returned NAs because it was using the old order of the parameters. We have now fixed the problem and the new versions will be available tomorrow. Sharpe1Y,2Y and Sortino1Y,2Y are ok.

We did not catch this problem because most users (us included) used this function to rank. When ranking encounters NA it assigns the same rank to all the stocks, making it basically a random function, but it's hard to catch the error. The parameter change seemed so simple that a thorough test was not performed.

To see this problem clearly try a screen with only one rule: "Sharpe(120,1)" This should calculate the sharpe of the past 120 1-bar returns. You'll get zero stocks because NA values make the rule fail.


We're terribly sorry for this. The fix will go live tomorrow. Please re-test your systems tomorrow.
----------------------------------------
Portfolio123 Staff
----------------------------------------
[Edit 2 times, last edit by marco at Jul 28, 2009 5:10:28 PM]
[Jul 28, 2009 4:51:45 PM] Show Post Printable Version     [Link] Report threaten post: please login first  Go to top 
o806
Advanced Member


CANADA
Joined: May 8, 2006
Posts: 492
Status: Offline

Re: IMPORTANT: Sharpe() and Sortino() function problem Reply to this Post
Reply with Quote

Marco:

Your openness about fixing mistakes is to be commended. This is a refreshing contrast to some other stock software providers I have encountered.

Regards,
Brian
[Jul 28, 2009 9:39:26 PM] Show Post Printable Version     [Link] Report threaten post: please login first  Go to top 
strader1
Advanced Member


UNITED STATES
Joined: Aug 20, 2006
Posts: 274
Status: Offline

Re: IMPORTANT: Sharpe() and Sortino() function problem Reply to this Post
Reply with Quote

Marco & All,

I wonder if this might explain the recent underperformance of BompusRank vs. some of the other ranking systems. Also, is it now fixed?


-- Bill
[Jul 29, 2009 11:14:49 PM] Show Post Printable Version     [Link] Report threaten post: please login first  Go to top 
[Show Thread Printable Version]

Free Trial  /  Log In
Username or Email
Password
Stay logged in
Can't remember username or password?