not getting any line markets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajwantsingh08
    Junior Member
    • Mar 2019
    • 3

    #1

    not getting any line markets

    Hello guys,

    I've a problem with the betfair api.
    The listEventTypes call does return an empty result if called with marketBettingTypes "LINE". If called with marketBettingType "ODDS" I get results.
    A few months ago that worked fine with "LINE" also. Any idea why it's not working anymore?

    Thanks
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    Event Types are things like Soccer or Tennis or Volleyball. The marketBettingTypes are for listing which marketBooks you're interested in. I've just posted about the latter a few minutes ago. Might be worth checking it out.

    Comment

    • rajwantsingh08
      Junior Member
      • Mar 2019
      • 3

      #3
      thanks, yes i'm aware of that. the point is that I want to create a tree with the hierarchy: sport -> game -> market type
      so I start to query for sports witch contain "ODDS" and "LINE" markets. Therefore I use the listEventTypes method.

      Comment

      • geoffw123
        Senior Member
        • Mar 2014
        • 250

        #4
        Hi

        That option is still available, and i have proved it is still working OK as of today. You can prove this yourself if you go to the betfair API visualiser page
        https://docs.developer.betfair.com/v...ts-operations/.

        From there you can exercise the listMarketEvents() call with different options.

        There are checkboxes to allow you to select Betting types of either Odds, AH single, AH double, or LINE.

        If i test with just "ODDS" selected i get a gazillion sports returned. If I test with just "LINE" selected I get just 2 responses 42 cricket markets and 1 greyhound market.

        Conclusion is it works, you must have a bug in your code somewhere. You should be able to compare your sent query packet that doesnt work to the visualisers working one to see what is different.

        Geoff

        Comment

        • rajwantsingh08
          Junior Member
          • Mar 2019
          • 3

          #5
          yes you are right. i'm also filtering for market types which are no longer valid for "LINE".
          thanks for your help

          Comment

          Working...
          X