Betfair data usage charges

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

Moderator: 2020vision

Betfair data usage charges

Postby spreadform » Mon Apr 11, 2011 5:00 pm

About a week ago I received an email from Betfair that I had incurred data charges but they would not charge me for this first occurrence. This was a surprise to me as I specifically had adjusted the throttle setting in BA (Options > Preferences > Throttling) and another program that I use concurrently to 10 requests per second. The two together should not be more than 20 I figured.

Well, I was wrong obviously. I requested my usage chart from Betfair Developers Program Support, and they quickly obliged. The peak usage was 34 requests, and there was heavy use at well above 20. After this, I lowered my throttle setting to 6 requests per second and asked BDP Support to send me my usage chart for Saturday, which is probably the heaviest use day of the week. The new usage showed a peak at 24 and three occurrences at 21. This is still slightly over the 20 limit, so I verified with them that such usage would not incur any charges. This was confirmed.

Bottom line: Set your throttle at 12 requests per second at the most if you are using one program only such as BA. The total requests per second should not exceed 12, so it will be 6 for two programs, 4 for three programs, etc.

Caveat: Because I am using two programs at the same time, there is no way for me to separate data usage for BA specifically. It is possible that the other program is the culprit or both are at fault.
spreadform
 
Posts: 108
Joined: Wed Apr 08, 2009 12:02 pm

Postby GaryRussell » Mon Apr 11, 2011 5:38 pm

Obviously I cannot prove it, but I doubt BA was at fault. I am confident the throttling code is reliable. It even takes into account requests that have not received a response. So if for example the throttling is set to 10 and 10 requests were made the previous second, but 5 requests still had not received a response then only 5 requests would be allowed in the next second. This ensures that requests do not bunch up at Betfair's end and result in you going over the limit.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby spreadform » Mon Apr 11, 2011 5:52 pm

Thanks Gary. I will investigate this further to find out which program is at fault.
spreadform
 
Posts: 108
Joined: Wed Apr 08, 2009 12:02 pm

Postby mak » Mon Apr 11, 2011 6:03 pm

i have 2 BA's open every day with 4 & 3 tabs accordingly
i have set it to 5 & 15 req/sec and they are working fine...
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby olisav » Mon Apr 11, 2011 6:24 pm

I thought the maximum requests were 10/second?
olisav
 
Posts: 48
Joined: Thu Apr 09, 2009 11:31 pm

Postby GaryRussell » Mon Apr 11, 2011 8:02 pm

olisav wrote:I thought the maximum requests were 10/second?

You are allowed 20 per second before Betfair charge. The default throttle limit is 10 in BA because Betfair requested this. You can change it in preferences. If you set it to 20 you must make sure you are not using any other API software or even the website because you will definitely go over 20.

Request charges and the limits are explained in the user guide. See http://www.gruss-software.co.uk/Betting ... p/help.htm and read the section titled "Request Charges".
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby spreadform » Tue Apr 12, 2011 5:24 pm

I have requested and now received a chart from BDP Support that breaks down requests by application. While BA did exceed the 6 per second limit imposed on it just once in five minutes (it made 7 requests), the main culprit was clearly the other program by regularly exceeding the same limit.
spreadform
 
Posts: 108
Joined: Wed Apr 08, 2009 12:02 pm

Postby GaryRussell » Tue Apr 12, 2011 7:40 pm

spreadform wrote:I have requested and now received a chart from BDP Support that breaks down requests by application. While BA did exceed the 6 per second limit imposed on it just once in five minutes (it made 7 requests), the main culprit was clearly the other program by regularly exceeding the same limit.

I'm actually quite surprised there is one single instance of it exceeding the limit. If it did that every 5 minutes it would be 0.29p over 24 hours and that is not acceptable. There is no accounting for how Betfair count the requests in our defence. I am sure this does not cause a problem for the vast majority of our customers. I will obviously have to get Betfair to do some more checks on our throttling.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby doris_day » Tue Apr 12, 2011 9:26 pm

spreadform, it seems to me that your best solution is simply to bet at a higher level. I regularly run at 50 requests/sec and don't have to pay any data charges. And I'm certainly not what I would call a big bettor.
'He was looking for the card so high and wild he'd never need to deal another' - Leonard Cohen
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby spreadform » Wed Apr 13, 2011 1:44 pm

Thanks Gary. I believe one of the issues is that the Betfair timeframe might not align with the computer's timeframe so even though requests are throttled for the computer, the limit could be exceeded once in a while due to this variable offset of frames.
spreadform
 
Posts: 108
Joined: Wed Apr 08, 2009 12:02 pm

Postby spreadform » Wed Apr 13, 2011 1:45 pm

Doris-day, naturally, which will come in time as the bankroll grows.
spreadform
 
Posts: 108
Joined: Wed Apr 08, 2009 12:02 pm

Postby GaryRussell » Wed Apr 13, 2011 4:32 pm

spreadform wrote:Thanks Gary. I believe one of the issues is that the Betfair timeframe might not align with the computer's timeframe so even though requests are throttled for the computer, the limit could be exceeded once in a while due to this variable offset of frames.

Exactly. Also Windows is not a real time operating system therefore any timers used in an application are not exact to the millisecond. They can vary up to 15 milliseconds which would be enough to make a difference at Betfair's end.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby spreadform » Wed Apr 13, 2011 4:55 pm

And the only proper solution to this enigma is to have Betfair measure requests per minute (or some period much larger than a second) and average it over the second. So, for example, they could specify 1,200 requests per minute rather than 20 per second plus add an allowance of a second's worth due to misalignment (i.e. 1,220 requests per minute would be acceptable in this example).
spreadform
 
Posts: 108
Joined: Wed Apr 08, 2009 12:02 pm

Postby Drunkenight » Fri Apr 15, 2011 11:16 pm

Betfair's stated policy is not to try and make money out of the data charges or the transaction charges. Their idea is just to warn people when they are exceeding their usage and try to bring them in line. I am currently running at roughly 250 requests per second at peak times and sometimes I get data usage charges. As long as you only go over the data usage limit occasionally (once a month) then they will probably wave the charges if you email them. I have found Betfair particularly helpful when you email them to ask about usage and transaction charges. They will send you data and graphs about your usage, they are just as keen as you are to make sure your data usage and transactions are as efficient as possible

I have tried to suggest to Betfair that they change the period (to say a day), but have had no joy.

As doris_day says it may be worth increasing you betting levels to ensure that you pay enough comission to cover the data usage charges.
Drunkenight
 
Posts: 247
Joined: Thu Apr 02, 2009 1:38 pm

Postby 2020vision » Fri Apr 15, 2011 11:52 pm

Drunkenight wrote:Betfair's stated policy is not to try and make money out of the data charges or the transaction charges.


That is a load of BS - Betfairs policy is to SCREW AND MILK YOU FOR EVERY PENNY THEY CAN!

All the best - Michael :wink:
User avatar
2020vision
Moderator
 
Posts: 605
Joined: Sun Feb 17, 2008 10:24 pm
Location: Nottingham

Next

Return to Discussion

Who is online

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