Good question. There isn't an easy way. The duration of most events is known with a moderate degree of accuracy, and some odds drop towards 1.01 as the event goes on. Not always the same odds though. If one runner has a large lead over the other runner(s), the odds might reach 1.01 some time before the end.
Sometimes things go wrong. A football match might be delayed for a variety of reason. A nasty injury, a pitch invasion, a riot(!)... your program would need to deal with these. The status should show up as Suspended for an unusually long time.
Perhaps if you watch how odds change during an event, it might help you. You could use software that records your PC screen.
Good question. There isn't an easy way. The duration of most events is known with a moderate degree of accuracy, and some odds drop towards 1.01 as the event goes on. Not always the same odds though. If one runner has a large lead over the other runner(s), the odds might reach 1.01 some time before the end.
Sometimes things go wrong. A football match might be delayed for a variety of reason. A nasty injury, a pitch invasion, a riot(!)... your program would need to deal with these. The status should show up as Suspended for an unusually long time.
Perhaps if you watch how odds change during an event, it might help you. You could use software that records your PC screen.
hummm does not seem to be a safe way ... I try to imagine how the tradeline, geekstoy and others show an event progress bar ....
hummm does not seem to be a safe way ... I try to imagine how the tradeline, geekstoy and others show an event progress bar ....
It's difficult. There are standard times for horse races, but it's not a guarantee of duration. Football matches last 45 minutes each half with extra minutes added, but there isn't a way to get a program to know how long extra, unless you can get it from some external website, and even then there's no guarantee that there'll be no additional delays. Plus there's a delay in in-play betting. You can have a rough idea of when an event will finish, but if you want it to the nearest second, you might be out of luck.
Comment