Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I was wondering if there is some term that proceeds 'ruin'. Anyone can comment.
If initially one has $100,000 and day trades, isn't there some percentage where there
is obviously a 'problem' or some sort. Bad method, or whatever.
If one started with $100,000 and now the trading account just went shy of $50,000, I'd
say something is dreadfully wrong, yet ruin is far away, or may never occur I suppose.
(Sorry if this was already covered in some post. Can't comment on your math.)
There is no straightforward definition for ruin. For the purpose of calculating the risk of ruin, you need to know what fraction of your intial balance qualifies as ruin.
If you start out with a million, and you esteem that you are still rich enough with a balance of $ 100,000, to continue gambling, then it is not ruin. If you stop your game with a balance of $ 25,000 that is 2.5% of your initial balance, and the factor a required for the calculations becomes a= 0.025.
If you look at larger hedgefonds, it usually puts them out of business, if they have lost over half of their customer's funds. In that case you could use a value a = 0.5, which is 20 times higher than the value used in the first example.
It is all about the decision at what point you exit the game. "Game over" can mean that you stop playing, because you have lost too much, or that you stop playing because you have reached your target. The risk of ruin compares the likelyhood of those two scenarios and puts a probability on each of them.
I absolutely agree with some of your points. The Kelly criterion cannot be applied to every betting system. First of all there is an assumption that consecutive bets are independent of each other, such as is the case with a roulette game. A counter example would be Black Jack, as the probability of winning depends on what is left in the card stack.
Secondly the Kelly formula can only be applied to outcomes that have a Bernoulli distribution. This means that it can only be used with trading strategies that have two possible outcomes, for example a win of 20 points or a loss of 10 points.
For non-Bernoulli distributions the Kelly formula cannot be applied without modifications.
As promised, I will give quick example how to example the optimal bet size. The approach is a reverse one.
You start by defining the acceptable probability for the risk of ruin and then adjust the bet size accordingly.
Assumptions
(1) The initial balance of the trading account is $ 50,000.
(2) The target value for that account is $ 200,000.
(3) I consider $ 25,000 as ruin (this is an arbitrary value)
(4) I am further ready to accept a 1% probability of ruin (drawdown > 50%)
(5) I will trade YM.
(6) My trading system enters a position and then either exits with a win of 20 points or a loss of 10 points.
(Bernoulli Distribution with a Multiple is 2)
(7) The outcomes of two consecutive trades are independent from each other.
(8) The winning percentage of all trades is 45%, which means that 55% are losers.
(9) I am always betting a fixed fraction of my account to allow for geometrical compounding
(10) There is a commission of $ 4.00 per round turn (this is equal to 0.8 points for YM)
(11) The average slippage per trade is 1 point.
Calculating the Optimal Bet Size by Using the Kelly Formula
First Step : Calculating Optimal F
Following the formula from Ralph Vince (The Mathematics of Money Management, -> Kelly Formulas, page 16) the optimal fixed fraction can be determined as
f = ((B+1)*P -1)/B
where B is the R-Multiple corrected for commissions and slippage and P is the probability of winning a trade (winning percentage).
In a first step I am going to calculate B, which is the R-Multiple taking into account slippage and commissions.
I therefore get B = 1.542 and from above we remember that P = 0.45, as the winning percentage is 45%.
Solving for f we obtain
optimal f = ((1.542+1)*0.45 -1)/1.542 = 0.0933
The Kelly formula therefore suggests to bet 9.3% of my account with every single bet. However, it is likely that auch high bets would exceed my risk tolerance, as the associated risk of ruin might exceed the 1% threshold I am willing to tolerate.
Adjusting Bet Size for a Risk of Ruin < 1%
I will now determine the appropriate bet size associated with a risk of ruin < 1%, just calculating the outcomes for various Kelly multiples. From my assumptions I retain a = 0.50 (achieving ruin) and b= 4.0 (achieving target). The formula
leads to the following results
k = 1 (fully Kelly) : P ( 0.5, 4.0, 1) = 0.5 -> the risk of ruin becomes 43 %
k = 0.5 (half Kelly) : P (0.5, 4.0, 0.5) = 0.877 -> the risk of ruin becomes 12.3 %
k = 0.25 (quarter Kelly) : P(0.5, 4.0, 0.25) = 0.992 -> the risk of ruin becomes 0.8 %
With k = 0.25 I will be within the limits of my risk tolerance with a risk of ruin slighlty inferior to 1 %. I will therefore betting quarter Kelly. This allows me to risk 2.3% of my account with every bet.
Determining the Number of Contracts to Trade
Starting with an account value of $ 50.000, I know that I am allowed to post a loss of $ 1,150 with every trade.
If I trade a single contract I will suffer a loss of 11.8 points * $ 5 or $ 59. I should therefore trade 19 contracts.
Calculating with 19 contracts is somewhat impractical, so with a slightly increased risk tolerance I am willing to do 20 contracts, which would be 4 contracts for every $ 10,000 of my account equity. Following the idea of fixed fractional betting to allow for optimal compounding of returns, I should therefore bet
-> 12 contracts for an account size of $ 30,000
-> 20 contracts for an account size of $ 50,000
-> 40 contracts for an account size of $ 100,000
The last alternative would already lead to increased slippage. This shows that YM is the choice of the small trader, but probably not the best alternative for those trading accounts over $ 100,000.
I KNEW IT! Somebody argued with me about this once and I conceded the point. Sniff.
Could you point to the derivation of this formula? Can't seem to find anything on it, and still getting large differences on my code (finished trading so will have a look and try and put a mersenne twister in it instead).
I took the Kelly formula from the book by Ralph Vince.
The formula for calculating the risk of ruin is discussed in the paper "Risk Formulas For Proportional Betting" by William Chin and Marc Ingenoso. You can find that paper here:
I just realised you may have misinterpreted the example I gave. I wasn't saying that Kelly was wrong, but that the RoR formula would not work in that situation.