There's a great book by CS professor Steven Skiena about the automated betting system he built (using early 90s-era technology!) to place bets on jai alai.
The Book: https://www3.cs.stonybrook.edu/~skiena/jaialai/
2008 presentation: https://www3.cs.stonybrook.edu/~skiena/tmp/oreilly.pdf
Odd Lots Podcast: https://news.stonybrook.edu/facultystaff/computer-science-pr...