Risk of Ruin - Psychology and Money Management | futures io social day trading
futures io futures trading


Risk of Ruin
Updated: Views / Replies:33,396 / 124
Created: by Big Mike Attachments:41

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 41  
 
Thread Tools Search this Thread
 

Risk of Ruin

  #41 (permalink)
Elite Member
Massachusetts (USA)
 
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: YM
 
stephenszpak's Avatar
 
Posts: 778 since Jun 2009
Thanks: 144 given, 358 received


Fat Tails View Post
I am not an expert on risk of ruin, but I will try to formulate some basic ideas. Be aware please that I am not insisting that the following statements are entirely correct.






Initial bank roll 100,000
Ruin : a = 0.25 (when the account has dropped to 25,000)
Success: b = 4 (when the account has reached 400,000)




Thanks FatTails.

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

Reply With Quote
The following user says Thank You to stephenszpak for this post:
 
  #42 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,598 since Mar 2010
Thanks: 4,222 given, 25,356 received
Forum Reputation: Legendary


stephenszpak View Post
Thanks FatTails.

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

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.

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #43 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,598 since Mar 2010
Thanks: 4,222 given, 25,356 received
Forum Reputation: Legendary



Hotch View Post
Fat Tails, really good stuff.

Probably obvious, but think we should put it on paper. This all depends on independence of trades as Kelly does.

As I read it, the formula won't work for all possibilities. For (a stupid) example, wins 100 times losses, 90% win rate. You get an optimal f of 89.9%. Let a = 0.9, b = 1.1. Formula gives a 55% risk of ruin for optimal F, when anyone can tell you it should be 10% (as it would be for half kelly). I know this is a silly example, I just want to make sure I'm following correctly.

Secondly, I have written a small program to run account simulations. There are probably much better about, but I at least know what my code (supposedly) does. I'm really suspicious of the RNG funtion I'm using (I'm also very rusty), so don't trust it, maybe it will provide a base for someone to improve on. Plugged in some values of a system I have, namely:

p=82%
odds=0.5 (wins half the size of losses)

This gives us a Kelly of 46%.

Using a=0.25 and b=4, I got at 12.1% risk of ruin for full Kelly, and a 0.3% risk of ruin for half Kelly. This seems a bit out compared to your formula, but again, the RNG may be dodgy. It's probably my code, I'm sure I didn't have problems with RNGs before.

P.S. I know the coding is awful.
P.P.S. I have a terrible feeling I'm going to look a complete fool in a few short hours


@Hotch:

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.

Reply With Quote
The following 4 users say Thank You to Fat Tails for this post:
 
  #44 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,598 since Mar 2010
Thanks: 4,222 given, 25,356 received
Forum Reputation: Legendary

Example: Calculating the Optimal Bet Size


Big Mike View Post
Please help me understand where the bet size is determined in this example. Can you list an actual trade example (ie: entry, stop, target measured in terms of % risk or Kelly bet size)?

Thanks so much for contributing.

Mike

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.

How many contracts should I trade?


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.

Winning trade : 20 points - 1 point - 0.8 points = 18.2 points
Losing trade: -10 points - 1 point - 0.8 points = -11.8 points

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.

Reply With Quote
 
  #45 (permalink)
Elite Member
Ingatestone
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 133 since Feb 2012
Thanks: 21 given, 54 received


Fat Tails View Post
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.

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.
Reply With Quote
The following user says Thank You to Hotch for this post:
 
  #46 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,598 since Mar 2010
Thanks: 4,222 given, 25,356 received
Forum Reputation: Legendary


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


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:

http://condor.depaul.edu/wchin/riskpaper.pdf

Reply With Quote
The following 6 users say Thank You to Fat Tails for this post:
 
  #47 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,011 since Jun 2009
Thanks: 29,169 given, 82,193 received


Fat Tails View Post
As promised, I will give quick example how to example the optimal bet size. The approach is a reverse one.

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.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #48 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,011 since Jun 2009
Thanks: 29,169 given, 82,193 received

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.

Reply With Quote
The following 2 users say Thank You to Big Mike for this post:
 
  #49 (permalink)
Elite Member
Ingatestone
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 133 since Feb 2012
Thanks: 21 given, 54 received


Fat Tails View Post
@Hotch:

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.

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.
Reply With Quote
The following user says Thank You to Hotch for this post:
 
  #50 (permalink)
Elite Member
Paris, France
 
Futures Experience: Advanced
Platform: Amibroker
Favorite Futures: Futures, Stocks
 
Posts: 96 since Jun 2011
Thanks: 118 given, 102 received


Thanks for this very interesting discussion.

Here is a spreadsheet to implement the very good concepts described by Fat Tails.

You just need to enter the orange fields, it will compute the optimal F, the risk of ruin and the number of contracts for you !

Attached Files
Register to download File Type: xlsx Optimal F.xlsx (13.2 KB, 205 views)

Last edited by TheTrend; March 11th, 2012 at 06:51 AM.
Reply With Quote

Reply



futures io > > > Risk of Ruin

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

July Journal Challenge w/$1100 in prizes from TopstepTrader

July
 

An Afternoon with FIO member Softsoap

Elite only

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Extended Ask Me Anything w/Brett Steenbarger

Elite only

Prototyping Python Strategies (part 3) w/Ran Aroussi

Elite only

Brannigan Barrett w/Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
More Contracts = Less Risk hondo69 Psychology and Money Management 27 October 25th, 2014 11:07 AM
Risk/Reward Calculator baruchs NinjaTrader 5 December 10th, 2013 05:56 AM
Even the Fed Canít Value Financialsí Risk Quick Summary News and Current Events 0 November 14th, 2011 03:30 PM
ZN low risk JTrain Bonds and Interest Rates Trading 9 January 11th, 2011 05:11 PM
Effective risk sefstrat Psychology and Money Management 5 October 17th, 2009 11:37 AM


All times are GMT -4. The time now is 10:55 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-07-27 in 0.16 seconds with 21 queries on phoenix via your IP 54.144.36.228