Hi there -
I'm messing around with a simple bot that compares odds between bookmakers and betfair LAY and BACK available prices. Becuase I'm mixing data from two seperate API's, my bot falls apart if there's any delays (for example, the rain delay and subsequent abandoning of the Manikato on Friday night here in Melbourne).
As best I can tell, the only consistent (and it is proving INconsistent!!) way of connecting these two datasets is via the race start time.
What would be perfect, would be a way on the Betfair API to identify the position on the card of a race for a particular meeting. So that this way - no matter what time it runs, or gets rescheduled to, we can know that we are looking for (example) the 6th Race at Moonee Valley - not the race that might start at 21:15!
Any tips?
One approach I've tried is to map the entire card first and then rank each race by start time, but the problem is that the listMarketCatalogue function only returns OPEN and future races - not prior closed ones. Also - the listMarketBook function works on a race-by-race proposition and I can't discover the marketId once the race has been run.
Thanks for any suggestions!
Cheers,
Sam
I'm messing around with a simple bot that compares odds between bookmakers and betfair LAY and BACK available prices. Becuase I'm mixing data from two seperate API's, my bot falls apart if there's any delays (for example, the rain delay and subsequent abandoning of the Manikato on Friday night here in Melbourne).
As best I can tell, the only consistent (and it is proving INconsistent!!) way of connecting these two datasets is via the race start time.
What would be perfect, would be a way on the Betfair API to identify the position on the card of a race for a particular meeting. So that this way - no matter what time it runs, or gets rescheduled to, we can know that we are looking for (example) the 6th Race at Moonee Valley - not the race that might start at 21:15!
Any tips?
One approach I've tried is to map the entire card first and then rank each race by start time, but the problem is that the listMarketCatalogue function only returns OPEN and future races - not prior closed ones. Also - the listMarketBook function works on a race-by-race proposition and I can't discover the marketId once the race has been run.
Thanks for any suggestions!
Cheers,
Sam


Comment