tag:blogger.com,1999:blog-35364652.post194279811316703901..comments2024-03-22T10:29:59.088-04:00Comments on Quantitative Trading: Picking up nickels in front of steamrollersErnie Chanhttp://www.blogger.com/profile/02747099358519893177noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-35364652.post-79726378560919363882010-03-15T20:38:48.515-04:002010-03-15T20:38:48.515-04:00Stan,
First, daily return =dr=dailyPL/gross_mkt_va...Stan,<br />First, daily return =dr=dailyPL/gross_mkt_value.<br /><br />Then, you can calculate cumulative return by the usual (1+dr1)(1+dr2)...-1.<br /><br />Lastly, drawdown is the cumulative return starting from the high water mark.<br /><br />You do not need to calculate the long and short side separately.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-70357336294768635942010-03-09T15:11:59.472-05:002010-03-09T15:11:59.472-05:00Ernie, thank you for your answer. How do you calcu...Ernie, thank you for your answer. How do you calculate drawdown in the portfolio with short positions? How do you adjust drawdowns if you need to rehedge your short position (by going more short or buying back), as in my previous example?<br />For example, your original portfolio at t1 is 1,000 long of S1 and 250 short of S2. Assume that at t2 it is 900 long and 220 short. At this time you short 100 more of S2. Now at time t3 your long is 880 and short is -300. Your long drawdown is 120. How do you calculate your short drawdown? How do you calculate your total drawdown? <br /><br />Thank youStan Maydannoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-12070418078184320692010-03-09T14:36:37.260-05:002010-03-09T14:36:37.260-05:00Steve,
1) Actually, there is no requirement that w...Steve,<br />1) Actually, there is no requirement that we must have short positions to have mean-reversion. <br />2) Daily return on gross market value of your portfolio is very simply calculated as P&L/(long market value + abs(short market value)). No need to worry about weights. This is the return that should go into Sharpe ratio calculation.<br />Best,<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-15290608711148569522010-03-09T13:35:45.811-05:002010-03-09T13:35:45.811-05:00Ernie, in order to calculate Sharpe Ratio for mean...Ernie, in order to calculate Sharpe Ratio for mean reverting strategies, I think we need to have a consistent way to calculate returns for portfolios with short positions, which are needed for mean reversion.<br />This is what I would like to ask your opinion about.<br />The first case is a static portfolio. Specifically, I would calculate long return and short return separately, but then how do you calculate weights of each?<br />For example positon longPosition is 100 at time t1 and becomes 110 at time t2. On another hand, shortPosition is -50 at time t1 and become -40 at time t2. In my opinion I would first calculate long return as 110/100 = 1.1 and short return as 50/40 = 1.2 and then I would weight them in the following way to calculate the total return:<br />(1/(100 + 40 ))(100*1.1 + 40*1.2) = 160/140 = 1.14.<br />Do you agree with this approach? Also, how would you modify this approach if you need to rehedge your short position between t1 and t2. For example, you need to go more short (-5) at time point T1a> t1, and then at time point T2a < t2 you need to buy back 6?<br />Thank youStan Maydannoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-62255161326169263242009-12-17T08:40:26.165-05:002009-12-17T08:40:26.165-05:00Zeke,
I am not sure that futures markets mean-reve...Zeke,<br />I am not sure that futures markets mean-revert very much!<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-37209100645254826402009-12-16T11:42:05.480-05:002009-12-16T11:42:05.480-05:00Ernie,
I think you are right. Most CTAs do trade t...Ernie,<br />I think you are right. Most CTAs do trade trend-following strategies. Which makes me think: If short-term mean-reverting strategies have a higher Sharpe ratio, why aren't there many more CTAs trading this way? Is it much harder to discover good short-term mean-reverting strategies than trend-following ones? After all, some CTAs have substantial research departments. They SHOULD be able to find something. Your thoughts? - ZekeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-37305678598786082842009-12-13T17:32:36.162-05:002009-12-13T17:32:36.162-05:00cordura21,
The research you cite is certainly amaz...cordura21,<br />The research you cite is certainly amazing. But from what I understand, CTA's typically trade trending strategies, which are inherently more unstable than short-term mean-reverting strategies. If the study include all hedge funds (including equities funds and multi-strategy funds such as Renaissance Technologies which I am not sure registered as a CTA) , I think there will be quite a few which has Sharpe > 1 for over 15 years.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-4316053576517084702009-12-13T17:25:27.094-05:002009-12-13T17:25:27.094-05:00Anonymous,
Yes, the larger number of bets we can m...Anonymous,<br />Yes, the larger number of bets we can make in short-term strategies is one of the main reasons I like them.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-91646697176924664092009-12-11T14:02:30.873-05:002009-12-11T14:02:30.873-05:00cordura21,
I wouldn't be surprised if scale b...cordura21,<br /><br />I wouldn't be surprised if scale becomes a limiting factor.<br /><br />For me, on a small scale, trading costs (spread + fees) are my biggest constraint. If my trades were big enough to consistently push the market around, that slippage could easily become "the" constraint.<br /><br /><br />Billbill_080noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-7100011171631645772009-12-10T13:31:43.474-05:002009-12-10T13:31:43.474-05:00Hey guys. Speaking of Sharpe Ratios, did you read
...Hey guys. Speaking of Sharpe Ratios, did you read<br /><a href="http://www.mebanefaber.com/2009/12/03/where-have-all-the-sharpe-ratios-over-1-gone/" rel="nofollow">Faber's thread about the inexistence of >1 reported Sharpes</a><br /><br />I wonder if it's just an issue of scalability. Cheers, Cordcordura21https://www.blogger.com/profile/06494252806301200902noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-80072967688842835272009-12-09T18:37:42.515-05:002009-12-09T18:37:42.515-05:00Late to the game here (just found this post), but ...Late to the game here (just found this post), but aren't you missing the main benefit of short term strategies, which is that, approximately, sd(sum(returns)) scales with the square root of the number of bets whereas sum(returns) scales linearly - and since we generally care about annual sharpes - sharpe will be approximately something like sqrt(n) * E(r) / E((r - E(r))^2) where r is the return per individual trade and n is the number of trades. <br /><br />While my math is half-assed and approximate (and probably wrong), the main gain is that since we care about returns on the same time scale no matter what strategy we are talking about, short term ones give many more bets and thus a higher probability of realizing the mean (your "edge") in a fixed time scale vs. a long term strategy which will give you a small number of draws from a distribution (and thus more variance).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-59684392289785377852009-12-05T22:31:25.132-05:002009-12-05T22:31:25.132-05:00High Sharpe Ratio?! You must be really old!
The l...High Sharpe Ratio?! You must be really old!<br />The lecturer for our CFA tutorial used less than 5 minutes on Sharpe Ratioscheng1http://howhealthyisyourpersonalfinance.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-85527782056157438442009-12-01T22:15:08.140-05:002009-12-01T22:15:08.140-05:00The real problem with the Sharpe ratio as a measur...The real problem with the Sharpe ratio as a measure is that it is highly time dependent. I prefer to plot the Sharpe ratio through time, or use another measure of efficacy.<br /><br />PeterUnknownhttps://www.blogger.com/profile/01497510548838736123noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-31354725892995004582009-12-01T18:17:56.760-05:002009-12-01T18:17:56.760-05:00Fan,
Certainly mean-reverting strategies long vola...Fan,<br />Certainly mean-reverting strategies long volatility. But more fundamentally they provide liquidity to the market, and as such, is likely to be enduring and profitable in most market conditions. I don't believe that these strategies "lost steam", though of course the returns are lower than 2008 due to reduced volatility.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-21505661329106669692009-11-30T19:10:41.175-05:002009-11-30T19:10:41.175-05:00Ernie,
Any hypothesis why this strategy exits? Is...Ernie,<br /><br />Any hypothesis why this strategy exits? Is it effectively a long volatility strategy, provided it worked extremely well in 2008, or should it be profitable regardless what type market condition we are in? <br />Do you believe that "these strategies are losing steam rapidly" as increasing popularity?<br /><br />FANAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-20494924611029052882009-11-30T10:52:45.862-05:002009-11-30T10:52:45.862-05:002008 was a golden year for mean reversion strategi...2008 was a golden year for mean reversion strategies. Long term backtesting will easily show that.<br />However, looking at 2009 returns, it is clear that these strategies are losing steam rapidly. No surprise, given their current popularity.<br />Time to go back to trend following?<br />EBAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-47018409491682808932009-11-30T08:06:18.155-05:002009-11-30T08:06:18.155-05:00rb101:
I consider strategies with Sharpe of about ...rb101:<br />I consider strategies with Sharpe of about 2 to be good.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-50001855263210767252009-11-30T08:05:33.722-05:002009-11-30T08:05:33.722-05:00Anonymous,
There are many mean-reverting strategie...Anonymous,<br />There are many mean-reverting strategies in various markets, and I don't think that their returns have all disappeared since 2003. In fact, I have found (as did many other traders) that 2008 to be an extremely good year for short term MR strategies.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-55887659333480417072009-11-30T08:03:25.459-05:002009-11-30T08:03:25.459-05:00Jez,
Any trading strategy, reversal or trending, h...Jez,<br />Any trading strategy, reversal or trending, has the problem that it works until it doesn't! In fact, from my experience, trending systems have generally shorter shelf life than mean-reverting strategies, for reasons I detailed in chapter 7 of my book.<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-43648051603062966772009-11-30T00:19:24.318-05:002009-11-30T00:19:24.318-05:00Curious as to your sharpe target levels- they cha...Curious as to your sharpe target levels- they change with duration. What do you consider a good 1yr vs. 6 month sharpe ratio to be?<br /><br />AlsoUnknownhttps://www.blogger.com/profile/12265856584609683149noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-68342293270939317262009-11-29T22:25:23.415-05:002009-11-29T22:25:23.415-05:00If not mistaken, large portion return of this stra...If not mistaken, large portion return of this strategy seemed disappeared last couple of year, comparing before 2003. Any thoughts why?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-89286707558340970852009-11-29T04:47:05.866-05:002009-11-29T04:47:05.866-05:00The problem with mean-reverting strategies is that...The problem with mean-reverting strategies is that it works.. until it does not work any more. And even with discipline of cutting your positions you might end up with many small losses ultimately wiping out your equity<br /><br />Given the non-normality of price distributions, it appears logical that trend following is the best system to profit from that fact (see <a href="http://bit.ly/6bsiS" rel="nofollow">this article</a> for illustration).<br /><br />Of course you will not get incredible Sharpe ratio but I would argue that is far from being the most important metrics (although it is the main one used by the industry...).<br /><br />PS: I do however appreciate the point you make about how everybody is taking an opposite view now - which is interesting from a contrarian point of viewJez Libertyhttp://www.automated-trading-system.comnoreply@blogger.comtag:blogger.com,1999:blog-35364652.post-26940165159345723822009-11-28T16:44:15.236-05:002009-11-28T16:44:15.236-05:00Bill,
Exactly!
ErnieBill,<br />Exactly!<br />ErnieErnie Chanhttps://www.blogger.com/profile/02747099358519893177noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-75844049245928745642009-11-28T14:44:28.613-05:002009-11-28T14:44:28.613-05:00Isn't that "picking up nickels after a st...Isn't that "picking up nickels after a steamroller"?<br /><br /><br />Billbill_080noreply@blogger.comtag:blogger.com,1999:blog-35364652.post-14746625051233423682009-11-27T15:47:51.827-05:002009-11-27T15:47:51.827-05:00I agree with you. I think the key is the time lim...I agree with you. I think the key is the time limit. LTCM was betting on that the market will converge eventually. Well, when is eventually?<br /><br />For those who dismiss high Sharpe-ratio strategies, what are the alternatives?<br /><br />- AnonAnonymousnoreply@blogger.com