Track Topic
: rss

Topic: Changes to selectionId

posts 1–4 of 4
Page 1
?
62 posts

I just re-ran some code I wrote last year to analyse Total Goals markets, and it didn't work.  It looks like Betfair have changed one of the selectionIds.

Last year the seven selections in the Total Goals markets ("1 goals or more" through "7 goals or more") always had selectionIds 285469 through 285475 (regardless of which event it was).  Now (six months later) six of the seven remain the same, but "4 goals or more" seems to have changed completely.  So the new selectionIds are 285469, 285470, 285471, 2795170, 285473, 285474, 285475.

 Hardly a big deal I know, but why on earth would they change one of the seven?  Do they often do this sort of thing?  Do they hate us that much?  Wink

?
27 posts

"Hardly a big deal I know, but why on earth would they change one of the seven? Do they often do this sort of thing? Do they hate us that much? "

I think this comes under Hanlon's Razor: Never attribute to malice that which is adequately explained by incompetence :-).

Having said that, there are a few places in my code where I make assumptions that SelectionIDs won't change, usually accompanied by comments like 'fix this to make it more robust', because I realised it WAS an assumption, but, touch wood, nothing has broken so far..

One thing I do is uniquely identify horses by the SelectionId, in fact I use it as the Primary Key in my Horse table. I did some initial testing a year ago which indicated this didn't change between races or seasons, but nothing in the documentation says this. I shall do some checking tonight to see if any have changed, and report back.

?
27 posts

Can't find any changes in selectionId for horses running in the UK and Ireland after a quick check,(in the past 14 months anyway), but I will cross-check with Sporting Life when I get a chance.
For US races they seem to assign new SelectionIds for each race, but I don't bet on those so it's not a problem. Seems strange that they treat these differently, maybe something to do with where they get the original race entry data from.

?
62 posts

Thanks for looking into that Myrddin.

I've just run a query against my football database to see if each team has a single selectionId.  They all do, except for two teams (USA and Fluminense RJ) that have two different selectionIds (one for the Match Odds market, one for the Asian Handicap market).

Go figure!

posts 1–4 of 4
Page 1

This Topic Is Locked To Guest Posts

It's been a while since this topic was active, if you'd like to get it going again, please post as a registered member

join now