How to identify exact times when horse racing starts and when in stops? So I'll get not planned start time but actual start and finish times...
Identify start and stop
Collapse
X
-
Hi Testuse,
As far as I know, there's no call on the API which will give the actual 'off' time (or finish time) of a race. If the win market turns 'in play' on the off of a race (so all UK and Irish racing, and maybe some others), you can monitor successive calls to 'listMarketBook' and get a reasonable idea from that:-
Before the race, 'status' in 'MarketBook' will be 'OPEN' and 'inplay' will be 'FALSE'.
During the race, 'status' will still be 'OPEN' but 'inplay' will be 'TRUE'.
At the 'end' of the race, status will be 'SUSPENDED'
This will give you the off time to within a second or so, but the market will stay open until the winner is announced, so in the case of a tight photo-finish, the status may not change to 'SUSPENDED' for quite a while after the winner crosses the line.
For races where the win market doesn't turn 'in play' (e.g. South Africa), the status goes straight from 'OPEN' to 'SUSPENDED' on the off of the race; I don't think there's any way of even estimating the end of the race through the API.
cheers,
Merlin


Comment