Triggered Betting in Excel using Draw Price and Goals Scored

Find a developer for your Excel triggered betting needs and advertise your development service here.

Moderator: 2020vision

Triggered Betting in Excel using Draw Price and Goals Scored

Postby edwards12 » Tue Feb 02, 2010 1:44 pm

Hi - Trying to develop triggered betting in excel which is reliant on both Draw price and current score line. Either a 0-0 draw, or score draw, must prevail before entering a LAY the draw at specified odds.

Can you advise?

Cheers
Gron
edwards12
 
Posts: 2
Joined: Sun Jan 31, 2010 10:41 am

Postby MarkRussell » Tue Feb 02, 2010 3:38 pm

Hi,

The problem is....where do you get the current score from because it is not provided by the API and therefore it is not available to put into the Excel sheet.

You may be able to get it from an external source but obviously it must be reliable and accurate.

Mark
User avatar
MarkRussell
Site Admin
 
Posts: 1787
Joined: Tue Feb 20, 2007 6:38 pm
Location: Birmingham

Postby Yorkie » Tue Feb 02, 2010 3:51 pm

I've done something similar to this in the past and you can usually work out the current score from the odds of the other scores.

eg, if the score is 1-0 then the 0-0,0-1,0-2,0-3 scores will all show the back odds of 1000 and no lay odds.

By combining 2 BA tabs ( match odds & correct score) on 1 excel sheet it should be possible to pick out all the info needed.

Yorkie
Yorkie
 
Posts: 116
Joined: Wed Feb 25, 2009 1:04 pm

Postby Dai_Young » Tue Feb 02, 2010 4:39 pm

I use autohotkey to copy and paste the current scoreline from futbol24.com into excel. I'm sure there is a more elegant solution, however.
Dai_Young
 
Posts: 202
Joined: Sat Nov 19, 2005 8:52 pm
Location: Jerez

Postby osknows » Wed Feb 03, 2010 5:04 pm

What is the quickest/most reliable site for football scores? I might have a new project..
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby edwards12 » Wed Feb 03, 2010 9:44 pm

Thanks for that Mark and everyone, I thought that might be the case. One other question guys, and as an alternative to my previous, can excel trigger a 'text alert' once certain price criteria is satisfied in the match odds In play market ? Gron
edwards12
 
Posts: 2
Joined: Sun Jan 31, 2010 10:41 am

Postby mak » Wed Feb 03, 2010 10:47 pm

Hi
the following might help you
It is not mine I took it form punterslounge forum

place the code in one module


Sub xscores()
Application.ScreenUpdating = False
Dim strURL As String
Dim ieDoc As Object
Dim AllTables As Object
Dim xTable As Object
Dim myWkSht As Worksheet
Dim TblRow As Object
Dim tblCell As Object

Dim r As Integer
Dim c As Integer
Columns("N:O").NumberFormat = "@"
strURL = "http://xscores.com/LiveScore.do?state=soccer&sport=1"

If t = CDate(0) Then
Call NavigateTo(strURL)
End If

Set ieDoc = IE.Document
Set AllTables = ieDoc.frames(3).Document.frames(1).Document.getElementsByTagName("TABLE")
Set xTable = AllTables.Item(0)
Set myWkSht = ThisWorkbook.Sheets("Sheet1")

r = 0
c = 0

For Each TblRow In xTable.Rows
r = r + 1
For Each tblCell In TblRow.Cells
c = c + 1
myWkSht.Cells(r, c) = tblCell.innerText
Next tblCell
c = 0
Next TblRow
r = 0

Dim rng As Range
For Each rng In Range(Sheets(1).Range("A1"), Sheets(1).Range("A65536").End(xlUp))

If rng.Text = "K/O" Then
rng.Offset(0, 3).Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
rng.Offset(0, 8).Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
rng.Offset(0, 16).Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
End If
Next rng
Columns("U:U").ClearContents
Range("A1").Select

'Call DisconnectFrom
't is set at 1 minute intervals
t = Now() + TimeValue("00:01:00")
Application.OnTime EarliestTime:=t, Procedure:="xscores", Schedule:=True
Application.ScreenUpdating = True
End Sub
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am


Return to Find an Excel developer

Who is online

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