r/algobetting • • Apr 21 '20

Creating a collection of resources to introduce beginners to algorithmic betting.

194 Upvotes

Please post any resources that have helped you or you think will help introduce beginners to programming, statistics, sports modeling and automation.

I will compile them and link them in the sidebar when we have enough.


r/algobetting • • Jan 16 '23

I made a profit of 30000 € algobetting in 2022 - FAQ and AMA

115 Upvotes

Quick edit: Sorry for the gentleman asking for tips to not get limited in DM-chat, I accidentally clicked "ignore". Please contact me again if the answer I give in the comments is not satisfactory.

I started my project 2 years ago, of which have been algo-betting with big bucks for almost a year, constantly improving my methods. My total income for betting for 2022 was 30000 euros, and with the recent improvements I have set 50k as my target for the next year. I am obviously not here to give away my secrets, but I'll gladly answer any practical questions you have. While I don't boast a 7 figure income, I'd still call myself a success since I have pretty much achieved exactly what I set out to do. And keep in mind, this is not my main profession, but a hobby, and my income is not limited to betting.

I don't do any trading or live-betting, I merely calculate pre-match probabilities very accurately and bet on where the odds exceed my calculated probability. But, what really allows me to succeed is a well thought out strategy, and I'd go as far as to say that of my method prediction algorithms are 50% and the rest is determining optimal risk etc.

I have had quite a few discussions of this in my private life already, as is presumable, so I gathered a lengthy F.A.Q. here already. But, I do wish to continue the discussion with someone else than myself, also, so feel free to ask away or comment. If you are interested to see graphs, I can produce some.

Also keep in mind that when I say "football" it means "soccer" in Freedom Dialect.

"What have been your biggest wins/losses?"

The perspective of the question is a bit off. Looking at individual wagers is meaningless, as the expected return is never going to materialize: it can only hit or miss, and not be 20% correct.

Another thing is I pretty much only bet singles, over 99.5% of the time. This is due to odds-shopping, using a number of bookmakers to guarantee the best possible odds for each wager (or, at least I used to, more on this later...). To have a longer bet slip would mean centralizing bets in a single bookmaker, possibly losing on odds.

However, at some rare cases in smaller sports, such as floorball or beach volleyball, there have been cases where my all bets have landed on the same bookmaker, in which case having them as triples etc. has been possible. The biggest wins have come from these, when the odds have multiplied. I'd say the biggest has been a long slip of quadruples in beach volleyball, resulting in 3k profit.

Because this is not wallstreetbets using derivatives, biggest loss can only be the wager placed, and that, again, has been calculated so that my risk is always optimal. It does hurt sometimes to see a 500 € bet miss, but it balanced by other bets winning: there is no point in looking at individual wagers. I don't consider any calculated bet a loss, it just the cost of doing business.

There have been cases of me failing to follow the instructions laid by my calculations, placing incorrect bets, which have caused some losses. Nothing too major in the grand scheme of things, and after each I have learned to be more focused. These are far from numerous, and could be accounted as the "cost-of-doing-business" as well. Biggest was handicap wager, where I put an extra 0 in the end, making a small 30 € bet in to 300 €, which missed, and an over/under where selected the wrong outcome at 150 €. So my losses from my "operational mistakes" have not been too bad overall.

One which does irk, though, is when I had a longish beach volley slip of doubles or triples and I selected one match winner wrong. Had I picked it correctly, I would had won almost 2k more, which would had been a significant amount of money back then when I had just started.

"How long did it take to be profitable?"

I did not put a single cent in betting until I knew for certain that what I did was profitable by backtesting and calculating confidence intervals. I'll answer this with the general timeline.

Day 0 of coding was around December 2020 and I made my first deposits in May 2021. The wagers were very low, like 10 cent per wager, just for getting used to the interfaces etc. The unfortunate thing was, that summer is not exactly the season for ball sports, so my volume was very low. As the autumn came I had built the confidence to raise my wagers somewhat, but I still wasn't making any sort of real bank: maybe 200-300 € per month.

All this time the algorithms had been slowly improving, but the pivotal heureka for forecasting accuracy came in March 2022 causing my income to jump substantially, and I put all my cash in. During the summer of 2022 I also perfected the calculations for suitable risk and was able to lower my ROI while increasing the volume, resulting in higher absolute income while being better diversified.

So in short: I was never losing money, but started to actually generate wealth after ~14 months of starting from scratch.

"Where did you get the inspiration for this?"

I was in an accident which screwed my studies etc. having broken arms. Whilst healing I watched lots of football and made a few bets after comparing teams earlier performances. I was frustrated by the usual statistics shown before games of "x goals in y matches", when that tells you very little: it is about against who you score, not just the number, so I started to formulate my own ranking system. Once I had healed the situation was that it'd be less of a hassle to continue my studies next year where I left off than try to catch-up anymore, so I devoted my time for personal coding projects (I had done none before). Needless to say, once the monetary potential of this project started to dawn, I ditched the others.

One thing I must say, though, is that despite this being very much an IT-project it was not the focus of my studies: I learned to code while building this, which was the original goal. I'm glad it turned out even better.

"What is your background and what tools did you use?"

Before starting the project I had studied natural sciences in university, bundled with introductory statistics. Only the latter has any relevance for this project. I remember John Carmack, the programmer of the original DOOM, saying that all math he used was included in the high school curriculum; I can vouch for that. Relatively basic arithmetic can get you quite far when it is automated. There is no esoteric AI or post-phd-level number theory involved, just clever problem solving.

Everything is coded with Python 3.x, using NumPy and Numba to speed calculations up. Other than those I use Selenium for scraping, everything else is self-made or vanilla Python.

"Have you been limited by bookmakers?"

Yes, very much so. I only have 4 active accounts anymore, one of which sees pretty much no action. I have been limited by at least these (hope I remember them all) by the following behaviour:

  • ComeOn (while I still wagered with mere cents) : everything suddenly limited to 10 cents, when asking I was just given a non-functioning e-mail address to another company

  • 10bet (even when I was at small overall loss) : everything suddenly limited to 80 cents, "The trading team has decided to limit your account", no further explanation

  • William Hill (took only 3 days, I made under 10 bets) : Every bet gives "technical error", when asked I was told I had "abused bonuses"; I asked which bonuses I had used multiple times, no one was able answer. I requested my documents (all hail GDPR), in which reads "Bonuses: 0". I hit back with this information, I was told that the limit was lifted: now every bet I try to place is limited to 0 €, and when asking in chat I am told there is no limit on my account. At which point I gave up.

  • Betway (even when I was at small overall loss) : An email explaining "The trading team has decided to limit your account", no further explanation. Again, a bit lackluster, but instead of shadily not taking any bets and having to ask the situation myself, an honest email was a welcome change. Nice!

  • bet365 (I've heard that they should close winning accounts hastily but this was not the case, even with my ROI at almost +20%) : Same as Betway, got an email. When asked further questions, chat replies with copy-paste answers, even pasting the same answer multiple times.

  • Partypoker (took 7 days) : Every bet gives "technical error", when asked it took a very long time for the customer service to find that I had been limited and there actually was no technical error.

  • Unibet & Paf (they have outsourced their sportsbook to the same company. They told me that the limit is not eternal, which seems to be the case as I was able to bet on the other with 6 months in between before getting limited again) : Everything suddenly limited to 1 €, had to ask for a reason. The representative of Paf was 100% fucking with me, using emojis and saying that "You can still have fun betting with lower stakes, and there are no limits in the casino :)"

  • Betvictor (Great odds, was fun while it lasted) : Sudden limits, had to ask, no explanation

As a sign of sportsmanship I also asked them all if I could get a diploma of beating them at their own game. None offered one :(

"Why don't you open new accounts in the name your relative/friends?"

To be honest, most of these limitations have been put to place at such low winnings that it is not worth the hassle. Only bet365 offered substantial income before closing in.

While the odds may be marginally higher here and there, I've calculated the overall effect to be so small, max 3% more income a year, that I don't bother: they'd be shut again anyways. And no, not 3% more ROI, but overall income: that little is down to luck anyways.

"What is the best/worst sport for this?"

Handball and basketball are quite on level in absolute income, I have placed 1.5x as many basketball bets, so handball takes the cake. Per bet futsal is surprisingly good, but the volume is, for a small sport, low.

I'd really love for tennis to be profitable due to it's high volume, but I have yet to make it happen. That is probably the most disappointing.

Baseball has been so beaten by other statisticians that it offers no value. And football ("""""soccer""""") has such a sharp market and high effect of chance that it is disappointing taking the volume into account: there are more bettable football-matches than all others combined.

Handball, basketball and volleyball are probably accurate due to how many times teams score in a match: it rarely comes down to luck who wins. Compared to football, where the shots may be 20-1 and scoreline 0-1.

"What about taxes?"

In the EU and EEA-countries the tax burden of gambling is on the service provider, so all the tax is already included in the odds. As long as I don't play in Macao or Curacao registered sites, I pay 0% tax, effect of which cannot be overstated: in a pseudo-communist nation such as mine, if the 30k were subjected to income tax, I would amount to 7k. Not to mention, if this was on top of my income from my regular job, the tax-hike is so dramatic that I would had paid 15k of that 30k as taxes.

This somewhat limits my choice of bookmakers.

"Have you considered implementing x sport?"

I most likely have. And I have not implemented it, because gathering the required data is too much work compared to the opportunity: as it stands, handball, basketball, football and volleyball make over 70% of my income. Hockey is under 10%, and considering it's size I see little value in adding any more smaller sports.

If it is not a ball-game, but racing etc. I have made some models, and the problem is how few races there are in a calendar year (not enough data) and how big a difference there is in performance from season to another (a change in motor etc.) at larger scale than in other sports. Another thing is that a ball-game is quite standardized around the globe: the performance of the same teams should be close to identical in whatever venue. This is of course not the case in racing. Another thing is that a ball-game has always 2 sides, and you determine which one was better, but in other sports (racing, track and field) when every athlete is competing against all others at the same time, it gets much more complicated.

As for boxing/MMA, the low amount of data per competitor is the problem.

So in short, I have and there is a reason it is not included.

"Which sports you currently bet on/have tried betting on?"

I actively bet on basketball, handball, football, hockey, volleyball, rugby, american football, floorball, futsal, bandy, beach-volleyball.

I have tried betting on (but have dropped them due to low gains) baseball, League of Legends, cricket, darts and aussie football. These have so few and low value opportunities that it is not statically viable to ensure winning margin.

I have completed a model that is not good enough for Counter-Strike, Dota, tennis, badminton, field hockey and snooker. The thing is, even these are more accurate than the historical odds, but not accurate enough with the bookmaker margins.

"Do you often run into stake limits and can't bet as high as you'd like?"

With almost every bet, unless it's NBA or similar super-high-level-league. That's why it kinda bugs me to get accounts limited. This is reason I will never share my algorithm: there's only room for one sheriff in the market.

While I project my 2023 income to be around 50k, I find it hard to believe it will ever be higher than that. MAYBE in an ideal situation there is enough opportunities that I could bring it closer to 100k, but not more using these methods. Which sure is a nice sum, but it's not like I'll be a millionaire anytime soon. And I'm sure there'll be some legislative thing or similar that will make life harder in the future: I am not counting my future earnings on this.

"Do you use betting exchanges?"

No, but I probably should. The thing is, that while they are big in terms of football, pretty much every other sport is neglected, and they are not terribly useful for me. Smarkets seems good but it doesn't accept my nationality.

"Could this be used for stock market somehow?"

Yes and no. That is my ongoing new project, but as is, this has little to do with financial market. I have, however, learned a thing or two about time series-analysis along the way, so I do have confidence in myself.

"Why hasn't anyone used your particular method before?"

Maybe someone has, but as it is with models that actually generate wealth: they are not telling anyone. Another thing is, that even if all this was done with a mid-tier consumer-level Intel-chip, it is still manyfold more powerful than a product of the same price range 20 years, let alone 40 years ago. I have optimized the hell out of my algorithm, and it still does take almost a week for it to find the optimal functions for football: my unoptimized alpha-version would had taken over a year. While possible, I doubt many people would had had the patience.

Also, while I was a newcomer when I started and a more experienced data scientist would had made it faster, it still took me 3 months of all-day work to get any convincing results, and a year to truly earn something. It's not like what I have done was obvious, even if my initial idea turned out to be correct.

"What is your ROI?"

As I can quite accurately calculate the expected value of each bet, I can make it what ever I wish. But, the point is not to have a high ROI, but maximize the absolute income: 1000 worth of bets with ROI of 1.05 is less income than 10000 worth of bets with ROI of 1.01.

I have made quite extensive calculations on this (I'd even go as far as to say it has been more challenging than the actual model itself) and I have settled at a ROI aimed at 1.04. Last year the materialized ROI was 1.035, but there were a few hiccups.

"How much time do you spend betting?"

I run the odds-seeker 2 or 3 times a day. It takes around half an hour to place the bets. I usually just listen/watch something while doing it, it is not a huge chore.

Compare this to bet-trading (like Caan Berry), where you'd need to stay alert hours per day... sounds like torture to me. My way is much more chill, and the hourly wage is way better.

"Have you tried predicting the winner of major tournaments using your algorithms?"

Yes, I have. Not for the sake of betting, though, as the money would just sit on the bet doing nothing until the tournament is over... but for fun, sure, simulating the whole tournament a million times and seeing who got through. It was very certain of England winning FIFA Women, and ranked Argentina as the second favourite in Qatar 2022 behind Brazil, with a much smaller margin than what it was for women, tho. And it did predict the last 2 Super Bowls correctly.

"How much do you bet per day?"

Weekends are way more active due to how the leagues are organized, but the current daily average is around 5000€. The maximum has been 16000€.

"Are there bookmakers you won't use?"

As said already, I shouldn't use non-EU or non-EAA-registered bookmakers to avoid taxes, but there are some that I won't use for the sake of my security. The worst offender is probably 1xBet, which is so shady that it has been kicked out of Russia (imagine what a feat) and resides in Cyprus. There have been multiple reports of people being unable to get their money out. While immoral, the ones I use at least do not outright steal deposits.

Other spooky ones include Marathonbet and services that uses cryptocurrencies.

"Which bookmakers have the best odds?"

If the question is "which trustworthy bookmaker has the lowest margin, that is probably Coolbet. Pinnacle comes in second, and has the widest range of wagers to choose from (a long list of handicaps etc.) so the majority of my bets are in Pinnacle. Not with the best return, mind you, since they are quite sharp.

If the question is "which bookmaker has the most incorrect odds", leading to best opportunities, that is either Betvictor or bet365. I remember both having odds wildly different from the other bookmakers, while I still had unlimited accounts in both. I reckon you could make a couple of thousand without any algorithms in a year using them by just checking their odds against other bookies.

"Which bookmaker has the best website?"

I don't really care about graphic design, but Coolbet and Pinnacle are quite unintrusive and fast. Bet365 is okay, but a bit confusing. No opinion of the others, guess my usage was too short-lived. Betway was cumbersome and slow.

What is important is a working search-function. In that regard I remember Unibet being really good, and Coolbet too: they find the teams even if you search with a synonym, and seem to give the most relevant match right away. Pinnacle is not too great, they list women’s teams and u20 etc. without the suffix and are unable to understand synonyms or spellchecking. Nordicbet is the WORST and won't find a team even if you copypaste the name from their own listing to the search: you are forced to navigate to the correct league yourself.

Pinnacle provides a ready made .csv of the bets which is quite useful, and Coolbet has a toplist which is fun. NordicBet and bet365 provide streams of matches, bet365 being more comprehensive.

"Do you follow sports outside your project?"

I am an avid fan of Champions League football, supported by Premier League and La Liga. I also binge Olympics and do enjoy following the progress of my national teams in various sports. But, I never bet on my "hunch" (except for Atletico getting carded), keeping my business separate. For example, I don't follow leagues of handball, basketball or hockey at all, but those make up almost all my bets.

"I've been thinking of doing something similar, should I?"

Sure. Actually, I'd say that betting without algorithms in 2023 is idiotic: how do you expect to be profitable against those aided by computers?

It's been the best project I've ever completed, I highly recommend trying.

"Where do you get your data?"

I don't wish to be rude, but this is something I am not disclosing. Various sources, and a lot of scraping. I have not paid for anything, that I can tell.

"What would you had done otherwise earlier now that you know better?"

Focused more on the big sports in the beginning. That's where the potential lies. It matters little to have a perfect algorithm for floorball if the stakes are limited to 10 €.

Also, taking into account differences inside a sport earlier... for example, women’s and men’s basketball are essentially different sports: the hoop is at the same height, but women players are MUCH shorter -> there scoreline is waaaay lower, because scoring is more difficult, and the whole tactical side mirrors that. It was pure stupidity to try to fit them in the same model.

"Any tips for those developing their own betting algorithm?"

The only way to succeed, is to be the best: you are not only trying to beat the market, but the bookmaker margin as well. This means for a ROI of 1.05 you'd need to be consistently at least 10% better at calculating probabilities than the (seemingly) efficient market. The fortunate thing, you can choose what you wish to be the best in. Hence, don't try to copy other people: if something has been already done, you are not going to be the best at it. You could, however, read about pre-existing methods and their limitations and see if you can come up with solution to those limitations: the harder the problem, the bigger they payout, as it is more likely you are the first to solve it.

"What wagers do you bet on?"

Mostly handicaps and over/under. Both allow me to pick the optimal risk/return ratio unlike of basic 1X2. On football, Both Teams Score and A Goal During Both Halves are also ok. I have experimented with predicting Correct Score for football and hockey, which the model is wholly capable of doing, but the margins are so wide on lower leagues that it just isn't feasible.

"What is your accuracy?"

A little under 60&, and this wholly logical: league-levels exist so that teams of similar calibre would play against each other, hence majority of the wagers are for situation where the probability of each winning each around 50%. Most of the bets are so that the odd is around 2 but probability is over 50%: in fact, my average odd is 1.95, which is understandable taking my ROI into account.

"Have there been any major surprises along developing the model?"

I am quite surprised how good the model is for american football. Handball and basketball being the most accurate is to be expected, but american football has so many downside in terms of predicting that I was pleasantly taken back. These downsides are

  • short season, low on datapoints

  • the scoreline may change very suddenly

  • the teams may go over drastic changes between seasons

  • effectively only 2 leagues (NFL & NCAA) to bet on, others don't even have wagers

  • very popular, should result in a sharp market

and yet, it is the second most profitable sport per bet according to current accounting. I guess the organization and facilities matter that much? Or is it the "DNA of winning"?

A negative surprise has been the models ability to predict tennis and badminton. Tennis I can understand, but badminton is, in terms of statistics, so similar to volleyball and beach volleyball that it is really weird for me it isn't performing nearly as well. I simply cannot explain what makes it such a difficult sport to predict better than the market compared to others.

"Do you watch the matches you bet on?"

I used to have them open on a separate monitor if there was a bet365 e.g. stream available for "fun", but I quickly realized how toxic it is. I already know to what sum my income should converge as I keep betting, and that almost half of my bets are misses: there is simply nothing to be gained from the constant "excitement" over them. So no, I definitely don't. I actively prohibit it from myself.

"Have you automated placing the bets?"

No, only the gathering of odds and calculating probabilities and optimal stakes. It does not take that much time from my day and the amounts have gotten so large that I'd rather keep the sanity check of placing them myself.

"Why this post? Shouldn't you keep this information to yourself?"

I am not sharing anything that could jeopardize my edge. Instead, I wish to help likeminded people to avoid unnecessary mistakes, of which nobody gains anything but the bookmaker. And besides, it is a lonely hobby; many try, few continue, almost nobody succeeds. I'd be great to find a community.

"I represent the Company X or Y and I have a business proposal, may I contact you?"

Absolutely! The thing is, that there is little more to be gained from the market if the algorithms need to beat the bookmakers margins on top of the market: however, if the algorithms were used by a bookmaker, there could be significant potential.

EDIT: I asked about not getting limited and my opinion on the future of modelling via DM, I figured I'd paste my answer here as well:

Getting limited is the reality of things, there is nothing that can be. It is not charity after all, and it is the easiest action for a bookie to do to keep more of their earnings. Unfair as fuck, since it is them who make the odds after all, but it is a fruitless endeavour to fight back.

The only solution is non-limiting bookies and betting exchanges. The latter is a bit lacking in terms of other sports than football, but with betting on rise in America I can see some hope in that. As for none limiting bookmakers, at least Pinnacle and Coolbet seem fine with having winning customers: after all, the house always wins, and they don't seem to care if some individuals do better than others.

I am not even trying not to get limited, any "tricks" you could employ seem to be total voodoo and did nothing. I can say this quite confidently, having been limited by many bookies, some of which I was not even profitable in yet.

As for future of modelling, I have feeling that it will be big institutions that will run the show and not individuals like myself. You can get a pretty AI-model at home, it is not about processing power, but the availability of data will be what separates professionals from peasants. You know all those site calculating xG etc.? What you see or can buy is just the tip of the iceberg, the best data goes for bookies and is not even made available to normal folk. The gap is noticeable in football already, but once the technology of automatically gathering detailed event data reaches lower leagues of handball and such, it is pretty much game over.

EDIT: Another user asked me for general tips regarding modelling, and I gave this concept-level answer:

Spend time thinking the "philosophical aspect" as well: WHAT is the actual question you are trying to answer and based on what: could those features you give the model even theoretically account for what you are trying to predict? Because, you can find correlation ANYWHERE, but it doesn't not necessarily explain any phenomenon.

Anything regarding the actual programming can be read on the internet, but the actual driving of the project is on you alone, as is defining not only what you are trying achieve but how you measure it as well. One crucial thing is that you'll know pretty soon if your approach has ANY potential: if not, change the approach. Elon Musk has somewhat worded this philosophy by not caring about 5% improvements, but 1000% improvements: the gains of optimizing are dimishing the further you go, and the best way to improve is come up with something completely new. For example, I tried many approaches which got the range of negative 10-5% theoretical ROI against historical odds, but it was only when my initial alpha version was in the -2% ROI range that I started to truly develop that idea.

I am not going to give any advice regarding "which ML to use" or similar, since none of those worked for me and I ended up with something unique. To succeed I'm afraid you'll need to come up with your own shade of unique.

I do stress, however, that I never even tried to build a sport-specific perfect method, but something I could easily translate from one sport to another to maximize my volume of betting, and THEN maybe improve it by sport. IF you wish to focus on a singular sport, your end-product should be wildly different and more accurate in its limited scope.

I hope this is at some form useful, even if not very concrete: I'm just trying to tell you what I'd hope I was told before: practical side of coding is pretty well documented, so I don't feel the need to iterate over that.


r/algobetting • • May 06 '22

Tennis Analysis

105 Upvotes

Hi guys,

I am very interested in the probabilities and statistics behind tennis matches and about 4 years ago I decided to start a small side project. Now I want to share some insights that I gathered along the way with you and hope that you find it helpful in your betting strategy or in looking at bookmaker odds in a different way. This is more about simple (descriptive) odds statistics than about actual models, that may come later. Additionally, I will give some insights into the theory and compare it to the actual real world.

  • Background

I chose tennis, as there are only 2 players involved - no doubles, for now - and therefore only 2 realizable outcomes, which makes it more predictable. I started with collecting data and building databases in order to eventually use them to make predictions/build models. One of the basic concepts of tennis odds - or odds in general - is that the reciprocal of the odd is the implied probability of the outcome. An odd of 2.0 (I will be using decimal odds) is therefore equivalent to a 50% likelihood of success - at least in a world without so-called vigorish, the fee implicitly charged by a bookmaker. Therefore, if we have a balanced tennis game where both players are assigned a 50% win probability, the odds we will typically see are around 1.8-1.9 for both players, depending on several factors such as liquidity and information availability. If we take 2 times the reciprocal of 1.9, we arrive at 105.3%. The 5.3% over 100% corresponds to the overround, which can be translated to 5% vig via 0.053/(1+0.053) (for more information, see here). If a bettor was to bet on both markets, his locked in return would amount to 1-0.05=0.95 (95%) of the invested amount.

  • Data

The underlying data I will talk about here is only concerning ATP singles matches. I also have gathered WTA match data, but for now I will focus on ATP. I do neither rely on Jeff Sackman's amazing github, nor on tennis-data, so my dataset is proprietary. It consists of data from different sources that are then mapped together.

In total, I have data on almost 1 million matches of all ATP categories combined (Grand Slams (GS), ATP tour tournaments, challengers and ITF tournaments, as well as other tournaments/events), starting in 1995 and ending on 01-05-2022. Obviously, for some matches I merely catch the player names and the result, while for others I gather detailed match descriptions combined with odds provided by several bookmakers. After cleaning the data, I am left with roughly 250000 matches starting in 2002, for which I have, among others, at least the following data: location, surface, round and scoreline. For many, I additionally have odds data (home/away, over/under games/sets, handicaps, correct scores, ...) and statistics (first serve percentage, aces, break points, ...). The statistics data can later be used to generate features for (machine learning) models, while the odds data can be used to check for profitability.

A graph of the matches per year shows that it kept increasing throughout the years and peaked in 2018, with only a couple of matches in 2020 due to the corona virus. In subsequent years, the impact was still noticeable.

Next, I will present some of the findings.

  • Findings

I will discuss the two following points:

  • Implied vs. Realized Probability

  • O/U Game Lines

In this analysis, I will, whenever appropriate, differentiate between GS and non-GS and sometimes even surfaces (clay, hard, indoors, grass, carpet). Also, I only consider average closing odds of the bookmakers that I gathered data from (think bet365, 1xbet, ...) for everything discussed below. My main focus in this text will be on implied probabilities (odds) versus realized probabilities. I will potentially publish another article on match statistics later.

  • Implied vs. Realized Probability

This could as well be stated as the efficiency of the tennis betting market, as I compare the implied probability of the odds to the actual outcome of the matches. The hypothesis to approach this is to determine whether there is a strategy in which we buy a certain odd (and therefore an implied probability) for which we know that the realized probability is higher than implied. This implies that the odd and therefore the payout has to be higher than what we expect, on average, to be realized for this odd. As an example, if we could buy a 2.0 odd (50% implied), but we know that the realized probability for this odd is higher than 50%, say we win 60% of the bets, the fair odd would be only 1.67 and by consistently betting this, we would expect to make, on average, the difference in credit per bet. Obviously, this would be a strategy that is quite simplistic and easily exploitable and therefore unlikely to work.

After disregarding all matches where I do not have match odds, I am left with more than 225000 matches. The average odds per surface are summarized in the following table:

SurfaceAverage Winning OddAverage Losing Odd
Carpet1.772.68
Clay1.762.99
Grass1.773.18
Hard1.763.09
Indoor Hard1.792.84

For these observations, I calculate the realized probabilities as wins with odd X/sum(wins+losses with odd X), where I use steps of 0.01 from 1.0 to 3.99 for X. For winning odds greater than 4, the number of observations decreases and thus variance increases, so they are left out of this analysis. The implied probability is 1/X.

The result is not that surprising, as the difference between implied and realized probability is positive, which shows that the bookmakers, on average, offer lower odds than would be fair considering the realized probabilities. If the odds were „fair“, the realized probability would oscilate around the implied probability line, due to some variance, especially if there are few observations. The implied probability, however, acts as a ceiling for the realized probability, which is another manifestation of the vig. For example, an odd of 2 implies probability 50% (dark blue line). As we can see in the graph, an implied odd of 2 only corresponds to a realized probability of 45%, which would require odds of 2.22 to break even in the long run (red line goes through realized probability at 45%). The realized probability of 50% corresponds to an offered odd of 1.85, which is way too low to break even.

This graph also shows that a simple strategy of betting on favorites with odds <1.5 - or any other simple rule like that, really - would be a losing strategy, as the odds offered are lower than what the realized probabilities command. Same applies to always betting on the underdog. This implies that the only way to consistently beat the bookmakers in this market - or any market - is to have an edge, not by randomly picking winners.

This result can be used to 'adjust' bookmaker odds to 'real' or 'fair' implied probabilities, by calculating and adding the vig back to the realized probability in the graph, where the graphical representation of the vig is the difference between the implied and realized probability (residual). This will achieve that the winning odd corresponds to its implied probability adjusted for vig. The higher the odds (the lower the probability), the more percentage points have to be added, as a fixed absolute change in the odd corresponds to a smaller percentage change (moving from 3.9 to 4 is similar to 0.64 percentage points, while a change from 2 to 2.1 is equivalent to 2.4 percentage points). Moreover, it is way easier to charge higher vig for bigger underdogs/higher odds, which also acts as some kind of insurance for the bookmaker for potential information disadvantages.

The following graph shows the adjusted realized winning probability:

Here, the percentage corresponds to the implied probability – a 50% chance of winning is assigned to a winning odd of 2. Of course, the realized probability will still oscillate around the implied probability line. Only if we had infinite observations would they perfectly converge.

In theory, adding back vig to odds can be accomplished, to varying success, with different methods. There exist the equal distribution, normalisation and power method approach, among others. The equal distribution approach is additive in that it deducts the overround from both implied probabilities equally (additive constant). The normalisation approach is multiplicative and reduces each probability by the same proportion (constant multiplier). The power method alters the implied probabilities by raising them by a constant power. For more information, refer to the paper 'Adjusting True Odds to Allow for Vigorish' by Stephen R Clarke. The first two approaches can lead to unintuitive and unreasonable results, like negative odds. The third approach includes (re)calibration and thus is also not suited for a quick approximation of the real odds/probabilities.

As an alternative, I suggest a unique approach of applying a polynomial regression to the winning odds and the residuals (difference between implied and realized probabilities above), which basically would increase the realized probability line in the graph above to fit the implied probability line.

In the low odd segment, there are a lot of observations with little deviation, thus the densitiy is high (many blue points). The higher the winning odds, the higher the variance. Clearly, a polynomial fit yields better results than a linear fit, due to reasons discussed above. The formula for adjusting 2-way outcome odds is therefore approximated by:

Adjustment = - 0.025 - 0.08 * Odd + 0.1 * Odd^2

Coming back to the introductory example of equal odds of 1.85 for the two players, the adjustment formula gives adjusted odds of 2 for both outcomes. The formula accounts for the non-linearity by adjusting the odds with the factor 0.1 * Odd^2, which can come in handy at times. For the low odd segment, the odds are very close to the real implied probabilities and do not require a lot of adjustment in general. Obviously, this is a very quick and simple way of adjusting odds. A more sophisticated method would take into account the total overround (as, for instance, the power method), among others.

  • Over/Under Game Lines

In this section I analyse over/under (o/u) game/set lines, the theory behind it and what a fair line should look like considering odd differences. I will mainly focus on best of three matches, thus leaving out Grand Slams. This section includes many descriptive statistics tables and graphs.

Firstly, consider the different possibilities of the total amount of games a tennis match can have. There is only one way to achieve 12 games for a completed tennis match, if it ends 6-0, 6-0 (for reasons of symmetry, we can disregard 0-6, 0-6). There are 2 ways to arrive at 13 games, 6-0, 6-1 and 6-1, 6-0. Continuing with this exercise, we will see that the maximum games a 2-set match can have is 26, for a 3-set match 39. The distribution function will look like this:

As we can see, there is an overlap between the realizable games of a 2-set and a 3-set match, starting at 18 games and ending at 26 games. One difficulty in the next step arises from the application of conditional probabilities. There are, absolutely speaking, way more ways to arrive at 22 games in a 3-set match (15) than in a 2-set match (5), relatively speaking, however, chances are more than twice as high to see 22 games in a 2-set match, because there are, absolutely, less possible combinations in a 2-set match. This difference in total combinations makes a combined view of total games per match (2- or 3-sets) difficult, as one has to define the probability of there being 2 or 3 sets. Additionally, the probability mass functions presented in the graph above are theoretical and they deviate from the ones observed in reality:

One of the reasons is that, from an empirical standpoint, some results, i.e. total number of games per set, are more likely than implied by the combinatorics exercise above, due to the difference in probabilities to hold a serve and return game. This will become clear once the match statistics are taken into account (likely in a later series).

The average games for a 2-set match are 19.2 and for a 3-set match 29.7, over all surfaces. The combined average is 22.9 games and a combined graph will look as follows:

One can still observe the conditional graph from above (peaks around 19 and 30 games). The overall probability of 2 sets is 65%, implying 35% for 3 sets. The average games based on surface and conditional on it being a GS match looks as follows:

Next, I will present empirical averages for odds and lines to check how the theory above is reflected in the real markets:

As can be seen, fast surfaces (indoor hard, grass, carpet), where breaks are less likely, have higher averages of both game lines and total games. Another observation is that, on average, a match is more likely to have 2 sets than 3, while the total games per match are skewed to the upside due to aboslutely more and greater outliers than on the downside. This explains why the average game line is approximately one game lower than the average total games observed. The o/u odds for sets also reflect this and match the realized probabilities presented above.

As became obvious studying the above graphs and tables, a simple strategy of betting over/under in every match, even adjusting for surface, is unlikely to succeed due to the bookmakers vig. If you are a skeptical person, here is a graph showing your equity line if you start out with 100 units and always bet 1 unit either on over or under:

You would have blown your account after approximately 200 or 275 bets for the always over or under strategy, respectively.

A different approach may be to adjust for the difference in the skill level of the two players and base over/under bets on that. For this, I calculate the absolute odd difference between winner and loser (for instance, 1.9 - 1.85 = 0.05) and then check what the typical over/under line looks like for different odd differences. This approach will implicitly adjust for the vigorish, as equally skilled players will have an odd difference of 0. The result can yield valuable information, as one can then deduce from only looking at the odd difference what the over/under line should approximately be.

I go on to exclude all the matches where I do not have odds for o/u game lines. Moreover, I partition the odd-differences into groups from 0.0 to 10 with step size 0.05. I end up with a sample of roughly 55000 matches with o/u game line odds. The following graph depicts the average games and average game lines, including a third order polynomial fit line for each:

The outliers on the upside in realized total games lead to the Total Games curve being, on average, roughly 1-2 games above the total implied games by the odds. The total games and the game lines are highest when there is the least difference in skill level (on the left). On the right, there is the highest variance (less observations, more uncertainty). Only looking at the polynomial fit lines, one can see that they have a quite similar shape. After an initial divergence, it seems like the difference between them is quite stable starting around an odd difference of 2.5.

Back to the ‘improved‘ betting strategy, what if we bet 1 unit on the over/under if it is a close game (odd difference <0.5)? Turns out the strategy is still too simple and will lose (a lot of) money:

  • Feedback

Everything I shared should not be interpreted, if it's even possible, as 'betting advice'. It is merely me sharing some information that I gathered, for which I will not guarantee any sort of completeness or accurateness. If you think I have made an error or if something is not clear and needs more elaborating, please let me know, I am very open to feedback and appreciate it. Moreover, this is my first real post here, so if there is any way I can improve my design/format or anything, let me know.

Please use the information in a way you find useful, at the very least, I hope I could give you some analytical entertainment.

  • Outlook

If this is helpful for some of you, I may consider writing another post regarding anything that is interesting to you and that may lead to a discussion from which all can benefit. For instance, I backtested several approaches proposed by (academic) literature, ranging from bachelor, master and phd theses to academic research published in magazines, with more comprehensive, up-to-date data. The advantage I have lies in my dataset, as the same dataset is used in (almost) all the literature, which can, in some cases, consist of insufficiently few observations.

Alternatively, my dataset also includes player/match statistics; therefore, I could provide insights into how different surfaces affect serving probabilities, which, in turn, could be interesting for looking at live odds regarding winning serving games, for instance.

Thanks for reading!


r/algobetting • • Jan 21 '25

a dumb manifesto - what i've learned so far modeling the nfl

103 Upvotes

first off, this is really beginner to intermediate level stuff. if you're a sharp or a grizzled vet, no need to come in here and shit on this. i'm no wise guy, and i've got a long way to go before i will be able to compound my profits in to anything meaningful. but i've been iterating and improving, and the results are getting much more consistent after working though a lot of mistakes. i think i'm on the right path, so i'm writing some stuff here i wish i didn't have to figure out for myself.

  1. always be looking for new data sources. getting access to feeds that are still being updated and feeds that go back far enough for training data has been the hardest part of all this, for sure. and i'm constantly in fear that they'll disappear or stop being updated.

  2. pay for data when you can. it's worth it. don't pay for picks, but pay for apis / feeds / other models.

  3. archive and clean/organize everything you find whether you use it or not. it may be useful eventually, once you have a long enough history of it. many data sources don't provide past states, you need to save them yourself.

  4. don't try to predict outcomes, just try to predict the market. games are extremely chaotic, trying to model something that can completely change depending on one pass interference penalty being called or not called is just going to end up spitting out pure noise.

  5. iterate on one model, focusing on one market, constantly. keep sharpening it up bit by bit, try new stuff, new configurations, really go nuts on it before building a bunch of others to try to scale up. you don't want to make the same mistakes multiple times, once you know what is working and not working you can try to fan out.

  6. don't try to beat the market, try to be early. it's honestly not so crazy hard to originate lines that are sharper than open, even in big efficient markets. but at some point between then and close that market starts to have much, much more information priced in to it than you can possibly model. that doesn't mean closing lines are perfect, they can be pricing in bad information (look at https://www.statmuse.com/nfl/ask/titans-ats-2024), but it's really hard to differentiate those from just noise/information loss. you may be able to consistently beat closing lines in small/inefficient markets, but those limits are going to be lower and beating those kinds of markets is more likely to get attention from sportsbook traders, which is bad 100% of the time.

  7. don't make a meta model that ingests other models' outputs, but definitely use them top down. those outputs are already high fidelity compared to raw inputs and will end up over-weighted in your regression. have your model independently predict the same target, and then blend your model's output with the others afterwards. i even found that blending together 2 versions of my own model, based on very similar data, in this way was much better statistically than either of them independently. basically, if elo or whatever has a 78% win probability, and i have 86%, i need to discount my 86% at least a little bit. that doesn't mean the elo number is better, or even good, it just means that it's * more likely * my model's error on that number is on the high side vs low side.

  8. track and evaluate your results religiously. not just clv, but your actual edge when it comes to wins and losses. don't fall too in love with your model that you assume it must be right and if you're not getting good results it must be variance or something else.

  9. don't p-hack, you'll end up overfitting to some weird shit that won't actually work in practice. you can take any back test result set and find a massive edge with a small p-value if you're willing to fiddle with the strategy parameters enough. like "oh shit, if i only bet dogs who have a t in their name between +4 and +9 i'm gonna be rich". nah. you're looking for clear and obvious results that have an obvious explanation.

  10. once you're confident in your model, entry timing, and results, just suck it up and bet in to a sharp book that doesn't care if you're a winner. use your draftkings and other shitty retail accounts only when they're off market or dealing the best price on something. and make sure to use them for other stuff too so that when a trader inevitably looks at your account they see stuff that looks to them like you are probably gonna lose the money back. they may even give you some bonus bets :p


r/algobetting • • Jan 12 '25

sports-betting Python package

87 Upvotes

I’ve been working on sports-betting, a Python package to make sports betting easier with data. It helps you grab sports data, test out betting strategies, and spot value bets – all in just a few lines of code. There’s even a simple GUI if you prefer that.

Check it out on GitHub: https://github.com/georgedouzas/sports-betting


r/algobetting • • Dec 13 '25

I've been developing models for a year — here are the results

Thumbnail
gallery
71 Upvotes

Hello everyone, this is my first post on Algobetting. I’d like to share some of the work I’ve been developing over the past year. My focus is European football (soccer), and this is the fourth predictive model I’ve built for this market.

The model has delivered a 16.46% ROI, with disciplined bankroll management of 2% per bet. Over the sample, I’ve recorded a 60% win rate with average odds of 2.05.

To evaluate risk, I ran 10,000 Monte Carlo simulations. The results showed an average maximum drawdown of 13.74%, with a 0% probability of the bankroll falling below 50%. These outcomes are consistent with the odds profile and confirm the robustness of the approach.

Around 90% of my bets are placed through Pinnacle, with the remaining 10% distributed across Matchbook, Betfair, and Asian bookmakers. All bets are straight pre‑match wagers, typically placed within 24 hours of the event, and often closer to kickoff when lineups affect market efficiency.

Some months have fewer bets, as I only act when genuine value is identified. Looking ahead, I’m considering expanding the model to other sports or smaller football leagues.

I’m sharing this because I believe in transparency and data‑driven strategies. I’d be interested in connecting with people who value structured models in sports betting, whether to exchange insights, collaborate, or explore ways to leverage this work further.

PD: I translated this to english then sorry about mistakes.


r/algobetting • • Oct 07 '25

I built a unified API for 200+ bookmakers. One API. Every bookmaker. (Testers welcome)

68 Upvotes

Been working on this for a while, it’s a unified odds API that pulls data from 200+ bookmakers across the UK, EU, US, and exchanges. Covers everything from the big names to smaller regional books most APIs skip.

All odds are returned in one consistent format, so you can compare across bookmakers without needing to clean or remap anything.

It’s been live for a while and runs stable with low latency. Covers 20+ sports and 100+ markets, all updating in real time. We also have a WebSocket available if you prefer streaming data.

If you’re building models, tools or just want a clean multi-book feed, I’m opening it up to a few testers. Message me if you want access and I’ll send over a free key. Happy to answer questions here too 🙂

EDITED: Thanks for all DMs, crazy response. We’ve launched it on odds-api.io, docs available at docs.odds-api.io. Hook me up in my DM and I’ll give you a 50% off for 6 months on any plan. We plan to cover any book and any market in the future, so be ready


r/algobetting • • Jan 07 '25

Lessons From Building a Winning Prop Prediction System

66 Upvotes

Hey all, I've spent the last few months building player prop prediction models for the NBA and NFL. I have many years of developing experience, and its truly been a journey of mistakes and figuring out what works/doesn't work. At the end, I built systems that have had really good records in production. I've compiled some of my lessons below to help some future modelers.

#1. YOUR DATA IS GOLD

While this seem obvious, I want to emphasize that the majority of the struggles I’ve had were either with obtaining data, cleaning, storing and accessing it properly, or figuring out how to transform and merge it. Without having a solid base of box scores, injuries, play by play data, and anything else, no modeling matters. The most valuable step for anyone pursuing a venture like this is to:

Get a good data vendor and make sure that they have historical data and release stats in a timely manner when games are finished.
Go over the data yourself and identify what parts you want to model with and what parts you want to throw out (You should not be using games from the olympics, summer league, pre-season, etc as they often don’t model the real distribution of how games happen in season)
CHECK YOUR DATA - are there fields missing? Is it accurate? Double check games with other sources. You’d be surprised at the mistakes you find even with credible vendors.

One of the hardest parts for me was merging together different data sources. I would use a combination of scraping and APIs to build my database, and even merging on player names was a hassle. Things like accents and different player spellings would make merges tedious and require lots of manual effort to align sections. Again, while this felt boring and I just wanted to get to the modeling, I realized later that any shortcuts in this process would lead to confusing bugs and model behaviors later on. Before you move to the next step, make sure you understand your data, its distributions, and that it is clean.

Even storing the data becomes a challenge once you start collecting from multiple sources, many years back, and across multiple sports. Here I recommend Supabase to anyone that wants to join in this pursuit. It was incredibly easy to set up, you can use PostgreSQL Functions for easy modifications, and views have been my best friend in terms of accessing different queries.

Also, you better be damn good at using pandas and polars vectorized functions. When you start writing complex features, they are useless if they take hours to execute. Some of my hardest challenges to figure out have been optimizing a certain pandas queries to reduce execution times from 3-4 hours to seconds. It might not be a bad idea to refresh on rolling windows, merges, grouping, and so forth.

#2 USE BACKTESTS TO VALIDATE NOT OPTIMIZE

One of the biggest mistakes I see in the field (and true for those creating algorithms to trade in other markets as well) is that they optimize for a positive historical return with the assumption that will lead to profits in the future. The problem is, it is quite easy to stumble upon a lucky positive backtest and then end up getting killed later in production. In fact, there’s a whole suite of bettors that use things like “ATS (Against The Spread)” betting systems, which are a set of parameters that describe a current matchup scenario (Underdog coming off 3 losses, averaging so and so win rate, ranked middle of the pack against the favorite going from 2 wins etc etc). You can see why with enough parameters, eventually a system will end up having a lucky break. ESPECIALLY with low sample sizes.

What I found works best is to optimize for statistical properties. Make models with lower negative log likelihoods, better MAEs, and so forth. Naturally these models end up doing better on backtests, but now we have two indicators that our modeling process is valid. Backtests should always be used as the last step as a test against the market. The truth is, there are never enough samples in backtests to truly use them as a pure optimization metric, so you must find yourself optimizing for some intermediary property.

The last thing here is make sure that your backtests are also statistically significant. If you used a 50/50 guess on each bet, what are the chances that you end up profitable after 50 bets? After 100? 200? The truth is, it takes a few hundred to thousands of bets to even be sure that your system works properly. I’ve spent too many nights being excited at high sharpe backtests but then seeing that their true p is around 0.07 to 0.10.

#3. BUILD INFRA FOR SPEED

You never want to get too attached to a single idea for too long. You want to try out many ideas, and be able to prototype fast. This is where the infrastructure I built really shined. I had a system where I would write functions to transform the data and then insert them into a configuration file, along with different values of hyperparameters and pipeline options. I would then use Modal to run that experiment in the cloud (god bless Modal’s infrastructure here) and then save the results to another supabase table. This meant that I was not limited to compute time, and I could try out many different ideas asynchronously.

My entire pipeline of modeling, from building features, to information about feature distributions and correlations, to feature selection, and finally using those features in models was optimized to the point that I only had to worry about finding ways to transform the features well and figure out where I could generate alpha. Because of this, I was able to run thousands of experiments over many weeks, whereas it would be much lower had I not spent so much time optimizing for my modeling setup.
Combined with generating templates for pandas transforms to make generic features, I had fantastic speed in trying every possible idea that I could imagine or read about. At the end, it is surprising how you just need more quality over quantity of features to truly represent a prop projection, and the infrastructure is what helped me uncover that.

#4. ALIGN THE FUTURE WITH THE PAST

It doesn’t matter if you can generate amazing backtests, it is useless if you can’t use those predictions in the real world. And to do that, you must find a way such that your features are used the same in the past as they are in the present.

What do I mean by that? It is a process of formatting your data so that for a future matchup, you are able to input how things like a rolling means or injury similarly to as if you were applying them to a historical matchup. One huge mistake in this space is that the way people code features end up being different than how they are able to apply them to games.

I have a simple test I run which is that I take a random date and cut everything else after it from my data. I then apply my feature pipeline to the latest game and compare how those features look compared to if I had generated them in the past to begin with. I’ve uncovered many bugs this way, and it is so important to make sure that your modeling is the same as the backtest and metrics you base it off of.

Also, you should make many many MANY guard rails to prevent data leakage. It is so easy to include data from that game, which leads to suspiciously good results. If you think your backtest and metrics are too good to be true, its because they probably are. At every step of the way, you should be adding tests to make sure that the data from that game is not included in the modeling.

#5. FOCUS ON THE SIGNAL

It is not likely that anyone can build models that beat sportsbook in predicting lines, for every line. That means you need to find a way to isolate when the market is mispriced. And for us, we call that a signal.

This is where learning what some of these statistical metrics like log-likelihood, mean absolute/square error, R2, and so forth really matter. Once you get far enough in this journey, you will find that there are patterns in these metrics that when they occur, identify value in a line.

There is not much I can add to this specific part without leaking some of my secret sauce, but know that in general you will not beat the market on every line, but you can identify a grouping where you are more accurate instead.

Those are my main learnings. There's a lot more that goes into it, but for anyone trying it out, my last advice is to be persistent. It takes lots of failures before you can have a glimmer of success, but it is so rewarding when you finally get there.


r/algobetting • • Dec 01 '25

How do you actually build a betting strategy that works?

63 Upvotes

Not talking pro level models just like, how did you get past the “betting vibes” stage? Here's what kinda helped me figure mine out:

• Track everything – Wins, losses, types of bets, sports, units even the dumb parlays. Patterns pop up real quick when it’s all in front of you.
• Stick to what you know – Once I stopped betting random MAC games I don’t even watch, my win rate actually improved.
• Test different styles – Tried spreads, props, live bets, etc. Turns out I’m way better at picking player props than game winners.
• Set a budget + units – Having a consistent unit size keeps things from going full chaos mode after a bad beat.
• Fade trends sometimes – If it feels like everyone is on the same side, I at least double check before I follow.
• Bet against people, not the house – Started doing p2p bets on bet openly and it made me way more dialed in.

That’s what’s helped me figure my lane. What’d you do to dial yours in? Or are you still just straight-vibing your picks?


r/algobetting • • Nov 26 '25

Using Polymarket as an oracle to find +EV bets elsewhere. Thoughts?

Post image
61 Upvotes

I’ve been using Polymarket prices as my “real” probabilities for sports futures, then comparing them to bookmaker odds.

Since Polymarket is liquid and updates fast, its prices often feel closer to fair value. That makes it easy to calculate expected value and spot small edges when a bookie is mispricing an event

Has anyone else tried using a prediction market this way? Curious if the idea makes sense to others


r/algobetting • • Nov 07 '25

Weekly Discussion I tracked my limits across 12 sportsbooks. Here are the results

61 Upvotes

I've been tracking how long it takes to get limited on various sportsbooks. Here's my data from the past year:
Limited within 1 month:

- DraftKings (3 weeks)
- MGM (2 weeks)
- FanDuel (4 weeks)
Limited within 3 months:
- Caesars (2 months)
- BetRivers (10 weeks)

Not limited after 6+ months:

- Pinnacle (14 months, no limits)
- Bookmaker (11 months, no limits)
- Heritage Sports (8 months, no limits)
- Bet105 (7 months, no limits - this one surprised me)
- BetOnline (6 months, minor limits on some props)

My betting pattern: Mostly arbitrage and +EV plays, average bet size $200-500, total volume
about $50k per month across all books.

The takeaway: If you want to do this long-term, you need to focus on books that actually want
sharp action. Bet105 has been a pleasant surprise - they're not as well known as Pinnacle or
Bookmaker, but they've handled my action without any issues.


r/algobetting • • Feb 20 '24

We Built a Bloomberg Terminal For Sports Betting

61 Upvotes

Tl;dr: We’ve just launched our odds charting platform modeled after Bloomberg and Tradingview.

For the past few months, me and my team of devs have been working on our vision of a free and open odds analysis platform. The financial space has so many visual financial tools, yet the sports betting community has little to none.
And so we’ve incorporated familiar tools like EV and odds screens while rolling out our experimental centerpiece: the odds chart. The odds chart displays real-time AND historic charting of lines across all supported sports books with low latency. It is the first of its kind, and yet immediately recognizable to anyone in the financial sector.

So feel free to checkout our website. It's free, no strings attached! What we're primarily curious about is what r/algobetting thinks of OpenOdds, our charts, and what else they might need. Here's some guiding questions

  1. What is your initial impression on our website and specifically our charts?

  2. How might you expect to use these tools?

  3. What’s your algobetting workflow, and is there anything inconvenient about it right now?

Any other feedback or suggestions are more than welcome as well!
Here’s the link to our site. Completely free, no strings attached. And of course our DMs are always open!
openodds.gg


r/algobetting • • Apr 09 '26

When your strategy finally starts working

Post image
60 Upvotes

So I started working on an algorithm ~ 5 months ago and have been working on it ever since in my free time. I'm a developer but knew nothing about models and betting at all. Thankfully I had someone knowledgable who knows his stuff and after a lot of work, backtesting and testing in production a month ago we finally had a breakthrough as you can clearly see.

Just want to share this success story, I'm don't want to sell you anything like most posts here :D I still can not believe this is actually working.

The graph is displaying real results of actually placed bets.

All-Time Stats:
Starting Bankroll: 700$
Total bets: 4290
ROI: 6.30%
Total Profit: 3220$

If I just pick the last 4 weeks the stats look even better obviously:
Total bets: 2132
ROI: 9.82%
Total Profit: 4038$


r/algobetting • • Nov 03 '25

Weekly Discussion Update: MLB Model Results at End of Season... 4,000+ bets tracked

56 Upvotes

Here are the final results from the model, now that the MLB season has concluded.

Finishing results...

2319-1737-60

57.2 Win Rate

3.4% ROI

+139.9 units (Same unit interval each time)

1221-837 on spreads (1.5 Line)

1098-900-60 on totals

Some interesting adds...

When running the data for statistical significance our 95% confidence interval is

95% (55.7%, 58.7%)

Profitability is 52.38% and we can have 99.9999999% confidence that this model will beat that result.

The expected edge on the model is 4.8% over the books edge

If you used the Kelly Criterion to set your betting size throughout the whole season you would be up anywhere between (245 units, 925 units) depending on a number of different factors including how the games fell in the schedule, how you split the kelly fractions with the number of games going on, and how aggressive you were in your sizing...


r/algobetting • • May 07 '25

New Nba game simulator

Post image
56 Upvotes

the simulation is at a possession level. accounts for current injuries, this is brand new so i am very surprised to see the results of it taking CLE over IND tonight but it seems to think Mitchell is going off…


r/algobetting • • Jun 13 '23

NBA Model Full Season Results

Post image
55 Upvotes

r/algobetting • • Dec 26 '25

The battle to stop clever people betting - The Economist

52 Upvotes

Figured this would be relevant here, since any insights as to how books flag advantage players is useful. Nothing seems incredibly groundbreaking, but it is neat to see anecdotal examples of books simply relying on initial device type (e.g. using phone), gender of names, initial deposit method and a few other things to profile users before they even make a wager.

https://archive.is/kyqxs


r/algobetting • • Jun 17 '20

Great read on the topic of sports betting

Post image
48 Upvotes

r/algobetting • • Nov 19 '25

Ranking “sharp by sport” is tricky

47 Upvotes

People always try to make those clean lists like “NFL is the sharpest,” “NBA totals move the fastest,” “MLB is the most model-driven,” but honestly ranking sharpness by sport never really holds up. The whole thing depends way more on context than the sport itself.

If anything, the better framework is:

• Limits: how much money the market will actually take
• Liquidity: how many people are trading it, and how consistently
• Time to move: how quickly the price reacts when info drops

Once you filter markets through that lens, the whole “sharpest sport” list thing kinda falls apart. A tiny edge in a high-limit market is worth more than a massive edge in a market that won’t even take $50. I’ve been messing around on novig lately to see how liquidity builds in real time, which honestly makes this stuff easier to visualize. Not saying it changes the framework, just helps you see what’s actually happening under the hood.
Curious how you all break it down if you ditched the sport vs sport ranking, what’s your go to way of judging a market’s sharpness?


r/algobetting • • Jul 17 '25

I Compared 6 MLB Models (PECOTA, FanGraphs, ESPN, etc.) and Built My Own to Beat Vegas Win Totals

Thumbnail
gallery
47 Upvotes

Sharing a side project while we wait for baseball to return!

I ran a multi-season evaluation (2022–2024) of six MLB projection models for season wins — FanGraphs, ESPN, Baseball Prospectus (PECOTA), The Athletic (Keith Law), Clay Davenport, and my own system, HOBIE (Holistic Outcomes Baseball Insight Engine).

I tested each model on:

  • MAE and RMSE vs actual wins (precision)

  • Correlation with actual wins (pattern)

  • Betting performance vs Vegas win totals

Then, having identified the best model, I developed a betting strategy based on where model projections diverged from the Vegas line. Accuracy increased sharply as the gap widened (see image):

  • 2.5–5.5 win difference: 72% win rate

  • 6.5+ win difference: 91% win rate (smaller N, but highly predictive)

HOBIE consistently outperformed all major models except Keith Law’s, and the statistical differences were significant in most cases.

Last year I went 14-3 in the season-long win total bets for a 64% ROI, and if you project the current season's win totals using current win percentage, I'd go 13-6. Lots of baseball left to play, but it's been pretty solid over the last few seasons and is looking good so far this year.

Full writeup + charts here.

Open if anyone has thoughts on how to improve or ideas for other models to compare.


r/algobetting • • Feb 12 '26

Weekly Discussion I’ve been betting as my only source of income for years and I’ve never tracked CLV once. AMA

45 Upvotes

I’ve been limited on every soft book and even seen my play restricted on sharp books, and I’ve not once compared my lines to CLV. I know this will be a hot topic in this community but I’ll explain.

CLV is accepted as the most efficient public price. Fair. But also we have to acknowledge that just because Pinnacle closes at -110 on both sides doesn’t mean the true probability is 50%. I agree it’s the most efficient publicly available number, but that doesn’t mean it’s correct. So why are you asking yourself “did I beat the most efficient publicly available market?” instead of “was my predicted probability of this result closer to the true probability than the odds that I bet it at?”

Benchmarking against the closing line means you’re trusting the markets probability more than your own. And if that’s the case, I personally see that as a sorry view of your own information.

Over a large enough sample, your actual results tell you everything you need to know. My win rate compared to the implied probability of the odds I bet it at. That’s it. Profitability is the end goal. Why do I care what the CLV was if that’s not the number I bet it at, positive or negatively.

Now if you’re new to the space and trying to grade your model and can’t distinguish skill from variance yet, I get that comparing to CLV is a good place to start.

But I believe CLV should be your training wheels only. It shouldn’t be your primary metric that defines your edge once you’ve established yourself as a successful bettor.

And I love that books judge how good a bettor is based on CLV. I’ll intentionally avoid positive CLV by betting last minute to keep my edge on the down low and extent account life. You might be giving back some % in the edge department, but you’re going to increase overall profits on a book, even if it takes longer.

In the end, I think it’s more important that you trust your own numbers more than whatever the number settles at on a sharp book. Ask me anything and I’m happy to share my thoughts further!


r/algobetting • • Jan 16 '25

NBA Historical Dataset: Box Scores, Player Stats, and Game Data (1949–Present) 🚀

43 Upvotes

Hi everyone,

I’m excited to share a dataset I’ve been working on for a while, now available for free on Kaggle! This comprehensive dataset includes detailed historical NBA data, meticulously collected and updated daily. Here’s what it offers:

  • Player Box Scores: Statistics for every player in every game since 1949.

  • Team Box Scores: Complete team performance stats for every game.

  • Game Details: Information like home/away teams, winners, and even attendance and arena data (where available).

  • Player Biographies: Heights, weights, and positions for all players in NBA history.

  • Team Histories: Franchise movements, name changes, and more.

  • Current Schedule: Up-to-date game times and locations for the 2024-2025 season.

I was inspired by Wyatt Walsh’s basketball dataset, which focuses on play-by-play data, but I wanted to create something focused on player-level box scores. This makes it perfect for:

  • Fantasy Basketball Enthusiasts: Analyze player trends and performance for better drafting and team-building strategies.

  • Sports Analysts: Gain insights into long-term player or team trends.

  • Data Scientists & ML Enthusiasts: Use it for machine learning models, predictions, and visualizations.

  • Casual NBA Fans: Dive deep into the stats of your favorite players and teams.

The dataset is packaged as a .sql file for database users, and .csv files for ease of access. It’s updated daily with the latest game results to keep everything current.

If you’re interested, check it out here: https://www.kaggle.com/datasets/eoinamoore/historical-nba-data-and-player-box-scores/

I’d love to hear your feedback, suggestions, or see any cool insights you derive from it! Let me know what you think, and feel free to share this with anyone who might find it useful.

Cheers.


r/algobetting • • Feb 25 '24

Model Results (75% Accuracy)

Post image
43 Upvotes

Yesterday I posted the model predictions and looking at the regression output the model has 62% accuracy and 75% accuracy when looking at the players the probability was the highest!


r/algobetting • • Dec 22 '25

I Built a Play by Play Model for NBA Games

Thumbnail
gallery
42 Upvotes

I started building NBA models on nights and weekends after work as a way to teach myself Data Science and Python back in 2017. I guess I've come full circle now, because I feel like I've gotten pretty good with DS and Python, but I can't find work lol. On the upside, I finally got a chance to really sit down and build the model I've been wanting to make for years.

I always found that the traditional methods of modeling lacked a lot of detail that would be nice for sports betting. It was always like "Oh sweet, this model I built has an MSE of X or would have hit Y% of the ATS/Totals for the year" but I always had trouble quantifying the probabilities, or pricing out anything that wasn't strictly part of what I was modeling. For instance - I built a lot of Totals and Spreads models. But even if you train them on the same data, they don't know what the other one is saying. And even if they did - you can't say "This model predicted X, so the chances of it going over/under the line at Y is Z, and I only want to bet -110's if the probability is >52.5%" or "Given this model is saying the total is X, and the spread model says Y, the joint/conditional probability of X and Y is Z". It would always just be single points in space. You could back test it over big samples, and get some "Guesses" but that's about it.

This new model I built goes down to the Play by Play level data, and simulates possession outcomes at a very low level, modeling conditional probabilities of events/event sequences given game states. So now I can simulate 5-10k games per matchup and get probability distributions of outcomes at a low level. Since each game is simulated individually I can also price out tons of different things I never could before like alternate lines and SGP's with semi reasonable levels of confidence.

Anyway - I just thought this was cool. I don't know anyone IRL who cares about being able to price correlated outcomes effectively, or being able to put confidence bands around expected outcomes. I just found this sub and thought maybe you guys would find it interesting/cool.

If anyone's parlayed their work with sports modeling/betting into something that helped them land a job, how did you frame it? I want to create more content around the model/how it works at a lower level, and try to use that as a way to stand out in job applications as a personal project - but I don't want to come off like a total degenerate gambler and turn off prospective employers.


r/algobetting • • Feb 10 '25

I made a video documenting my experience betting on the NFL this season. I accomplished a ~6.5% EV and made over $2000 over the course of ~150 bets using a simple AI model built in python/tensorflow with easy to obtain/free data.

Thumbnail
youtube.com
41 Upvotes