Hello Everybody,
Investopedia describes the Kelly Formula (criterion) as a method used by gamblers and investors to determine what percentage of their bankroll/capital to use in each bet/trade to maximize long-term growth.
In finance the Kelly formula is generally the mean excess return divided by the variance in the returns of an investment strategy. For multiple strategies, it becomes (inverse covariance matrix) * (vector of mean returns). It is often used in risk management applications, like deciding on an appropriate amount of leverage, and allocating capital between multiple strategies. I did not use the excess returns in this example though.
Here's a breakdown of the strategy
- Assume each security in a percentile of the DollarVolumeUniverse is an independent investment strategy.
- Calculate the Kelly leverages of all securities in the universe
- Use the result as a ranking and select the top N securities as the new portfolio.
- Drop the independence assumption of the selected securities and recalculate the Kelly leverage using the covariance matrix and mean returns.
- Invest an amount proportional to the Kelly leverages in each security.
- Repeat (quarterly in this case)
It's not perfect and under construction, but I wanted to get it out there so I can see any variations you come up with. It seems to be hit and miss and tends to want to short a lot of the portfolio. I added a parameter to limit the amount of short exposure, which helps out, but I'm I haven't found any optimal settings yet.
Please share any thoughts and modifications. The backtests take a long time to run so be prepared to wait a while.
Happy tinkering,
David
P.S.
For those that like a challenge, It would be cool to see an algo that calculates its own Kelly leverage and uses it to decide on the leverage going forward.