listMarketCatalogue and closed markets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Magoo
    Junior Member
    • Jan 2011
    • 86

    #1

    listMarketCatalogue and closed markets

    The new API features more information about settled markets - like showing which runners were winners and losers. But if you haven't already loaded a market which then settles, I can't see a way of using this data.

    To 'view' a market, I'm currently calling listMarketCatalogue to get the names of the runners, then refreshing the odds with listMarketBook. This works as expected, and when the market settles, the runners get their status labelled with WINNER or LOSER.

    But say you want to go back to the market later on. When I call listMarketCatalogue again (with a filter to request just the required marketId), it returns a blank. So I can't figure out how to get the runner names in order to display the settled market.

    It must be possible, since the website manages it just fine. How do you retrieve the runner names for a closed market, please?
Working...
X