AFL historical bet info

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hellaeon
    Junior Member
    • Mar 2016
    • 5

    #1

    AFL historical bet info

    Hi all,

    I have come to notice that after the start of an AFL match, the odds are sometimes still exisiting as such the last recorded odds I have for some matches is incorrect to what it was before the game started.

    I have had a quick look but can anyone point me in a specific direction as to how I can get all markets for a given market_id at a certain time? (eg I want to get all markets for a game last weekend, 5 minutes before it started).

    I guess...can it be done, or have I lost access to that data now?
    I still have all market id's, just some prices are incorrect to what I know they should be (0, 50.00 etc)

    Cheers
  • jabe
    Senior Member
    • Dec 2014
    • 698

    #2
    Assuming the AFL = Australian Football League, I wouldn't be surprised if some or all of the games can be bet on in play. That would mean the pre-start odds are gone. I don't know how long the final odds stay in the marketBook data.

    Betfair does publish files containing odds for events, but they may not be out soon enough nor provide the data you want.

    The structure for data is that an event (perhaps a horse race or a football match) has several markets, each of which has a market id. So you want all market ids for a chosen event.

    If you have the Event Id, you can use it in a listMarketCatalogue call to get all the markets & marketIds for that event.
    http://docs.developer.betfair.com/di...arketCatalogue

    There is an example of such a call in the Example Requests in the documentation: http://docs.developer.betfair.com/di...ample+Requests

    Comment

    Working...
    X