BETDAQ - BA COM equivalent coding

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

Moderator: 2020vision

BETDAQ - BA COM equivalent coding

Postby grimesy » Sun Jan 15, 2012 12:48 pm

I am looking to code my racing bot for use on BETDAQ's website.

I am interested in how the COM properties / events / objects are coded for BETDAQ, vs. the current code I use for communication [via BA's COM] with Betfair API.

For example, below is the standard GRUSS code posted on this forum for grabbing the next UK / IRE horse race on Betfair:-

Sub getNextRace()
Dim sports, sport, Events, evnt, diff, result
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 Then
result = ba.openMarket(evnt.eventId, evnt.exchangeId)
Exit For
End If
Next
End If
Next
End Sub


My question is this - what is the corresponding code for BETDAQ?
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby MarkRussell » Sun Jan 15, 2012 12:52 pm

Hi,

There isn't corresponding code because our Betdaq version doesn't have a COM interface.

Maybe in the future but no firm plans at this time.

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

Postby grimesy » Sun Jan 15, 2012 8:55 pm

Thank you for the prompt reply.

I can understand your viewpoint at this time.

One for BETDAQ to provide a possible solution to instead, me thinks.
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby Captain Sensible » Mon Jan 16, 2012 3:04 pm

You should still be able to acheive similar things using VBA and the quick pick lists
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby gizmo » Mon Jan 16, 2012 5:19 pm

Does that mean that all the sample triggering spreadsheets e.g.

http://www.gruss-software.co.uk/forum/v ... php?t=3557

will work too?
gizmo
 
Posts: 1
Joined: Mon Jan 16, 2012 5:15 pm
Location: United Kingdom

Postby grimesy » Tue Jan 17, 2012 2:10 am

Captain Sensible wrote:You should still be able to acheive similar things using VBA and the quick pick lists


Thanks CS - I am looking to do so.

I raised on a similar thread on this topic in relation to callling the next race [via the Q2 trigger / "-1" inputted into the refresh rate cell on Excel]

No harm in knowing if there's more than one way to do things.
grimesy
 
Posts: 53
Joined: Tue Sep 30, 2008 3:58 pm

Postby Captain Sensible » Wed Jan 18, 2012 1:46 pm

Unfortunately the com stuff goes over my head at the moment, never seem to get time to figure it out :(

There's quite a few bits of code scattered round the forum on using vba to cycle thru the markets or just move on after certain criteria is met and luckily the Q2 triggers all seem to work fine on the betdaq version also.

I just do most of mine by storing things in variables and then clear the variables and stick -1 in Q2 if all criteria is met.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm


Return to Discussion

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.