it is based on [Kelly criterion][1]. mentioned in one of stackexchange posts [here][2]
.

  [1]: http://en.wikipedia.org/wiki/Kelly_criterion
  [2]: http://quant.stackexchange.com/questions/352/volatility-pumping-in-practice