Off Topic - Historical Data

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

Moderator: 2020vision

Off Topic - Historical Data

Postby GeorgeUK » Thu Jul 19, 2007 11:08 am

Not related to BT directly, so apologies for this.

Does anyone use Betfair's Historic Data?
And if so, can you tell me whether the Event ID is sequential for horse racing?
eg
1001 win
1002 place

and not

1001 win
1002 without fav
1003 place

I'm trying to test whether estimated odds are "close" to the actual Betfair odds, but taking the data from the historical files Betfair produces is a little complicated. It's easy enough to find the "to be placed" market and therefore the Event ID, but need advice on whether the win only market (which has no description i can actively search for) is always 1 Event ID number off the place market.

Does anyone know?

thanks
George
previously known as Gaseous (on the betfair forum)
User avatar
GeorgeUK
 
Posts: 315
Joined: Sat Nov 19, 2005 10:18 pm
Location: Scotland

Postby Pug Munter » Thu Jul 19, 2007 1:38 pm

George,

And apologies from me too because I don't know the answer to your question but wondered if you could help me out :-)

Whenever I've tried to download the Horse Racing Data, the file is always bigger (probably a lot bigger) than Excels 65000 rows will take, so lots of data is lost.

Is there a way of importing this without losing any of it please?

Many thanks
Pug Munter
 
Posts: 19
Joined: Fri Jun 09, 2006 1:13 pm

Postby dermag » Thu Jul 19, 2007 1:39 pm

Hi George,

In the past it hasn't always been the same. I used to run an automated excel sheet which queried [betfair lite] for the win & place markets and I found that 'most' are sequential as you say, but occasionally for whatever reson, usually major meetings they were opposite. IE the win was usually the number before the place, like 10001 and 10002 but then now and then they'd swap it round.

In the end I started parsing their xml page to get exactly what I wanted. I realise this wont work for you using the historical data, which is also incomplete I might add. I just parsed all the place market data for 2006 Jan thru June and as it comes in "weekly" zip files theres usually no data at all for the last day of the week quoted. I queried betfair but their response was the usual....no f*****g answer at all. Very frustrating.

I you have the ability, and I suspect you do in spades, could you not just parse all UK horses both win & place in a basic list and then sort in excel by date/horse. This would put them in the correct default order of Date/Horse/Win price/Place price.
dermag
 
Posts: 60
Joined: Sun Feb 18, 2007 3:35 pm

Postby Mattmid » Thu Jul 19, 2007 1:43 pm

Pug Munter

I had the same problem and found a vb script at mrexcel . com that imports it fine across as many sheets as it takes. The script I found there is for text files but if you change the .txt bits to .csv it works fine.
Mattmid
 
Posts: 47
Joined: Thu Jul 19, 2007 1:14 pm

Postby Pug Munter » Thu Jul 19, 2007 1:46 pm

Mattmid wrote:Pug Munter

I had the same problem and found a vb script at mrexcel . com that imports it fine across as many sheets as it takes. The script I found there is for text files but if you change the .txt bits to .csv it works fine.


Superb, many thanks!!!
Pug Munter
 
Posts: 19
Joined: Fri Jun 09, 2006 1:13 pm

Postby GeorgeUK » Thu Jul 19, 2007 2:12 pm

I made a workbook that looks at all csv and txt files within whatever folder (and subfolders) the workbook is placed.
http://www.punterslounge.com/forum/show ... hp?t=47965

It's a bit complicated, but i did a full explanation of what it does.
previously known as Gaseous (on the betfair forum)
User avatar
GeorgeUK
 
Posts: 315
Joined: Sat Nov 19, 2005 10:18 pm
Location: Scotland

Postby milfor » Sat Feb 02, 2008 2:09 pm

I find no way to look at more than 65000 lines in the betfair historical data.

I tried George's workbook with a non-horseracing-csv. 8 files were created where only the first column is filled. :(
milfor
 
Posts: 437
Joined: Mon Jun 26, 2006 1:44 am

Postby MarkRussell » Sat Feb 02, 2008 3:18 pm

You can have 1,048,576 rows in Excel 2007.
User avatar
MarkRussell
Site Admin
 
Posts: 1787
Joined: Tue Feb 20, 2007 6:38 pm
Location: Birmingham

Postby milfor » Sat Feb 02, 2008 4:12 pm

Thanks for the suggestion. But I have a free student version of Excel 2002. I would have to buy Excel 2007 and that would be quite expensive.
milfor
 
Posts: 437
Joined: Mon Jun 26, 2006 1:44 am

Postby mclarens » Thu Feb 07, 2008 11:24 am

u should be able to get a free file splitter online.

then u can break up the .txt or .csv files separately say a 60mb file
break up into 20 files say.

very time consuming and cumbersome.

but ..... in the context of what is being thrown up a solution.
mclarens
 
Posts: 5
Joined: Mon Aug 28, 2006 12:39 pm


Return to Discussion

Who is online

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