Posts Tagged christmas

How to lay £600m worth of bets on Betfair?

That has to be the #1 question after yesterdays debacle in one of the feature races at Leopardstown.

To summarise, a mysterious lay bet appeared and stayed on the winning favourite at 29′s right up to the finish of the race. The ‘layer’ offered up £21m at 29′s creating a £600m liability. Betfair voided the in-running market.

Betfair have come out officially and ruled out that it was them or any account controlled by them or that they had a commercial interest in it. So it would appear it was just a common lay that created the error. But the question now shifts to who was this layer and how did they create the error? Nobody on the planet has £600m to gamble on a single runner in a race, so that points to some system quirk. There are checks in place that stop you exceeding your account balance or exposure limit, so what could jump over both those hurdles?

The amount of the Lay was curiously near the value of a 32bit binary number, slightly over if you add in additional stakes. The range of values of a 32bit binary is -2147483648 to +2147483647 which fits with the stake amount displayed on Betfair. You can create an error by forcing overflow or underflow with a calculation involving an integer, so it’s not impossible that this could be the source of the error. There is a good explanation on this link, curiously to do with customer balances: -

http://weblogs.asp.net/dvravikanth/archive/2008/03/10/integer-overflow-amp-underflow-revisited.aspx

I can’t comment authoritatively on the way that Betfair have coded their back-end, but lets just say that it’s not impossible that something like this could be the cause of the error. It could be that the exposure calculation is done using an integer and this layer just fluked it somehow. If it is something like this, then I am pretty sure an arms race is already underway to exploit it. The ability to force a voided market is potentially quite valuable, so Betfair should announce what the error is and what they are going to do to solve it, immediately. The person who placed the bets knows what created it, so that layer is hot property at the moment!

By quoting terms and conditions to void the market, people were quick to spot contradictory terms that stated that in the event of a bet exceeding agreed exposure all bets will stand, whoops! You can find the clause under section 9. Has Betfair has possibly opened themselves up to a legal issue?

I get the feeling this story is going to rumble on for a fair bit. But I sense we are nearer an explanation.

Leonhard Euler proved in 1772 that 2,147,483,647 was a prime number

 

, , , , , , , , , , ,

No Comments

Merry Christmas from the Bet Angel team

No Comments

What are the odds?

A bit of a laugh ahead of the Christmas break. Vote now!

Back when I joined Betfair, nearly 12 years ago now. They sent me a nice diary for my patronage. I didn’t generate much commission for them back then and didn’t write articles, design software for use on Betfair or anything like that. The following year I also received a small gift, and so it continued. Calendars, playing cards and the odd email with seasonal greetings.

About four or five years ago (I can’t remember exactly when) this stopped abruptly and since then, not even an email to wish me a Merry Christmas.

So this year, as I have done in all prior years, I rolled up my sleeve and sent all my key contacts a personal greeting card. I extended this gesture to the board of Betfair as well.

So the poll this week will be a seasonal… “How many Xmas cards will Peter get from Betfair?” – Vote now!

I’m putting this post up to give Betfair a fair chance to send me a card. I know you can afford it this year for sure and while I am grateful for the opportunity that Betfair presents to us all, I’m sure it’s not beyond your capacity to show some seasonal goodwill. I’ll update everybody on the result in the new year.

In meantime I’ll just read through this bulging sack of greetings from other companies and people.

P.S. A funny footnote to this post. I was searching for “mail man sack” and up popped a load of images of Blackburn manager Steve Kean. 

, , , ,

No Comments