Grabbing Results of last Dog race to trigger bets..

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

Moderator: 2020vision

Grabbing Results of last Dog race to trigger bets..

Postby mattm » Thu Jan 21, 2010 5:10 pm

I was wondering how easy this would be to do.

I want to make a bot that will grab the result of a Dog Race at x Track for the previous race and that will then trigger a bet depending on the result of the last race at the next race at the track.

Is it possible to scrape the result of the last race at x track from say the dogs.co.uk then automatically trigger a bet on my excel sheet ?

Many thanks and hello, good site.

:)
mattm
 
Posts: 2
Joined: Thu Jan 21, 2010 5:07 pm

Postby Captain Sensible » Thu Jan 21, 2010 9:23 pm

Anything is possible :) If you just want to know the result of your last bet gruss already has something set to log bets to excel & check if they won/lost. Dogs are settled more or less straight away so shouldn't be any problems with outstanding bets. If you're looking to code your own stuff screen scraping is easy enough from any site, I use betfairs own rss feeds to update a database at the end of each day but they're updated after each race settlement.

They're in xml format sao easy to parse etc dogs results on
http://rss.betfair.com/RSS.aspx?format= ... ortID=4339 be easy enough to parse the trap number out of the FC result if the name wasn't enough on the winner market
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby mattm » Thu Jan 21, 2010 11:29 pm

Thanks alot CS.

Well i was looking into the Trap number more than anything else.

Basically ideally to have an automatic bot that i switch on.

One for each Bags meeting through the day, taking the outcome (result) of Race 1 then hitting a bet automatically 30 seconds before the off in Race 2 at the same track taking into consideration the result of Race 1, then doing this for Race 3 based on Race 2 and so on so forth.

So the results from betfair only seem to have trap name so i would have to scrap the result from dogs.co.uk or some other source providing the Trap number.
mattm
 
Posts: 2
Joined: Thu Jan 21, 2010 5:07 pm

Postby Captain Sensible » Fri Jan 22, 2010 1:36 am

I used to use it as all the data would match correctly as result and bet details were all taken from betfair so wouldn't have problems with any name clashes.

If it's the trap number you want why not use the quick results frame from the greyhound micro site as that'll be updated quickly and simple to parse as there's basically no html just a feed for the frame.

http://www.betfair.com/grhp/home/quickResults.action
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby Captain Sensible » Fri Jan 22, 2010 1:46 am

I'm assuming you're doing this through excel and gruss, I'm clueless at VB coding but can't see it being too hard to do for someone with vb knowledge as you're betting 30 seconds form the off so the result will certainly be up by then so you just need to

load the market 30 secs before the off

grab the results page,

parse out the trap number by using the meeting from Cell A1

a big of regex to grab the data between first instance of the meeting name ending with ". " take out the trap number then place your bet,

shouldn't be any need to have a separate sheet for each meeting as it could all be done on the same sheet loading todays greyhounds and set to select markets 30 seconds pre off
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm


Return to Discussion

Who is online

Users browsing this forum: Bing [Bot] and 57 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.