Can this be Done with an Algorithm?

Can daily fantasy baseball be reduced to an algorithm?  I don’t know, but I certainly wouldn’t rule it out.

The Comparison to Stocks

The stock market used to seem random.  To large degree, it is still deemed to be random.  However, there are numerous algorithms that have been invented to handicap the stock market.  Literally thousands of data points are analyzed.  Using the whole history of the stock market, including all securities traded thereon, data is analyzed for patterns.  If history were to predict the future, there’d be a fortune in knowing when and how.


The idea of using past data and it’s patterns

An Algorithm as Daily Fantasy Baseball Strategy

The same concept applies in daily fantasy sports, and particularly in daily fantasy baseball.  What would history reveal?  For instance…

  • If a guy hits a homerun yesterday, are the chance greater or less than standard that he hits one today?
  • If a guy threw a shutout last time out, does he pitch better than his season average this time out?
  • If a guy is hitting better than his season average over his last seven games, what’s the liklihood he hits a homerun tonight?

The examples are numerous.  Last night, I tried something.  I said, I want to find a guy who is hitting better than his season average over his last 7 games, who hit a homerun yesterday and either has a favorable lefty-righty matchup or has hit a homerun and walked off the opposing starter.


You have to try something, right?  Turns out, that set of criteria produced a few more guys than one starting lineup.  I used the best salary combination I could find to create a few teams.  I was so proud of my genius algorithm.  I was starting guys I had barely noticed all season.

Probably the worst night of my daily fantasy season.  Nobody hit.  A good night out of a few starters was nullified by a complete lack of offense.  However, I know I’m onto something.

It’s a Huge Amount of Data

I’m not talking about doing something I can do in half an hour just from looking at a few matchup sheets.  I’m talking about the whole history of baseball.  I’m talking about multivariate analysis on every hitter who has ever played the game.  I’m talking about bayesian logic applied to our national pastime.  It’s not crazy.  Ask Billy Beane.

The Biggest Daily Fantasy Baseball Money Leagues are Huge

The amount of money in daily fantasy sports at this point is enormous.  I’m not talking about your fantasy football league that has a $500 season long buy-in with the winner taking home a few grand.  I’m talking about multi-thousand dollar contests running nightly and lasting one day.  And it seems to be growing exponentially every season.  There’s money to be won here.

Maybe It’s Random

Of course, maybe there is no secret to be unlocked.  Maybe in studying history in an insanely deep and statistical way will prove that finding value and consistent performance in daily fantasy baseball cannot be reduced to an algorithm.  Maybe it’s random.  (Not completely random as the good players will be good and the not-so-good will be, well, not-so-good.)  But unlocking the value might be random.

Performance, Salary Value is Secondary

It’s a function of the salary algorithm to some degree too.  Fanduel will create salaries differently than Draftday, for example.  The value is obviously a function of cost.  However, despite the differences between the sites, I don’t think it matters.  The key is finding hitters statistically likely to perform, then constructing lineups around that information with salary as a secondary factor.


You need the data set.  In essence, every box score in history.  Then you need insane mathematical chops.  I mean Ramanujan mathematical chops.  Or at least the ability to program a computer to tap into that kind of data analysis.  But my hypothesis is you find data useful as daily fantasy baseball predictive information.  I also predict it won’t be too long before it’s completely worth it.  These fantasy games are getting huge.  The money at stake is insane.