Tennis Trading

In my previous post I wrote about people courtsiding at Tennis, @borisranting from www.sportismadeforbetting.com dropped by and left the first comment in this blog’s short life so far:

Courtsiding is only an issue though if you are trying to price snip, i.e. think you are beating the market because you react faster than everyone else. If you are pitting your wits against a settled market, and saying that your assessment is better than the market’s, it doesn’t affect you. But you need to factor it into your betting behaviour.

Two essential rules of betting punters must live by:
There will always be people with more information than you in a market.
There will always be people with faster access to live information in a market.

And if your model/assessment is exactly the same as the market, then you are either punting, or playing a zero-sum game with no margin, like Exchange Games.

Can’t argue with any of that.

I promised to write more about my experience of trading tennis, so here it is. First off I am by all means not an expert on tennis trading/betting, so any comments, as always are welcome.

Ok a quick recap of what I did:

  • Wrote a program to scrape 2 year’s worth of data. It was all match summary statistics. Not point by point data as I think only 1 site had it and it was a bit patchy to say the least.
  • Sort and organise this data into a lovely database
  • Then for a particular matchup, on a given surface, I could calculate each players:
    • 1st Serve Percentage
    • Ace Rate (per 1st Serve)
    • 1st Serve Points Won (exc Ace)
    • DF Rate (per 2nd Serve)
    • 2nd Serve Points Won (exc DFs)

I would then simulate a tennis match using these stats as many times as I wanted, usually around 50,000 times. I could do this pre-game or in play using the current match score. The model would spit out what it thought the chances of each player winning from whatever scoreline, compare those to the match odds, and tell me it there were any differences. Ie did I have an edge. Unfortunately, these odds were very rarely different from the market. I seem to remember at most I would have about a 2% edge. Which rarely happened, the majority of the time it was bang on.

So, I created a model that gave the same match odds that a highly liquid market was at… This at least proved that my model wasn’t a load of rubbish. During the testing phase of this model I was ever-so-slightly up. I didn’t test it long enough to determine if it did have around a 2% edge when the odds were different. I felt like I overdosed on tennis, and I didn’t enjoy watching it to the level that I would have been required to watch it. I certainly prefer watching other sports, even without a bet on such as basketball, NFL and rugby.

Not that the model I created was perfect. I was running under the assumption that points in tennis are Independent and Identically Distributed (IID).

Huh, what the hell does that mean?

It means each a player has the same constant chance of winning a point on serve regardless of score or whether he lost the previous point. My model ran with Player A’s chance of winning a point on serve being the same whether it was the first point on a service game in the 1st set, or if he was defending a break point in the final set. IIRC research available suggests that points in tennis are not IID, but the effects are small. I’m sure that the top players play better on the “bigger” points and certain players are slow starters or streaky players. Plus there’s players such as Petra Kvitova who seem to love playing 3 sets, hence her nickname of P3TRA.

If I was to ever go back and improve my model (not likely) I would need to tackle this problem. It would need a lot of point by point data though.

My model obviously wouldn’t know if one player was hitting the ball cleanly, hitting winner after winner or if they were playing like a total knobhead, hitting constant unforced errors. That’s the problem with computer model, a lack of subjectivity. Obviously I’m not advocating blind betting based on what your numbers tell you, you need an element of both. As mentioned previously, it’s very difficult to make money betting in play on tennis. (It’s pretty difficult on any sport). But there are people that do who aren’t courtsiders. These chaps are probably armed with their own numbers, watch A LOT of tennis, can ascertain how play a player is hitting the ball, know the player’s characteristics and will know how a player is likely to perform when they’re breathing out of their arse.

My model didn’t just tell me who would win a match, it also calculated the odds related to some of the popular alternative tennis betting markets:

  • Actual match scoreline
  • Total points/games/sets
  • Number of aces/double faults.
  • Chance of a tiebreaker

1st Set Score Betting

First off the overround on set scoreline betting is not great (it’s a piss take). So it’s already unlikely that you’re going to find any edge. You don’t need to mess about designing a model to know that if you’re betting on 7-6 or 7-5 scorelines you need your head looking at. The slim likelihood of those scorelines are rarely even remotely matched by realistic odds.

Another thing that should already be completely obvious is that in this market, it matters who’s serving first. Yet most people don’t even grasp that! Djokovic will be playing Federer and you’ll see on Twitter or wherever that some mug has bet on Djokovic to win the 1st set 6-4. Djokovic wins the toss and elects to serve first, and that bet is already pretty much dead in the water. If Djoko serves first, how is he going to win 6-4? Most likely he would need to break Federer to end the set. If Djokovic serves first the most likely score line is 6-3 Djokovic, with one break of serve (and not to end the set).

Rafael Nadal famously always elects to receive. So as long as he’s not facing someone else who likes to receive, you know who’s going to be serving first. When Djokovic played Nadal I used to like betting on 6-3 to Djokovic as I found an edge here. The market hadn’t compensated enough for the fact that with someone like Nadal, you can always tell who’s serving first. Otherwise it’s just 50-50 with that coin toss.

Sometimes I found value in 6-0 or 6-1 scorelines when there was big difference in the standard of the 2 players. But not when Serena Williams was playing, her 6-0 scorelines were always too short.

Total Points was always a decent market to bet on. It’s pretty hard to know whether a line of 135.5 total points was too high or low without a computer model.

Most Aces in a Match

My favourite alternative tennis market to bet on. Unfortunately this market’s only available for bigger events, and only with some bookmakers. The edge here lies not just with knowing who hits aces, but with knowing who’s likely to have more service points and knowing how often a player gets aced.

Have a guess which ATP players hits lots of aces:

ATP Ace Rate
2012 & 2013 seasons, all surfaces, min 20 matches on all tables

Yep, easy question no surprises. Now guess which players gets aced a lot?

ATP AceD Rate

Notice how Del Potro, the big heavy footed tub of lard gets aced a lot. When accounting for strength of opponent serve, Djokovic is the least likely to be aced. A player as agile as Djoko will at least get a racket head on a big serve when others could only watch it go past. As a result there was often value in backing Djokovic in the most aces betting, and opposing Del Potro against decent servers.

Most Double Faults in a Match

This market is quite similar to the aces. Again the edge doesn’t just lie with knowing who has lots of double faults, but with knowing who’s likely to have more service points in a match. I’ll show you some old data for the leaders for both ATP & WTA:

ATP DF Rate WTA DF Rate

Notice the grand slam winners high up on the WTA list…

Caught Courtsiding

Yesterday the BBC had an interesting radio programme about courtsiding in tennis. For the benefit of those who don’t know what courtsiding is: it’s people who sit court side (stop me if I’m going too fast) and either bet themselves, or relay that information to someone else to then place bets. As the pictures you view on TV or online are around 5 seconds behind the actual action. The odds on betfair will move before a point has been won when watching online/TV.

They are basically like High Frequency Trading firms in the financial world. They have a massive edge in terms of time, they can buy the higher price before everyone else knows that a point has even been won, and can then quickly sell the lower price back into the market. The market in this case will usually refer to a betting exchange such as Betfair. And this happens on every point in a tennis match.

If you want to check it out, the radio programme is here:

http://www.bbc.co.uk/programmes/b05r3w43

And an article from which is here:

http://www.bbc.co.uk/news/magazine-32402945

Some of the key excerpts are:

“The purpose of us being there is that we can send back information a lot faster than TV or betting companies can get the data,” says Dobson.

That information would be fed back in milliseconds to the syndicate in London. The syndicate designed betting software for tennis which works out the probability of each player winning the match at any point and how the odds are moving in real time on the betting exchange.

Steve showed me the kind of device Dan used, a modified game console controller.

“We had an automated system whereby the point data would come in and then we would cancel any bets that we had in the market that we deemed were at the wrong price. And then we would place bets straight back into the market that we deemed were now the correct price.” he says.

The difference in getting that data first and changing the syndicate’s betting position can be worth thousands of pounds per point, sometimes even tens of thousands, and there are a lot of points in a tennis match.

This has led many other syndicates to employ courtsiders. Steve High says he has been told reliably that 75 people were at last year’s Wimbledon final, “sending information back or betting on their own”.

To put it mildly: your ordinary Joe sat at home who fancies trying to trade tennis has an incredibly hard job to have any sort of edge. The big fish in this pond have the fastest information and have programs to tell them what the correct price should be.

I used to trade tennis myself. I used to do alright, but this was back in the days before courtsiding was as prevalent as what it is now. After it was clear that any sort of edge, if I actually even had a edge on tennis, had gone, I decided to write my own program to predict the odds either pre-game or in-play.

Tennis is a really easy sport to model. If I was to succeed in this field I needed something to give me an edge. So I downloaded as much data as I could get, then calculated player A’s chance of winning a point on serve against player B, and vice versa. I broke this down further into first serve %, winning a point on first serve, winning a point on second serve etc. I also took into account aces and double faults. My program would use these factors and simulate the match as many times as I wanted, and then calculate each player’s chance of winning. It would run after each point so the calculated odds would be continuously updated depending on the game state.

After a few weeks testing, the majority of the time my program gave out the same prices that the betting market was at. If there were ever any differences between my price and the market price, it wasn’t out by much at all.

Although my tennis program didn’t give an edge in the Match odds/Moneyline market, it did provide an edge in some of the alternative markets… I’ll write a longer post in the future about my experiences of trading tennis, as I’ve got a lot more to say on this topic.

NBA 2014/15 Playoffs – First Round

The NBA playoffs start tonight. So I thought I’d write a quick post on the first round matchups and my predictions:

The (L)East

Cleveland Cavaliers v Boston Celtics

Before the season who would have said that the Celtics would get into the playoffs? …Don’t’ lie. No one. This tells you 2 things:

  • The East is terrible, as has been compared unfairly to a dumpster fire. (Unfairly for dumpster fires).
  • Also it shows how good a coach Brad Stevens is by getting this rag tag bunch of scrubs and cast-offs to the playoffs.

I’ve watched the Celtics more as the season has gone on and Stevens can coach the shit out of every possession. With approximately 64 picks in the 2 drafts, and the best young coach in the game, the future looks bright for Boston…

…But in the immediate future I expect them to lose this series to LeBron’s team. In fact I would back the 4-0 series scoreline at 3.25 (+225 US) if I didn’t have such faith in Coach Stevens somehow winning at least 1 game.

Cavs in 5 Update: Cavs won in 4, no Stevens magic.

Toronto Raptors v Washington Wizards

Only people who live in these 2 cities, gambling degenerates and insatiable basketball fans will be watching this series. (I’ll leave you to decide which group I belong in!). I believe the value’s on Washington here at 2.6 (+160) and I’ve had a little of that.

Washington in 6 Update: Washington won in 4, surprisingly. +1.6pts

Chicago Bulls v Milwaukee Bucks

Bulls in 5. That is all. Update: Chicago won in 6

Atlanta Hawks v Brooklyn Nets

Atlanta have been coasting for a long time, everyone is well rested relative to the league except Millsap. I think people have forgotten what a great team Atlanta is and will show that a team like Brooklyn doesn’t belong in the playoffs.

Atlanta in 5 Update: Atlanta won in 6


The West

Golden State Warriors v New Orleans Pelicans

Amazingly the Pelicans beat the Spurs on the last day of the regular season to make the playoffs. What that really means is that after playing 82 games, their reward to play another 4. And that’s 4 games against the best team in the league. GSW have been historically good: they have the 8th best MOV ever in the NBA. Plus they have the best offensive and defensive eFG%. The only intrigue here is if New Orleans manage to somehow win 1 game, I doubt it.

GSW Sweep at 3.40 (+240) Update: GSW won in 4. +2.4pts

Houston Rockets v Dallas Mavericks

Every though it’s obvious that to stop Houston you need to target Harden, Dallas have been pretty awful for remainder of the season. Dirk is now totally immobile and teams know that there’s no point of guarding Rondo.

Houston in 5 Update: Houston won in 5

Memphis Grizzlies v Portland Trail Blazers

We’ve got 2 beat up teams here. Mike Conley looks likely to play so I expect Memphis to qualify, but no bets here.

Memphis in 6 Update: Memphis won in 5

Los Angeles Clippers v San Antonio Spurs

The best first round matchup is definitely between the Clippers & the Spurs. The Clippers went 14-1 to finish the season and their reward is facing the Spurs. Unlucky. Blake Griffin wasn’t happy about it either:

You probably never want to play the Spurs in the first round if you had your choice

When the odds for the first match of Spurs @ Clippers came out they were 2.10 (+110). I’ve had a bit of that thank you very much.

Chris Paul is the Clippers. I’ve briefly posted previously about the MVP discussion, but CP3 will definitely NOT get the recognition he deserves for this season. He’s been amazing, on both ends of the court. If they are gonna get out of this series he will need to play well. Unfortunately for him the Spurs have the best wing defender in the game: Kawhi Leonard. When the reigning finals MVP isn’t guarding Paul, the Spurs will probably have their backup point guards hound him constantly. I doubt he’ll have an easy time bringing the ball across the court, and this is a player who’s played a shit load of minutes this season:

http://www.basketball-reference.com/leagues/NBA_2015_leaders.html

Another thing I’m sure we’ll see is Popovich using the hack-a-Jordan approach when trailing. I’m not a fan of this from a viewer point of view, and because I don’t think it’s +EV. But who am I to question coach Pop?!

Spurs in 6 Update: Clippers won a classic series in 7. Spurs lost the 1st game -1pt

Bets Summary: 2-1. +3 pts

Will to Win

If you read the last post you may have been worried that your new second-favourite blogger had gone bust. Lost his bank betting on the NBA and was forced to sell a kidney. Fear not loyal readers, Flash is back on track! Going 3-1 this weekend, with a couple of hefty wins opposing Orlando this weekend.

The first came in-play opposing Orlando v Toronto, and the second came a day later backing the New York Knicks at Orlando.

Orlando were 1.13 (-769 US)  at home to New York 6.50 (+550) on Saturday night. Both teams were on the second game of a back to back and neither team has anything to play for at this stage of the season. I would describe this matchup simply as a crap team against a super shit team. Backing a team like Orlando at those odds is a one way ticket to the poor house, even at home against a team as horrendous at this year’s New York Knicks.

Perhaps the betting market has forgotten that the Magic is a bad team, or maybe people are starting to appreciate their rookie point guard’s haircut:

Elfid Payton – It looks like a wig that’s on back to front

Silly haircuts aside, something important at this stage of the season, when there’s a handful of games before the playoffs start, is that some teams have nothing to play for, while others have everything to play for.

Some teams have secured a place in the playoffs, and their seeding, and may (and should) rest their star players for the playoffs. Some teams have to win every game to qualify for the playoffs. While it’s easy to say that some teams have nothing at all to play for, with no chance of qualifying for the playoffs. Some of the players at those teams have everything to play: their future in the league with getting a new contract.

Evaluating a team’s will to win is as important as evaluating a team’s ability to win.

This brings up the following question: How do short priced favourites do at this stage of the season?

With recent results in mind, there does seem to be a lot of blowouts. So does the betting market overvalue or undervalue favourites?

So, I fired up my trusty NBA database, and had a look at the final 10 games of the season. This is what we get when looking at the moneyline odds of the home team:

40% - 0% was grouped together due to a really small sample size in the 20% - 0% range
40% – 0% was grouped together due to a really small sample size in the 20% – 0% range

Backing short-priced favourites at home (1.02 – 1.24) , in the last 10 games of the season has a return on Investment (ROI) of -9%. The interesting thing to note is that opposing the short-priced home favourite (backing the long-priced road team) has ROI of 11%. Nice, retirement is coming early!

“So you’re saying that I should just wait until the final 10 games of the NBA regular season, take out a loan, and start lumping on the long-priced road team?”

Er… no. You could look at whatever section of data and something may pop out. Be it via using a small sample size, or just random chance.

What I have done is provide a little bit of evidence to my opinion that you should be careful when backing short priced favourites at this time of year, looking to oppose them is a better idea.

Losing Streak

A couple posts ago I wrote the best post this blog has ever seen; about my NBA bets. I mentioned that basketball is my favourite sport to watch, and to bet on. Unfortunately my recent basketball bets haven’t been very good. I’ll be honest with you, they’ve been ball-breakingly bad. I’m currently in the midst of my worst losing streak betting on hoops. I’ve gone 4-22, which includes a losing streak of 10.

There’s been a couple of gut-wrenchingly bad beats along the way, including:

  • Charlotte managing to lose to Washington when leading by 4points with 14 seconds to play.
  • Kyrie Irving using a cheat code to beat the Spurs
  • Laboral Kutxa conceding 20 points in the last 6 mins to somehow lose at Nizhny Novgorod
  • Plenty of other final shots going against me

 So, how should you respond to a losing streak?:

  1. Quit betting
  2. Swear loudly and possibly punch something
  3. Blame someone else and claim that you’re a victim of a conspiracy to fix a sporting event
  4. Re-evaluate your bets and carry on

The correct answer is 4. Also constant re-evaluation of your bets is a good idea regardless of what streak you’re on. I’ve checked through my records and of those 22 loses, there’s only 2 bets that I’m not entirely satisfied with. The rest; under repeat identical situations, I’d bet them all again. It’s best to focus on the process rather than (solely) on the result. Looking at a larger sample size in my records prior to this horror patch, shows the level of profit guaranteed to cause increased blood flow to the downstairs department:

No axis labels, just deal with it.

Note the losing streak since the high point. It’s not like a graph of your accumulated profits is going to be a nice constant upward line. There will be bumps in the road. So it’s time to employ a stiff upper lip in the ugly face of variance.

The main point I’d like to make is that:

Losing streaks are to be expected. Bets that have positive expected value still aren’t guaranteed winners.