Near-end of the race

Please post any questions regarding the program here.

Moderator: 2020vision

Near-end of the race

Postby yrufset » Thu Mar 31, 2011 10:07 pm

Hello
i wondered:
In Excel triggering, is there a way to know how the race is close to it's end?
My goal is to lay a horse at medium price (i guess between odds 6-10) in the last few seconds, if such one exist?

Thanks in advance,
Love the software ;)
yrufset
 
Posts: 11
Joined: Tue Dec 07, 2010 9:57 pm

Postby alrodopial » Thu Mar 31, 2011 11:26 pm

Only if you create an in play timer and estimate the duration of the race.
There is no other way.
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm

Postby mak » Fri Apr 01, 2011 7:44 am

Probably you need the following (it is Gary's Code see the thread also)


'''''Garys timer inPlay
'' http://www.gruss-software.co.uk/forum/v ... hp?t=2404&


Insert the following code into sheet1

Private Sub Worksheet_Change(ByVal Target As Range)
If updating Then Exit Sub
updating = True
If cells(2, 5) = "In Play" Then
If cells(1, 27) = "" Then cells(1, 27) = cells(2, 3)
If cells(1, 27) <> "" Then cells(1, 28 ) = DateDiff("s", cells(1, 27), cells(2, 3))
End If
If cells(2, 5) <> "In Play" And cells(2, 6) <> "Suspended" Then
cells(1, 27) = ""
cells(1, 28 ) = ""
End If
updating = False
End Sub

Create a new module and add the following line.

Public updating As Boolean

Cell AA1 will contain the time the market went in play and cell AB1 will contain the number of seconds from when the market went in play.
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Thanks!

Postby yrufset » Fri Apr 01, 2011 8:16 am

Thanks for the informational reply!
much appreciated :)
will check it today and report.
yrufset
 
Posts: 11
Joined: Tue Dec 07, 2010 9:57 pm

Postby mak » Fri Apr 01, 2011 8:46 am

There are 2 more formulas which can help you
I have mine at cells BT1 & BT2 (switch them for your needs)

BT1 (reads cell A1 end gives the distance of the race-eg 2M)
=IF(MID(A1,FIND(":",A1)+6,1)="",MID(A1,FIND(":",A1)+4,2),MID(A1,FIND(":",A1)+4,4))


BT2 (reads cell BT1 and calculates distance in furlongs-eg 16)
=IF(TYPE(FIND("m",BT1))=16,LEFT(BT1,LEN(BT1)-FIND("f",BT1)+1)*1,IF(TYPE(FIND("f",BT1))=16,LEFT(BT1,LEN(BT1)-FIND("m",BT1)+1)*8,LEFT(BT1,FIND("m",BT1)-1)*8+MID(BT1,FIND("m",BT1)+1,FIND("f",BT1)-FIND("m",BT1)*1-1)))

then you have to place a final formula which depends on how much you estimate the time of a furlong -eg 11.5 sec

so it is 11.5*BT2
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby alrodopial » Fri Apr 01, 2011 9:54 am

If you go with the way mak suggested you must know that in many cases BF states the length of a race as i.e. 2m1f and in reality it is 2m & 1 1/2f .
You may have up to 1/2f diff because of the round up.
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm

Postby mak » Fri Apr 01, 2011 10:52 am

Hi Al
you are right
I really don't know any better way for doing this,
but from my small experience there is not a "need" for a trigger to be so extremely time accurate to make it work...odds are a very strong indicator as well
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Fri Apr 01, 2011 11:12 am

If you want to be more precise you could factor in the standard course times for each course based on race type and distance. Eg this link gives standard times for Newcastle

http://www.racingpost.com/horses/course ... urse_id=37
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby doris_day » Fri Apr 01, 2011 11:55 am

The other factor you need to take into account is that quite often Betfair put their races into play 5 or more secs before the actual off.
'He was looking for the card so high and wild he'd never need to deal another' - Leonard Cohen
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Thanks, again

Postby yrufset » Fri Apr 01, 2011 4:56 pm

Couldn't ask for better answers,
thanks for your kind advices.
yrufset
 
Posts: 11
Joined: Tue Dec 07, 2010 9:57 pm

Postby alrodopial » Fri Apr 01, 2011 6:08 pm

Also depending on the ground Good/Heavy etc (and the dist) you may get up to 30secs diff at the same dist with diff going
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm

Postby osknows » Fri Apr 01, 2011 6:54 pm

User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby bolpx001 » Sun Apr 03, 2011 12:14 am

Hi Doris - how does betfair know to put the race in play 5 seconds before off, is somebody making an estimate based on horses being loaded into stalls? If you are correct then a good price might be just a second or two after the off. I am trying to develop a system and that could just be the key to it unless I have the wrong end of the stick- Paul
bolpx001
 
Posts: 297
Joined: Sat Nov 19, 2005 4:30 am
Location: Dublin, Ireland


Return to Help

Who is online

Users browsing this forum: No registered users and 52 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.