Moderator: 2020vision
by jayalexander » Sat Dec 04, 2010 4:11 pm
by GaryRussell » Sat Dec 04, 2010 6:18 pm
by jayalexander » Sat Dec 04, 2010 7:04 pm
by jayalexander » Fri Dec 24, 2010 3:39 pm
by john_boyuk » Sat Dec 25, 2010 8:54 pm
GaryRussell wrote:Sorry my brain was not in gear yesterday. My solution would place the lay bet 2 seconds after the scheduled start of the race, not the actual start of the race which it needs to be to get the actual SP.
Instead of using the formula I provided in T1 you will need a small amount of VBA to monitor cell [E2] for "In Play" and then insert the elapsed seconds in cell T1.
1. Press alt-f11 to display the code editor.
2. Double click Sheet1 under VBAProject to the left of the code editor.
3. Paste the following code into the editor.
- Code: Select all
Option Explicit
Dim inPlayTime As Date
Dim turnedInPlay As Boolean
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count = 16 then
Application.EnableEvents = False
If [E2] = "In Play" Then
If Not turnedInPlay Then
turnedInPlay = True
inPlayTime = Now
End If
[T1] = DateDiff("s", inPlayTime, Now)
Else
turnedInPlay = False
[T1] = 0
End If
Application.EnableEvents = True
End If
End Sub
4. The trigger should now be =if($T$1>=2,"LAY,"")
Yes, just enter your required stake in column S. I recommend using a small stake at first like £0.10 to test it.
by GaryRussell » Sat Dec 25, 2010 9:11 pm
i have copied the 2 sums into Q9 and R9
by john_boyuk » Sat Dec 25, 2010 9:32 pm
GaryRussell wrote:i have copied the 2 sums into Q9 and R9
It's not exactly clear what you mean by this. Q9 should contain the formula [b=((Y5-1)/2)+1b] and R9 should contain =Y9 (assuming the SP is output to column Y). If you have done this then it should work. Also don't forget S9 should contain your required stake.
by john_boyuk » Sat Dec 25, 2010 9:37 pm
john_boyuk wrote:GaryRussell wrote:i have copied the 2 sums into Q9 and R9
It's not exactly clear what you mean by this. Q9 should contain the formula [b=((Y5-1)/2)+1b] and R9 should contain =Y9 (assuming the SP is output to column Y). If you have done this then it should work. Also don't forget S9 should contain your required stake.
Thanks gary.... Q9 contains the formula =if($T$1>=2,"LAY,"") and R9 is currently showing 12.3. Column Y shows an SP for each horse. Not sure if this is right!
by john_boyuk » Sat Dec 25, 2010 11:53 pm
john_boyuk wrote:john_boyuk wrote:GaryRussell wrote:i have copied the 2 sums into Q9 and R9
It's not exactly clear what you mean by this. Q9 should contain the formula [b=((Y5-1)/2)+1b] and R9 should contain =Y9 (assuming the SP is output to column Y). If you have done this then it should work. Also don't forget S9 should contain your required stake.
Thanks gary.... Q9 contains the formula =if($T$1>=2,"LAY,"") and R9 is currently showing 12.3. Column Y shows an SP for each horse. Not sure if this is right!
Oh and I've just realised that the 12.3 showing in R9 is also showing in the Y9 cell which is the SP column
by alrodopial » Sun Dec 26, 2010 1:26 am
john_boyuk wrote: Will it place the lay bet at double the back bet (20p) which is what I want it to do..
by john_boyuk » Sun Dec 26, 2010 1:36 am
alrodopial wrote:john_boyuk wrote: Will it place the lay bet at double the back bet (20p) which is what I want it to do..
No, you have to place the back bet manually.
Code and formulas Garry provided will place the lay bet in running.
by alrodopial » Sun Dec 26, 2010 8:56 am
john_boyuk wrote:Ahhh... right thanks alrodopia... So can I place a back bet to take the betfair SP the morning of the race then?
by john_boyuk » Sun Dec 26, 2010 11:27 am
alrodopial wrote:john_boyuk wrote:Ahhh... right thanks alrodopia... So can I place a back bet to take the betfair SP the morning of the race then?
yes you can, use the "BACKSP"
by john_boyuk » Mon Dec 27, 2010 1:51 pm
john_boyuk wrote:alrodopial wrote:john_boyuk wrote:Ahhh... right thanks alrodopia... So can I place a back bet to take the betfair SP the morning of the race then?
yes you can, use the "BACKSP"
Oh well everywhere has fallen victim to the weather today so i'll test out the code and formulas tomorrow if we get any racing on!! Thanks guys...really appreciated
by GaryRussell » Mon Dec 27, 2010 8:21 pm
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.