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.
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.


Comment