Announcement

Collapse
No announcement yet.

listMarketCatalogue not filtering based on marketIds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • listMarketCatalogue not filtering based on marketIds

    Hi there,

    I am using listMarketCatalogue to get the runner information for various markets. When I pass the below json parameters to the request:

    {
    "filter":{"marketIds":["1.108801249","1.108801284","1.108801300"]},
    "sort":"FIRST_TO_START",
    "marketProjection":["EVENT","RUNNER_DESCRIPTION"],"maxResults":100
    }

    I get runner description about other marketIDs that are not listed in the filter. However, a filter based on the eventId to which the above marketIds belong to, seems to work fine.

    Is this expected or is there an error in the json params passed ?

  • #2
    That's a known bug. listMarketCatalogue ignores marketId filter.

    listMarketCatalogue is usually used to find markets when no marketId known yet. If you know marketId, then listMarketBook can be used instead.
    Betfair Bots Made Easy
    https://github.com/AlgoTrader/betfair

    Comment


    • #3
      Thank you very much @AlgoTrader!

      Comment

      Working...
      X