![]() |
I know they added the time changes for when races are delayed but i can't see why they don't sort the daylight savings changes.
|
I guess the problems have been sorted.
MEADOWS Greyhounds working just fine and dandy. |
I just ran through my bots logs and it worked fine through the whole time you guys were reporting issues. It had all the races at the correct times.
I download the race times every 5 mins though to ensure that I am updated for delayed races. Maybe that is why it worked ok for me. |
I just looked at this more closely. I finally found the issue you guys are talking about.
The Markert Suspend Time Text and Market Start Time Text are showing the wrong time. But if you call getMarketTime it is returning the correct time. It seems just the display text is wrong. |
UB,
when I 1st came across the problem (many moons ago), I tried calling getAllMarkets, Get Market & GetMarketInfo and none of them updated the time if a race time was amended by the stewards during a race meeting (in Aus). My fix was to check BF race times with UniTAB times 5 minutes before race start(as stated by BF) - this worked well Saturday by displaying the difference and amending the the race time. Times being shown earlier on BF is annoying in that if a clock is displayed by the bot, it will just show the race being delayed and will continue to show an hour later (very annoying) - it also upsets any bot that commences betting 5 or so minutes before scheduled start time. In Aus (apart from Saturdays) there is very little money on the bet/lay side until < 5 minutes before the start - the prov/country meets would be affected however if you were betting them yesterday (Toowoomba, Gold Coast & Mudgee until it was abandoned). Those are the concerns IF the time is early as would happen when we go into daylight saving - now reverse that and the times when coming out of daylight saving would be an hour later than the real race starts - real fun & games. I also find it interesting that Betfair update the time in one place and not do any of the more frequently used calls. I have just checked the Sports Exchange HTML for the free Betfair API and can't see any reference to "GetMarketTime" - can you give some more info on this. cheers |
The Elk,
The updating of the times for delayed races has only recently been added to betfair. I think in the last couple of months. I call getAllMarkets. I do this every 5 mins. This gives me a listing of all the markets and it includes the times. I use this to update an array of races and race times. At 20mins before the race I call getMarket(marketId) and then I call market.getMarketTime(). This time matches the time I have 99% of the time. When it doesn't match I recall getAllMarkets and this always updates my array to the correct time. I suggest using the getAllMarkets call to determine the times and to update it often. My code is below. It should be fairly obvious but ask if you have questions. bmMarket is just a wrapper class I have written to hold market information with a few extra attributes. Code:
For some reason this forum has changed the brackets to stars but I think you can work out which are opening and closing brackets. |
Ultimately it comes down to the user, HOWEVER, they stuff this up every time. There is simply no excuse for it. What time does the NRL grand final start?, oh that's right it's on already and not in one hour from now. That was fixed just before kickoff.
|
It's just the AUS exchange I think. The UK exchange had everything listed correctly.
|
All times are GMT +10. The time now is 04:05 PM. |
Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.