I think the site has been a bit dodgy for a while but working fine at the moment with all files up to date.
Betfair Price Files Download Manager
-
- Posts: 3140
- Joined: Sun Jan 31, 2010 8:06 pm
- ShaunWhite
- Posts: 9731
- Joined: Sat Sep 03, 2016 3:42 am
It's nothing to do with being 64bit. It works fine on my system. 64bit Win7Pro, Excel2016.
You say you 'got errors', saying what the errors actualy were might have helped in finding a solution, similarly with 'didn't work'. It doesn't give much to work with.
Its for me in German but i try it, " Error to compile. The Code in this Project must be refresh for 64 Bit Systems.Change Declare and mark it with PtrDafe-Attribut...ShaunWhite wrote: ↑Wed Mar 28, 2018 1:35 pmIt's nothing to do with being 64bit. It works fine on my system. 64bit Win7Pro, Excel2016.
You say you 'got errors', saying what the errors actualy were might have helped in finding a solution, similarly with 'didn't work'. It doesn't give much to work with.
- MemphisFlash
- Posts: 2166
- Joined: Fri May 16, 2014 10:12 pm
- Location: Leicester
If only i,d found this on tuesday. took me 10 hours getting the info i wanted. This way took less than an hour
You're amazing DUDE!!/DUDe/Dud-ette ; Surprised at how few youtube views on there though, but your stuff is gold, good work and keep it up sensei !! Many thanks
Also worth mentioning that WHEN running the files on a 64-bit machine, like mine, you'd have to mark declare statements with 'PtrSafe' ...... i.e. Using a very generic example below to demonstrate :
"Declare Function GetActiveWindow Lib "user32" () As Long"
becomes :
"Declare PtrSafe Function GetActiveWindow Lib "user32" () As Long"
If running on 32 bit machines, no changes to code required. ----Just my lil contribution
![Wink ;)](./images/smilies/icon_e_wink.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Also worth mentioning that WHEN running the files on a 64-bit machine, like mine, you'd have to mark declare statements with 'PtrSafe' ...... i.e. Using a very generic example below to demonstrate :
"Declare Function GetActiveWindow Lib "user32" () As Long"
becomes :
"Declare PtrSafe Function GetActiveWindow Lib "user32" () As Long"
If running on 32 bit machines, no changes to code required. ----Just my lil contribution
Where can I find the Betfair SP matched Volume. Not Total Volume but just the matched money that was matched at Betfair SP. In these SP data files on the Promo site only have the columns for Morning Volume, Pre Off volume and In Play volume but no BSP volume matched for example:nigelk wrote: ↑Sun Jun 18, 2017 12:35 pmFinding the files here a pain to sort out exactly what you need? How long does it take to sort out & download 1 years worth of files?
www.betfairpromo.com/betfairsp/prices/
Heres a spreadsheet that does away with all the hard work & eyestrain.
Betfair Price Files v5.7z
Note: Any files created on your C drive must be named the same as shown on the download manager. I've made a you tube video thats gives a quick demonstration:
https://www.youtube.com/watch?v=AMpchy4 ... e=youtu.be
and also shows you what VBA reference libraries I've got ticked.
https://www.youtube.com/watch?v=r6rhQ95 ... e=youtu.be
The update button will process any info that is held in the spreadsheet, then looks for any updates for the current year from then on
For example, if you've download 2017 to date, when you run it tomorrow/next week, it will download any updated files. Some files are not listed such as " bfprices_26072008.csv" where there is no indication of win or place or even which country it is
If you look at the UK Win files from 2007, there are only two that we can be sure contain only the win info
You do not have the required permissions to view the files attached to this post.
Hi Nigel,
That is an awesome help.
Far be it from me to complain as I am very grateful for the work you have saved me so this is not a complaint but when I downloaded, say 2015 (UK Win) and it said 365 files were available but it downloaded 163 files.
The other years 2016 (152 days) and 2017 (156) were a bit short too.
I'm not sure if I am doing anything wrong and still very happy with the results.
Cheers Doug
That is an awesome help.
Far be it from me to complain as I am very grateful for the work you have saved me so this is not a complaint but when I downloaded, say 2015 (UK Win) and it said 365 files were available but it downloaded 163 files.
The other years 2016 (152 days) and 2017 (156) were a bit short too.
I'm not sure if I am doing anything wrong and still very happy with the results.
Cheers Doug
Hello All,
Was just curious as to how things work.
I downloaded a few months data from betfair (the free stuff).
You get a stack of directories with 2 sub folder extracts.
How can you recursively extract each of these 2 files in each subfolder (using 7zip) to one central directory.
At this point you can make a dir list and process each file.
Any help appreciated,
Thanks,
Neil.
Was just curious as to how things work.
I downloaded a few months data from betfair (the free stuff).
You get a stack of directories with 2 sub folder extracts.
How can you recursively extract each of these 2 files in each subfolder (using 7zip) to one central directory.
At this point you can make a dir list and process each file.
Any help appreciated,
Thanks,
Neil.
- ShaunWhite
- Posts: 9731
- Joined: Sat Sep 03, 2016 3:42 am
Maybe you could go to the root folder of the tree your files are in, search for all files, then copy & paste them all from the search window, to a single folder somewhere. Then unzip them in there? If you have duplicate file names windows can rename them for you when you do the copy.
Then as you say...you can open a command window, cd to the unzipped files folder and merge them with a dos Copy or Type command.
Then as you say...you can open a command window, cd to the unzipped files folder and merge them with a dos Copy or Type command.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
I'm getting a 'Compile Error' with Betfair Price Files v5.7z. ![Sad :(](./images/smilies/icon_e_sad.gif)
STOP PRESS: Sorry, my fault, I hadn't seen Hugo219's patch for this before posting (see above). The "PtrSafe" addition works fine. Thanks Hugo … I will leave this post here just to advertise the patch.![Smile :)](./images/smilies/icon_e_smile.gif)
![Sad :(](./images/smilies/icon_e_sad.gif)
STOP PRESS: Sorry, my fault, I hadn't seen Hugo219's patch for this before posting (see above). The "PtrSafe" addition works fine. Thanks Hugo … I will leave this post here just to advertise the patch.
![Smile :)](./images/smilies/icon_e_smile.gif)
You do not have the required permissions to view the files attached to this post.
There was a problem accessing the files, it turned out to be that the URL had changed. They switched to a secure server. Make sure you change VBA code to add "s" after the http.
Double check your URLs and make sure the real life addresses match the ones your program is using.
I attached corrected spreadsheet in any case.
Double check your URLs and make sure the real life addresses match the ones your program is using.
I attached corrected spreadsheet in any case.
You do not have the required permissions to view the files attached to this post.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Well spotted Shortcut and thanks for the fresh download. I've delved into the code before and changed the target directories for saving the files. I look for "DestinationFolder = "C:\" & FolderName & "\" & DownloadFileName" and put my new path in place of the "C\". I use a D: drive for all personal stuff so changed the code to read "DestinationFolder = "D:\Data\BetfairSP's" & FolderName & "\" & DownloadFileName" and then added the Country and Market sub-folders (e.g. "UK Win" etc.) to the BetfairSP's folder just as I would have done on the C: drive.
However one change that I can't figure is downloading some files the spreadsheet misses. There are 491 files previous to the current naming convention, they are named "bfprices_DDMMYYYY.csv", "bfpricesire_DDMMYYYY.csv", "bfpricesireplace_DDMMYYYY.csv" and "bfpricesplace_DDMMYYYY.csv". I've tried changing/substituting every occurrence I can find of one of the existing file name types to say "bfprices" to download these files but cannot get it to work.
![Sad :(](./images/smilies/icon_e_sad.gif)
Something else users of this data may not be aware of is that many price files have changed after first publication. Why? I don't know. Some of us may refer to the files daily to top-up our databases, some maybe make it a weekend job and some monthly … I admit I am a "when I think of it" type of guy because I don't need the data to be fully up to date for my purposes but I also don't like basing my decisions on known to be inaccurate data! Let's say you are a 'monthly' guy.
![Smile :)](./images/smilies/icon_e_smile.gif)