listMarketBook Bug?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Franklin1
    Junior Member
    • Mar 2012
    • 91

    #1

    listMarketBook Bug?

    I'm trying to get some data for a mix of markets in different states and getting strange results.

    listMarketBook documentation states:
    "Please note: Separate requests should be made for OPEN & CLOSED markets. Request that include both OPEN & CLOSED markets will only return those markets that are OPEN."

    Firstly this makes me ask "But what about markets that are INACTIVE or SUSPENDED (the alternative MarketStatuses)?".

    But to push ahead with my issue: If I take some markets:
    1.124211941,1.123716043,1.124065652 (CLOSED, CLOSED, OPEN)

    I get data for 1.124211941, 1.124065652. I should only be receiving for 1.124065652 because that is the only open market. Is this a bug?

    It becomes problematic because although 1.124211941 is listed as CLOSED it prevents you receiving data for any other CLOSED markets you group in the request.

    Hopefully I am either missing the obvious and someone can shed some light, or Betfair can fix the bug.

    Visualiser screenshot attached to illustrate.
    Attached Files
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 679

    #2
    Hi Franklin,

    The documentation is correct, but if you are querying for two or more markets, and one of them closes, the response will contain both open and closed markets for a short period, after which the closed market/s gets evicted from the cache.
    Thereafter, only a valid response for open markets will be sent.

    I'll update the documentation to make this clearer.

    Thanks

    Neil

    Comment

    • Franklin1
      Junior Member
      • Mar 2012
      • 91

      #3
      Hi Neil,
      Thanks for the response and updating docs - that makes sense and agree that caused my issue.
      Cheers,

      Comment

      Working...
      X