手动拆解《Quantitative Trading - How to Build Your Own Algorithmic Trading Business》（六.2）
上一章结尾我们提到股票投资中获利概率 P 不是一个常量，赔率（或者回报率）也不是常量，那我们必然需要用几个假设来界定适用范围。我们假设
The author initiated the practical application of the Kelly criterion by using it for card counting in blackjack. We will present some useful formulas and methods to answer various natural questions about it that arise in blackjack and other gambling games.
- Then we illustrate its recentuse in a successful casino sports betting system.
- Finally, we discuss its application to the securities markets where it has helped the author to make a thirty year total of 80 billion dollars worth of “bets”.
assume that the return distribution of a strategy (or security) is Gaussian
long-term compounded growth rate of your equity.
I would advise using a lookback period of six months.
Dividing the maximum tolera- ble one-period drawdown on equity by the maximum historical loss will tell you whether even half-Kelly leverage is too large for your comfort.
- backtrader init orders
backtrader with kelly's formula
线性回归和协方差的关系 - 没有关系。
if f is negative, remove the stock and wait it to turn positive; we don't want to sell when no leverage
- deal with the positive