Announcement

Collapse
No announcement yet.

Subscribe to competition

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

  • Subscribe to competition

    Hi,

    I'm trying to subscribe to all markets for a given competition.
    Currently what I do is:
    1) find the competition ID
    2) find all events for the competition ID
    3) Subscribe to markets with the event list from step (2)

    The issue is that I'm pretty sure this list of events gets outdated as time goes on and therefore I'm missing on new events for the same competition due to my previous event IDs filter.

    TLDR; how do I subscribe to ALL present and future events for a given competition?

    I didn't see a way in betfairlightweight (or the Betfair docs) to specify the competition ID as a subscription filter.

    Cheers
    Last edited by recw; 21-01-2022, 08:25 PM.
Working...
X