-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create function to calculate CLV for spreads and totals #8
Comments
I love your thinking here! I have a list of ideas and calculating CLV for spread and total bets was definitely on the TODO list. I like how you structured a possible solution. I've talked to quite a few bettors and there are some slight differences of opinions on CLV calculations but my ultimate goal is to automate the majority of the manual work that you and most everyone else goes though when trying to track CLV. I think this is a very doable function to add to the package and I will try to add in a little flexibility to account for the differences I've seen for accounting for the worth of points for spread and total CLV. Now that football season is dying down, I'm hoping to have more free time to dedicate to this package. I hope you're enjoying it so far and please continue to suggest new ideas because I'm open to anything. Thanks! |
Love it. Thanks! If I can help you, let me know. |
Awesome idea! Such a hassle to do this calc by hand, especially for spreads and totals. @papagorgio23 have you been able to come up with something for this? |
Thanks for pinging this thread, @Cwadmail. Now that NCAAB is almost here, I'll be doing this manually again. @papagorgio23, you alluded to CLV being calculated differently by folks. Is the way I describe standard or the exception? I'd be willing to take a pass on this function but I'd want direction on how to calculate CLV, especially if the way I calculate it in the example isn't standard. |
I'm sorry I still haven't gotten around to this...Life has been nonstop for the last year+... But @aqsmith08 you are more than welcome to try it out! Your solution is solid and pretty standard (I've seen slight variations but this is more common). I know getting this into the package would be way helpful. Create a branch and add it in. If you need help with anything just ping me. |
I see that you have a
clv_calc
function which calculates closing line value for a moneyline bet. Would it be possible to create a function to calculate clv for spreads and totals?Example
Let's use the Pacific vs. Loyola Marymount Men's College Basketball game on Jan 16, 2021 as an example. My bet was Pacific -1 (-108). My current process to calculate CLV manually is this (and boy is it slow/painful):
NCAAB
, the Bet Type isSpread
and the Odds Type isUS
. Then, I enter1.5
into Spread,-118
into Fave Price and+101
into Dog Price using the SBR Half Point Calculator.-128
and enter it into my spreadsheet for the Closing Line Odds.(55.9% - 51.9%) / 51.9%
which returns 7.8% CLV.Possible Solution
This feels like a great opportunity for someone to calculate push probabilities and have this be incorporated into the package. I found this article helpful. If we have the push probabilities already calculated, then we could have a function like:
When this function is called, it would return the CLV. In the example provided above, it'd return
7.8%
(assuming my math is correct).The text was updated successfully, but these errors were encountered: