A few years ago, friends and I took a pit stop in Macau during a trip through Asia after our graduation. While there, I came up with a fairly simple roulette strategy that I thought could work for someone with enough of a bankroll. Since then, my friend Steve and I have argued about 15x about the validity of this strategy. In fact, Steve even wrote a VBA program to prove that I was wrong. Well, Steve, I wrote my own program this past rainy Sunday (to highlight my gambling prowess, this Sunday I also doubled up in Texas Hold ‘EM poker after flopping a full house with 7, 2 off suite – but that’s a story for another day).
The strategy is as follows: put $1 on black. If you win, take your winnings off the table and put a new $1 bet down. If you lose, then put $2 down, if you lose again, double it to $4, if you lose again, double it to $8, and keep doubling down until you win, then take all of your money off the table (your winnings will offest your previous string of losses and leave you with a $1 profit), and start again with a $1 bet. Of course, the problem becomes, what happens when you lose 10 times in a row. Well, I’m glad you asked.
First off, let’s analyze the probability of you losing that many times in a row. There are 38 possibilities in a roulette wheel – numbers 1-36, 0, and 00. So, your chances of not hitting your color are ((38-18)/38, or about 53%. So, you don’t have a great chance of winning if you just play once. But, what are the chances of you losing several times in a row? The below table illustrates how low these odds become (‘Necessary Bet’ is the bet needed to recover losses and make $1. The ‘Probability’ is the cumulative probability of losing n many times in a row. See R1:T17 of the first tab of the excel I link to at the bottom of the post for the calculations):
Below is a graph of what your pay offs may look like. Note that you are winning only $1 at a time until you eventually get really unlucky, somewhere around your 13,000th spin in this case, and lose money beyond your bankroll which forces you to quit and walk out of Macau penniless (but hopefully not indebted to some Asian Gangsters). Notice how the blue bar suddenly drops to -$9,000…
This type of payoff structure is analogous to “picking up nickles in front of a steam roller.” If you haven’t already, you should read When Genius Failed, the story of the demise of Long Term Capital Management. LTCM was a hedge fund run by Nobel laureates who made thousands of tiny bets using computer programs in a strategy called statistical arbitrage, among others. The hedge fund blew up as they thought the scenarios that would cause their fund to collapse would only occur once every few centuries (it only took a few years for the fund to meet its very spectacular end in one of the first “too big to fail” situations. Fun fact: all Wall Street banks pitched in to help unwind the fund’s assets, and thus divert a systemic break in the economy, except for Bear Stearns who refused to help…).
Below is a zip file with three Python programs whose outputs are captured in the excel. The programs assume that you start with $100, and can borrow up to $5,000 from your friend (except for the last one that assumes you can borrow $15,000). So, just as LTCM relied on leverage to try to double down on their bets and save their fund, this strategy also relies on loans to stay afloat in bad times when the odds go against you.
The first program is what would happen if you sat down and played until you went bust. I ran this program once, and you make about $6,000 before hitting some bad luck and going bust (this is shown in the line graph above). The second program basically runs the first program 10,000 times in order to get an average payout. However, this one assumes you are only willing to play 100 games in a row as even 100 games would probably take a very long time in reality. The last program is the same as the second, except that the player can lose up to $15,000 before quitting, and, if they have played 100 games and are at a negative value at the 100th game, they will play until they either recoup their losses, or go bust and lose $15,000. This last scenario actually yields a positive expected value of about $4 (see the third table of the excel file I link to at the end of the post. Expected value is what you would expect to win, on average, if you played this strategy many times). Here is the distribution of returns from spending 10,000 nights in the casino with your friend that has $15,000 he can loan you if need be. Pay no attention to the long tails where you lose $8,000 – that’s like a 10 sigma event and would NEVER happen 🙂
Conclusion: is this an effective strategy? Not really. Even if you found a table that let you start with $1 bets, and you had the patience to sit down and do this, and you had the bankroll, it’s just not going to yield all that much cash over time.
Please feel free to look over my code and let me know if you come up with any other conclusions by modifying it! Also – I’m not a programmer – these scripts were very easy to do and took me only a few hours to write all three and conduct all analysis because Python is super easy! If you want to learn more, MIT has FREE courses on Python that you should check out. Enjoy!
To quote a really great “anti-recruiter” LinkedIn profile describing time spent at a large quant hedge fund: “I earn above-market returns 95% of years by collecting theta, selling volatility in the form of financial derivatives, naked short put options, and in summary, collect nickels and dimes in front of steam rollers, hoping the black swans never appear during my lifetime.”
Attachments:
Python programs: Roulette Programs
verbsarg fe9c53e484 https://www.guilded.gg/reudrydosaps-Saloon/overview/news/PyJPXa7l
watsusa fe9c53e484 https://www.guilded.gg/exelabsons-Gators/overview/news/2lM1DoBl
aleaith fe9c53e484 https://trello.com/c/03GI5A0x/77-descargar-dick-wilde-versi%C3%B3n-completa-2022
branyal fe9c53e484 https://public.flourish.studio/story/1307714/
olewelb fe9c53e484 https://public.flourish.studio/story/1316607/
geopes fe9c53e484 https://coub.com/stories/4958618-descargar-mustache-in-hell-version-completa-2022
kaymae fe9c53e484 https://www.guilded.gg/neusorpglenans-Bombers/overview/news/jyPMeaMR
yudjai fe9c53e484 https://www.guilded.gg/noperceris-Huskies/overview/news/r6Bwj7Ay
Thanks for sharing your info. I really appreciate your efforts
and I am waiting for your next write ups thank you once again.
free accounts
free accounts
It’s a shame you don’t have a donate button! I’d
without a doubt donate to this brilliant blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account.
I look forward to new updates and will share this blog with my
Facebook group. Talk soon!
free accounts
free accounts
This information is invaluable. How can I find out more?
free accounts
free accounts
I was suggested this web site by my cousin. I am no longer positive whether this put up is written via him
as no one else recognise such particular about my
difficulty. You are wonderful! Thanks!
free accounts
free accounts
I think that everything posted made a lot of sense.
However, what about this? suppose you added a little content?
I am not suggesting your content is not solid, but what if you added a post title that makes people desire more?
I mean 10,000 Nights at a Casino – Using Python to
test my Roulette Strategy – Phil Strazzulla's Blog is
a little vanilla. You might glance at Yahoo’s home page and
note how they create article headlines to grab viewers
to open the links. You might add a related video
or a related picture or two to grab readers interested about what you’ve got
to say. In my opinion, it could bring your website a little bit more interesting.
you could look here
read review
Hello everybody, here every one is sharing such familiarity, therefore it’s nice
to read this website, and I used to pay a visit this webpage
all the time.
free accounts
free accounts
Very nice write-up. I absolutely appreciate this website.
Stick with it!
free accounts
free accounts
Hello mates, its great paragraph about teachingand completely explained,
keep it up all the time.
free accounts
free accounts
Hi, I do believe this is a great website. I stumbledupon it 😉 I will return once again since
I saved as a favorite it. Money and freedom is the greatest way to change, may
you be rich and continue to help others.
free accounts
free accounts
Good day! Would you mind if I share your blog with my myspace group?
There’s a lot of folks that I think would really
enjoy your content. Please let me know. Many thanks
free accounts
free accounts
Great weblog right here! Additionally your web site loads up fast!
What host are you using? Can I am getting your affiliate hyperlink in your host?
I want my web site loaded up as fast as yours lol
free accounts
free accounts
Thank you great post. -_- Hovarda Giriş . Website Giriş https://h0varda.com/
Asking questions are really pleasant thing if you are not understanding
something fully, except this piece of writing presents fastidious understanding yet.
free accounts
free accounts
It’s a shame you don’t have a donate button! I’d most certainly donate to this superb blog!
I guess for now i’ll settle for book-marking and adding your RSS
feed to my Google account. I look forward to new updates and will talk about this site with my Facebook group.
Chat soon!
free accounts
free accounts
Thank you for great content. -_- Hovarda Giriş . Website Giriş https://h0varda.com/
I’m not that much of a online reader to be honest but your
blogs really nice, keep it up! I’ll go ahead and bookmark your website to come back later.
Cheers
free accounts
free accounts
Wonderful photos, the colour and depth of the photos are breath-taking, they attract you in as though you are
a component of the composition.
free accounts
I really love to read such an excellent article. Helpful article. http://www.kabuledenbahissiteleri.com
Way cool! Some extremely valid points! I appreciate you writing this post plus the rest of the site is really
good.
free accounts
free accounts
I’m not sure exactly why but this web site is loading extremely
slow for me. Is anyone else having this issue
or is it a problem on my end? I’ll check back later
and see if the problem still exists.
What sort of camera is this? That is certainly a great good quality.
free accounts
Thank you great posting about essential oil. http://www.kabuledenbahissiteleri.com
What kind of camera is this? That is certainly a great premium quality.
free accounts
I quite like the colorations!
free accounts
Enjoyed the pictures, i actually like the among this image, perfecto.
free accounts
Enjoyed the pictures, i truly like the among this image, perfect.
free accounts
I really love to read such an excellent article. Helpful article.
Nice article inspiring thanks. http://www.kabuledenbahissiteleri.com
Thank you for content. Area rugs and online home decor store. kabuledenbahissiteleri.com
Your pics look terrific !!!
free accounts
Adored the photos, i really like the one of this image, perfect.
free accounts
Simply looked at several of your images (: i’m really happy i reached job shadow you.
You’re wonderful!
free accounts
Thank you great post. Website: https://www.aisreality.com/
this image is definitely the perfect.
free accounts
Some wonderful photos. Fantastic colors.
free accounts
I love the colors.
free accounts
What sort of camera is this? That is a really good high quality.
free accounts
Great depth 😮
free accounts
Merely internet checking things out … love the images!
I try to discover by considering other pictures, also.
free accounts
Loved the images, i truly like the among this image,
perfect.
free accounts
this image is certainly the different.
free accounts
Some wonderful pictures. Impressive colors.
free accounts