This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:

We work extremely hard to keep things positive on our forums.

We do not tolerate rude behavior, trolling, or vendor advertising in posts.

We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.

We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

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.)

- Stephen

The following user says Thank You to stephenszpak for this post:

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.

The following 5 users say Thank You to Fat Tails for this post:

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.

The following 4 users say Thank You to Fat Tails for this post:

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

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

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.

The following 22 users say Thank You to Fat Tails for this post:

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).

EDIT, this rand function is awful!

Dovie'andi se tovya sagain.

Last edited by Hotch; March 9th, 2012 at 01:01 PM.

The following user says Thank You to Hotch for this post:

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:

Thank you! I was actually able to follow your entire post and understand it

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.

If you want to support our community, become an Elite Member.

The following user says Thank You to Big Mike for this post:

So building on @Fat Tails post #44, I am hoping that Excel master @vvhg can get this into a spreadsheet format for us?

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.

If you want to support our community, become an Elite Member.

The following 2 users say Thank You to Big Mike for this post:

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.

Dovie'andi se tovya sagain.

The following user says Thank You to Hotch for this post: