Moderator: 2020vision
by grimesy » Thu Nov 17, 2011 10:20 pm
by GaryRussell » Fri Nov 18, 2011 8:41 am
If diff >= 0 And InStr(evnt.eventName, "(") = 0 Then
If diff >= 0 And InStr(evnt.eventName, "(US)") <> 0 Then
by grimesy » Fri Nov 18, 2011 4:16 pm
by grimesy » Fri Nov 18, 2011 4:20 pm
by GaryRussell » Sat Nov 19, 2011 10:30 am
Sub getNextRace(country As String)
Dim sports, sport, Events, evnt, diff, result
Sheets("Code").Select
If ba Is Nothing Then
Set ba = New BettingAssistantCom.ComClass
End If
sports = ba.getSports()
For Each sport In sports
If sport.sport = "Horse Racing - Todays Card" Then
Events = ba.getEvents(sport.sportId)
For Each evnt In Events
diff = DateDiff("s", Now(), evnt.startTime)
If (diff >= 0 And InStr(evnt.eventName, "(") = 0 And country = "GB") Or _
(diff >= 0 And InStr(envt.eventName, "(US)") <> 0 And country = "US") Or _
(diff >= 0 And InStr(envt.eventName, "(RSA)") <> 0 And country = "RSA") Then
result = ba.openMarket(evnt.eventId, evnt.exchangeId)
Exit For
End If
Next
End If
Next
Sheets("Code").Select
End Sub
by grimesy » Fri Nov 25, 2011 12:11 am
by kiint » Mon Nov 28, 2011 8:29 pm
grimesy wrote:Hello all,
I can get my Excel sheet to grab the next UK/Irish race using the below code; I have USA racing selected on my preferences; AND the races appear on my quick-pick list.
However, the Excel sheet will not auto-grab the next USA race [if a US race is the next one].
Suggestions?
Thanks.
=======================================================
by mrprobit » Tue Dec 13, 2011 2:43 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.