excel dutching calculator

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

Postby r_ivica » Mon Jul 12, 2010 12:40 pm

i tryed all this excel samples distributed here on forum and didn't find the answer to my problem, or i am not looking it right.

Here it is showing it on example:

I have this situation (all before match starts):
ManUtd -74
Draw +218
Arsenal +324

and now i want to green up this situation by using excel

BF odds are (back/lay):
ManUtd 1,4/1,41
Draw 4,1/4,2
Arsenal 7/7,2

so i want to input in excel manually situation which i have on betfair according to this example so that excel calculates how to green up this to get each way equal profit.
(all numbers want to input manually, no need for auto refreshing prices etc.)

Please help me providing me some excel example for this.
Thanks for help
r_ivica
 
Posts: 21
Joined: Wed Aug 01, 2007 5:49 pm

Postby osknows » Mon Jul 12, 2010 4:36 pm

r_ivica wrote:Here it is showing it on example:

I have this situation (all before match starts):
ManUtd -74
Draw +218
Arsenal +324


This doesn't look like dutching to me, it looks like you've layed Man U then placed another bet on either Arsenal to win or layed the Draw?
The files on this thread won't help with this.
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby r_ivica » Mon Jul 12, 2010 10:51 pm

well, yes, before this situtation was several different bets.
now need to equal profit with this situation

do you have any idea where to find this solution?
i looked everywhere with no luck
r_ivica
 
Posts: 21
Joined: Wed Aug 01, 2007 5:49 pm

Postby osknows » Tue Jul 13, 2010 2:43 am

Gary has a solution here http://gruss-software.co.uk/forum/viewtopic.php?t=4659 which relies on all previous bets in the market being known. This is by far the easiest way to do what you need.

I don't think it's possible to solve as a single equation when the original positions are unknown since the difference in stake, odds and position of the original bets cannot always be resolved by a single position to give equal profit.

Here is an example spreadsheet which creates 3 positions and then summed to give a known overall position as in your question; Without knowing your original bets I tried to get something similar but the -£74, £218 & £324 figues are different in my example.

Trying to solve gives you 6 possible positions each of which have 3 simultaneous equations which cannot be solved to an equal profit. I believe sensitivity analysis is the only way to solve these where you have to decide:
a) likely event outcome
b) how much profit you want to weight for each outcome

There may well be a way to solve these equations but would need someone smarter than me I'm afraid. Anyone else have any ideas?

http://www.mediafire.com/?jmioyzog0yi
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby jokerjoe » Tue Jul 13, 2010 9:44 am

I'd say there were only three possible variables as it doesn't make sense to both back and lay at the same time. Unfortunately that means you then have a function to convert the new position to either a back or a lay, which makes solving pretty hard. I'm not sure how you would solve it in a closed form.

Fortunately you can always use Solver. It has a few quirks, in this example you need to wipe the variable cells and run twice to get the results. That could prob be fixed.

http://www.mediafire.com/?dodtzgngnzn
User avatar
jokerjoe
 
Posts: 122
Joined: Wed May 09, 2007 12:00 pm

Postby osknows » Tue Jul 13, 2010 11:15 am

That's a really neat method jokerjoe, thanks. I'd never used the solver before.
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby jokerjoe » Wed Jul 14, 2010 9:52 am

johnnic suggests an iterative approach here.

In this version you hedge by laying in order of greatest potential P/L, or by backing in order of lowest potential P/L. It's quick and easy but like an carpet that's not cut right in won't ever quite fit 100%, you can do more loops to fine tune it but then you'll end up backing/laying the field against the overround.

Interesting to note that in this example Solver didn't pick up the laying solution which has the higher greened-up P/L. Again this can prob be fixed.

I think there are only two ways of doing it like this, doing it all backs or lays in order, that's just a hunch though. You then compare the two to see which is better. The difference is massive in this case because if you look at the market overrounds there's an arb available.

http://www.mediafire.com/?lnnl4jmlmtulzdm
User avatar
jokerjoe
 
Posts: 122
Joined: Wed May 09, 2007 12:00 pm

Postby johnnic » Wed Jul 14, 2010 9:59 am

Thanks JokerJoe, that is very useful.

Now, all I have to do is work out how to put it all in VBA.javascript:emoticon(':?')

John
johnnic
 
Posts: 68
Joined: Fri Apr 02, 2010 9:31 am

Postby osknows » Wed Jul 14, 2010 3:59 pm

I was having a read around the web and there seems to be a lot of engineering type problems where the Excel solver is finding localised max and min solutions and not the global. Perhaps that's why the solver needs to be run twice

The site below seems like a good find, there are lots of examples and VBA addins with ability to view source code. Some of the addins also introduce randomisation to overcome localised solutions

http://www.me.utexas.edu/~jensen/ORMM/c ... start.html

http://www.me.utexas.edu/~jensen/ORMM/c ... index.html
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Dutching Calculations

Postby Trussy » Tue Sep 14, 2010 10:09 am

I'm probably missing something blindingly obvious here. I have a spreadsheet which calculates from a fixed stake the bet required to win a fixed amount. It works fine until I try to place the bets on the exchange and as I place each bet, the profit drops on the previous horse(s) so that if I dutch say six, by the time the sixth bet goes on the profit on the fitrst one, two or three is showing a loss.

I know that I am missing something in my calculations but have you any idea what? So that they all show an equal profit?
Trussy
 
Posts: 4
Joined: Wed Aug 11, 2010 5:52 pm
Location: Leicester

Postby Shaun » Tue Sep 14, 2010 1:20 pm

There are 2 options here.
1) Dutch Stake - this is where you have a set amount you wish to dutch for equal profit.
Convert your selections from price to a percentage then use this formula
(selections %/total of all selections %) x Stake
Do this for each runner.

2) Dutch Profit - this is where you want to win a set profit no matter the winner.
First convert price of selection to percentage then add these together = A.
Then 1-A = B
Then (A/B)+1 = C
Then ((Selections% X Stake) X C ) (this formula for each runner.)
Shaun
 
Posts: 435
Joined: Fri May 09, 2008 11:11 pm
Location: Kellerberrin, Western Australia

Dutching Query

Postby Trussy » Tue Sep 14, 2010 1:36 pm

many thanks for the quick reply. I will have a play with this over the next few days and see how it goes

Thanks again

Trussy
Trussy
 
Posts: 4
Joined: Wed Aug 11, 2010 5:52 pm
Location: Leicester

Dutching

Postby mr8147 » Thu Oct 28, 2010 1:02 am

mr8147
 
Posts: 5
Joined: Thu Sep 16, 2010 2:20 pm

Postby Trussy » Thu Oct 28, 2010 9:38 am

Hi mr8147
Have downloaded your spreadsheet but being a newbie and not that ofay with excel any chance of some instructions to go with it at all please.

many thanks

Trussy
Trussy
 
Posts: 4
Joined: Wed Aug 11, 2010 5:52 pm
Location: Leicester

Postby r_ivica » Wed Jul 20, 2011 11:51 am

r_ivica wrote:i tryed all this excel samples distributed here on forum and didn't find the answer to my problem, or i am not looking it right.

Here it is showing it on example:

I have this situation (all before match starts):
ManUtd -74
Draw +218
Arsenal +324

and now i want to green up this situation by using excel

BF odds are (back/lay):
ManUtd 1,4/1,41
Draw 4,1/4,2
Arsenal 7/7,2

so i want to input in excel manually situation which i have on betfair according to this example so that excel calculates how to green up this to get each way equal profit.
(all numbers want to input manually, no need for auto refreshing prices etc.)

Please help me providing me some excel example for this.
Thanks for help


I created a correct calculation for this!

https://skydrive.live.com/redir.aspx?ci ... 5ktNKV4%24
r_ivica
 
Posts: 21
Joined: Wed Aug 01, 2007 5:49 pm

PreviousNext

Return to Discussion

Who is online

Users browsing this forum: No registered users and 21 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.