mapping historical data with selection id to runner

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • florian19952008
    Junior Member
    • Mar 2023
    • 2

    #1

    mapping historical data with selection id to runner

    Hi all, thanks for helping me with this problem. I downloaded the historical data for horse racing from the betfair historical data website but I have a problem mapping the results of the historical data to a runner and a horse ID. The only thing specific to participant I can find is the selection id (which is not unique and the name which says nothing about the horse it is on. Does anyone know how to resolve the problem? Because as I understand it the selection id does not stay the same over its lifetime.
    Last edited by florian19952008; 22-03-2023, 01:13 PM.
  • pwebtech
    Member
    • Apr 2021
    • 49

    #2
    Not sure but, from experience only, I'd say selectionId stays the same? And there's nothing in the API documentation to say otherwise?

    Comment

    • florian19952008
      Junior Member
      • Mar 2023
      • 2

      #3
      Hi thanks for the fast reply. So to put it in a statement: The selection id is a unique combination of the jockey and horse?The selection ID is defined by the horse with runnerID and the jockey by Jockey name, correct?
      Last edited by florian19952008; 22-03-2023, 03:41 PM.

      Comment

      • pwebtech
        Member
        • Apr 2021
        • 49

        #4
        No sorry I was only referring to the horse(runner)'s 'selectionId' in 'MarketBook' that uniquely ID's the horse/selection and seems to stay the same across races. But this does not include a reference to the jockey!

        So actually all I was saying is that: what you see in the historical data under 'runner.id' is the same ID used in the APIs e.g. MarketBook.runners[selectionId] and that it appears to uniquely IDs that horse across races.

        Sorry for confusion!
        Last edited by pwebtech; 23-03-2023, 10:02 AM.

        Comment

        Working...
        X