Tag Archives: betfair

Weeks ending 17-04-16

A three week period, with the first day on the home PC and the rest on the VPS. The UK dogs performed well, stake is nearly £6 now. The move to VPS has seen a good steady P&L line.

160417weeks

The Aus chart isn’t too far from normal when compared with previous weeks. The bottom chart shows the trades performed on the VPS in red. None of the previous errors have occurred since being on VPS, so can only assume the massive delay on my home PC was the cause.

Aus160417weeks

Aus160417weeks VPS comparison

 

Api delay testing

Before I installed MSOffice on the Tagadab VPS,I checked the delay to see what improvement there was. I took some snips to show the difference.

This is the delay on my PC on a UK market. It averages around 93ms. This is impacted by any other activity though, even on other devices. I watched it as I downloaded a new skin onto my RPi and it slowed it to around 200ms for about 10s.

wp-1459233091444.jpeg

This is the same UK market, now on the VPS. Average delay is around 18ms, a vast improvement and I didn’t notice any periods of change.

wp-1459233104437.jpeg

This is an Aus market on my PC. Delay around 700ms with refresh at 800ms. It’s actually set at 0.2s.

wp-1459233114730.jpeg

The same Aus market on the VPS. Delay is about 320ms with refresh down to 400ms. I’m more surprised by this change than the UK markets as that was expected. I admit I don’t understand where this improvement is achieved.

wp-1459233129540.jpeg

 

 

VPS active

I’ve spent some time setting up the VPS. I decided to go with Tagadab after looking at many different providers. Although the others appear to be cheaper, when you add all the different charges together they aren’t that much different. I looked at reviews and concluded that low cost equals poor service. I’ve chosen the SVS1000 without SSD, it’s £17.99/month. It took about 10 minutes to be set up.

Installing Gruss was easy once I figured out how to download it. Internet Explorer wouldn’t do it at first, I had to change security settings to allow downloads from untrusted sites, then changed it back once done. I just logged in as normal and set the options as they are on my PC.

My MSOffice key wouldn’t work again. I know others have reused theirs but they are only meant for one install. I tried but it refused. It may be because I got my original one as a student (OU), I think I got the full package for about £40. So I’ve purchased a new Office 2010 key at a cost of £54. It downloaded and installed pretty quickly.

With Gruss and Office installed I just needed to get my bot installed. A simple copy and paste of the file and it was done. It’s now up and running.

Week ending 20-03-2016

Starting with the UK dogs, a poor result. The two large losses early in the week were both multiple losing trades on one selection in each event. The rest of the week had a general downward trend. I wondered if Cheltenham had any effect. I know it impacts on all the horse racing as people get involved with other venues whilst trading/betting the main races. Maybe some dabble on the dogs as well.

The Aus markets returned well although errors persist. At around the 125 point Gruss was updated with a fix regarding the error related to the bets manager. I was hoping this would fix my errors but the second to last market had an error similar to what I’ve experienced previously, with a lay placed in the last seconds before off. I can’t work it out from the data I have.

Another issue I had came on Saturday afternoon when I decided to update my PC. Saturday afternoons are usually quiet, probably because most people focus on the horses or football. As I’m on Windows 7, I don’t get update notifications, only the GET WINDOWS TEN FOR FREE message every day. So I have to go into the control panel to check for updates and there was about 50 pending. After an hour of updating it failed and, if you’ve ever had this happen you’ll know, it then needed to be left overnight to revert back. This meant I missed Saturday evening and Sunday afternoon on the dogs and all Aus races on Sunday. This is an occasion when a VPS would have been brilliant. More on the VPS project later.

 

160320weekAus160320week

Overflow

I came home the other day and found my bot had stopped due to an overflow error.

After each market is traded the “My Bets” page data is added to a log sheet along with bet attempt data. Every week or so I save this sheet and clear it in the bot.

When running, the code finds the next empty row to paste to but that row number value is an integer data type. This has a limit of 32767. As can be seen, I’d left it too long and it reached it’s limit.

wp-1458927489814.jpeg

 

Multiples

I don’t do serious betting on horses but have a dabble on some big events just for fun. I got Blaklion yesterday which was good. Anyway, I picked four today and had a multiples, done on Betdaq. I thought I’d see how much I’d get with Betfair, expecting it to be more. Look at the difference though, same selections. £68k Betdaq and £40k Betfair – don’t do multiples on Betfair!

img_20160317_103750.jpg

img_20160317_103821.jpg

 

Aus errors

The Aus trading has experienced some errors lately (see chart, they’re the sharp jumps up and down) which I put down to my underwhelming internet connection. However, I was reading some posts over at Gruss and there might be another explanation. This post talks about an issue with the Aus API where bets are not updated in real time (if you log into the Gruss forum there’s an acknowledgement of this error in the Bug Reports section). The errors that I have looked at occur close to the off which would make sense if the bet status is delayed whilst my bot is greening; it’s calculating on incorrect data. I could stop trading further out but I don’t really want to as some markets only start getting active in the last few minutes. I’ll employ the ‘wait and see’ approach to this problem.

Aus160306weeks

Weeks ending 06-03-16

Here are the charts for the previous 4 weeks.

The UK dogs performed below its recent average of 0.061% but with no errors being recorded, this is ok.

The Aus markets returned nearly double the recent average but the errors are obvious. Interestingly, if the errors are removed the end result isn’t much different. This could be an example of the random nature of the errors and has a nil impact over the long term. Still, I’d rather the errors didn’t occur.

160306weeksAus160306weeks

Bot keeps going

I’ve spent the last two weeks working every hour, with little time for anything else. Starting early and finishing late is not what I want to be doing but that’s the joy of self employment; the workflow is too much or too little but never steady. I’ve also started working towards a new qualification to upskill and enable me to get a ‘normal’ job, giving me more time for family and hobbies (trading). 

The bot is still running OK, the only thing I’ve done with it recently is restart after Betfair maintenance. I really like the fact that even though I’m busy and not thinking about trading, the bot is working away regardless.

The next week or two will see similar levels of work for me, what joy, so probably won’t be doing any coding but will do a recent chart if I get chance.