Forums

General Betting

There is currently 1 person viewing this thread.
Contrarian
14 Dec 11 20:05
Joined:
Date Joined: 19 May 03
| Topic/replies: 1,028 | Blogger: Contrarian's blog
I've just started to see delayed data being returned by some API calls.

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
sort by:
Show
per page
Replies: 35
By:
rivered
When: 14 Dec 11 20:08
Same here, this is happening far too often.
By:
TheVis
When: 14 Dec 11 20:11
Yep same as was happening on Sat for me.  Too often indeed.
By:
modk
When: 14 Dec 11 20:13
One of the cache is not being updated
By:
Contrarian
When: 14 Dec 11 20:21
This is dire. Much worse than Saturday.
By:
FINE AS FROG HAIR
When: 14 Dec 11 20:26
This is when us manual dinosaurs sit back and read with glee.
No not really Contrarian.
But it must give you botters some sleepless nights worrying about these sorts of problems I would presume.
By:
modk
When: 14 Dec 11 20:29
Its causing some chaos on certain Soccer markets. Bots reacting to old data.
By:
henok
When: 14 Dec 11 20:30
i thought it was my pc  Cool
By:
Trevh
When: 14 Dec 11 20:33
Bets flashing all over the place.

Frog, you don't have to be a botter to use the API, it's a much more easy and efficient way of manual betting.
By:
FINE AS FROG HAIR
When: 14 Dec 11 20:34
Opportunitie to profit abounding then ?
For those with quick fingers and nimble minds.
Too late in the day for me though alas. Slowing down time for me.
By:
modk
When: 14 Dec 11 20:35
Fleece the sharks
By:
FINE AS FROG HAIR
When: 14 Dec 11 20:37
Yeah I know trevh.
But it was primarily established for botters who like to trade automatically ? . Was it I don't know ?
But I agree high volume manual bettors, particularly in play, presumably also make necessary and valuable use of the API.
By:
FINE AS FROG HAIR
When: 14 Dec 11 20:44
Did it in fact migrate over to sports betting from x-games in the first place ?
I mean how would have the original non BF mkt. makers on Xgames proceeded with an API ?
Impossible I would say, with a new game every couple of minutes.
By:
Fred!
When: 15 Dec 11 13:46
Persistent intermittent issue for days now. Maybe it's just one dicky server in the farm or a network issue but I keep getting slow responses, around 1 in 20 requests take 100ms or more longer than expected.
By:
bf_fananatic
When: 15 Dec 11 18:40
Perhaps the lesson here for all auto-bot users is make sure your software has good error trapping and can litigate correctly all possible retun calls to get better position outcomes.

There are a number of apps that can fall over when bet-placing when not fore-filling the bet objective through implicit procedure structure in relation to retuned information.
By:
FINE AS FROG HAIR
When: 15 Dec 11 20:41
"--- fore-filling "
Wtf is that ?
By:
FINE AS FROG HAIR
When: 15 Dec 11 20:59
And also I don't like the sound of " retuned information ".
By:
DivideByZeroError
When: 16 Dec 11 13:44
BFF - if anyone knew what you were on about you'd be dangerous.

I just received a reply from Betfair to confirm that the lousy data on Saturday 10th was due to a "single server failures" and of course they are "working to ensure any such future failures are identified and rectified as quickly as possible so that they have minimal impact".

Apart from the "implicit procedure structure" approach of BFF, does anyone have any ways to catch a server problem? I haven't seen any updates on http://service.betfair.info/.
By:
Fred!
When: 16 Dec 11 14:02
Simple way is to keep track of total matched volume, if it goes down and a non-runner hasn't just been declared then you are probably looking at old data from a wonky server.
By:
bf_fananatic
When: 16 Dec 11 18:06
If you program the API yourself you can easily tell the returned data is incorrect if it does not comply to what you expect to get,then you take appropriate action to normalize your betting activities,
trying to do this via a third party app on the fly would cause many problems, the good news is that
server problems are rare but to assume servers done ever go wrong would be bad planning.
By:
Contrarian
When: 16 Dec 11 18:42
Fred,

That will work for GetMarketPrices, but what about the other calls. I can't see that there is a simple way of distinguishing an outdated call from, say, GetMUBets. The only way, I think, of doing this is to have the program retain data over a period of time, so that it can know, for instance, that a bet that was previously recorded as matched is no longer showing in the return from GetMUBets, and therefore the data must be outdated.
By:
bf_fananatic
When: 16 Dec 11 18:48
a lot can stray out of range when engaging in SOAP operations as you are ultimately relying on a second party to function the data beyond your control.
By:
bf_fananatic
When: 16 Dec 11 18:50
am not knocking betfairs API as its servers are some of the best and busiest on the planet.
By:
Contrarian
When: 16 Dec 11 18:57
BFF,

Do you have any concrete suggestions for failsafe ways of detecting outdated returned data?
By:
bf_fananatic
When: 16 Dec 11 19:03
My comments are only from a programmers knowledgs, not up to that stage yet in my programming of the api and your comments about sometimes not knowing if the return call is outdate4d has been notedHappy
By:
bf_fananatic
When: 16 Dec 11 19:05
a logical observation though of the problem is how do users know that the returned call is out-dated as if a human can tell this, then a computer would be able to do the same if programmed.
By:
bf_fananatic
When: 16 Dec 11 19:06
after all a spade is a spade.
By:
Contrarian
When: 16 Dec 11 19:15
Well, as I said before, it is quite easy to set up the program to distinguish outdated calls if one provides it with a memory of previously returned data. And that is obviously how we, as human observers, can see immediately that old data is being returned. The point is, though, that this is a pain. For lots of applications, you don't ordinarily want/need to be collecting the data as the program receives it. You just act on it and then move on.
By:
frog2
When: 16 Dec 11 20:56
Lots of extra checks and balances on code have had to be added these week for API progs. Mine have been failing all over the place. Website been running like clockwork though.
By:
Bridgeboy
When: 16 Dec 11 20:59
On the phone to them now, my acc showing 0.00. . . .
By:
DivideByZeroError
When: 17 Dec 11 02:09
Good tip from Fred!, thanks.

I think I would have to add a call to GetMarketTradedVolume to the cycle and look out for a decrease (not accompanied by a non-runner being declared). Contrarian, that would also work for you if you spot a problem with the traded volume you can guess that your GetMUBets data is unreliable. Tracking a change in the matched bets is tricky because something could become void or settled.

Maybe Betfair will decide to refund commission on markets where their servers send inaccurate information?
By:
Fred!
When: 17 Dec 11 02:12
Personally I just mainly count errors when I place bets, if I receive too many ominous responses such as UNKNOWN_ERROR, INTERNAL_ERROR, or BET_IN_PROGRESS it's time to stop. I don't actually bet enough on each individual bet to be too concerned about having to know my exact position.
By:
DivideByZeroError
When: 17 Dec 11 02:19
That's a conservative approach, trouble for me is that I generally leave the bot running during the day or overnight and so don't want a five minute server wobble to mean an early bath. And my margins are pretty tight so I do care about whether I got matched or not.
By:
Fred!
When: 17 Dec 11 02:30
It's awkward. You take an early bath or expose yourself to risk. Another option if you see a wobble is to take a 5 minute nap. If you've taken 6 naps in the last half hour then it's time for bed!
By:
Feck N. Eejit
When: 17 Dec 11 11:34
Never have so few required so much to supply so little while fleecing so many. An ugly superfluous monster  created by city half-wits.
By:
bf_fananatic
When: 17 Dec 11 17:25
I suppose in trading terms a wonky server can be as problematic as a wonkey donkey in the backing
leagues.
sort by:
Show
per page

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
‹ back to topics
www.betfair.com