login join

bennean's Blog

Member For: 3 months, 3 weeks
Posts: 12

Andy B, Male, 36
Member of: Diybetfairbots Forum.

Get Market Traded Volume (exchange)

July 31, 2008 by bennean

I might be missing something here, but has anyone else noticed that Get Market Traded Volume returns duplicate 'odds' fields?

An example data dump is shown below, where the odds of 1.74 was repeated. Is this a bug? Can duplicates just simply be ignored? Or have I got the wrong end of the stick?!!!

21113966 (MarketId), 3228396 (SelectionId), 1.68, 1.69, 1.7, 1.71, 1.72, 1.73, 1.74, 1.74, 1.75, 1.76, 1.77, 1.78, 1.79, 1.8, 1.81, 1.82, 1.83, 1.84, 1.85, 1.86, 1.87, 1.88, 1.89, 1.9, 1.91, 1.92, 1.93, 1.94, 1.95, 1.96, 1.97, 1.98, 1.99, 2, 2.02, 2.03, 2.04, 2.05, 2.06, 2.08, 2.1, 2.12, 2.14, 2.15, 2.16, 2.17, 2.18, 2.19, 2.2, 2.21, 2.22, 2.23, 2.24, 2.26, 2.28, 2.3, 2.32, 2.34, 2.35, 2.36, 2.38, 2.4, 2.42, 2.44, 2.46, 2.48, 2.5, 2.52, 2.54, 2.56, 2.58, 2.6, 2.62, 2.64, 2.66, 2.68, 2.7, 2.72, 2.74, 2.76, 2.78, 2.8, 2.82, 2.84, 2.86, 2.9, 2.92, 2.98, 3, 3.1, 3.15, NaN

Re: New Cross-Matching Logic on Betfair

July 14, 2008 by bennean

Oops, JPL didn't see your previous post, I guess that's the answer!

Re: New Cross-Matching Logic on Betfair

July 14, 2008 by bennean

JPL, Captain Sensible,

I know this is going to be a stupid question (!) but I don't understand why this is bad for botters; if you get a better price, surely that's a good thing?

Please forgive my naivety!

Andy

Re: In Play Ststus

June 20, 2008 by bennean

This scenario happened to me yesterday; it looked like the delay went > 0 and the status went to SUSPENDED. This fooled my bot into thinking the race was over, rather than just starting! I had assumed the sequence was:

1. delay 0, status ACTIVE : before race
2. delay 0, status SUSPENDED : start of race
3. delay 1, status ACTIVE : in running
4. delay 1, status SUSPENDED : end of race

...but it doesn't seem to happen like this all the time. I may have this all wrong though!

I thought I might try keeping a count of how many statuses I get back e.g. if I get more than, say 5 consecutive statuses (when delay > 0) it would mean I can trust whether I'm in running or race finished...This feels safer than sleeping to me...

Thoughts anyone?!

Re: Exposure calculation

June 17, 2008 by bennean

Yeah, I guess I could scrape it, but I was really after the exposure for just the market I'm currently 'looking' at. I assume the scrape call will return the exposure for all markets that I have bets on ie. for markets that haven't settled, yet even though I'm looking at the next race...if that makes sense?!

Re: Exposure calculation

June 13, 2008 by bennean

Thanks guys, an excellent example of why I love this forum!

BTW PeteB, I understand your code but I haven't come across the idea of a "price ladder" before. What's the idea behind it? I keep track of bets using a List<MUBet>, does using a ladder make anything easier? Is there some golden botting nugget of goodness about to be revealed?!

Exposure calculation

June 11, 2008 by bennean

Anyone out there got a nice routine to calculate exposures (given a list of bets e.g. MUBets)? I've just tried writing one and make a pig's ear of it - can't see the wood for the trees at the moment. There has to a more elegant way!

I trying to create the same calc that the GetAccountFunds API call uses...

Re: Platform / hosting / connectivity choices

June 4, 2008 by bennean

S'funny you should be talking about this. I run everything on my home PC i.e. I don't use a hosted service. Never had any problems with reliability - apart from this evening. I left my bot running while I went to mow the lawn (it was like a meadow out there!). Because of all the rain yesterday, my (electric) mower got snarled up with wet grass and shorted my house out - whilst my bot had some exposure to recover...D'oh!

Luckily I was just testing with small stakes, so I only lost £10, but it's made me think about a hosted service! (Or a petrol mower...)

Re: Anyone else been stung by data charges yet?

May 29, 2008 by bennean

Just checked my account; they haven't taken the money so looks like they've waived it...what fine chaps they are!

Just shows you how much trouble you could get in, with a reckless bot going rampant,

Re: Anyone else been stung by data charges yet?

May 28, 2008 by bennean

Good question. It sounds like they might. I guess we'll see tomorrow!

Anyone else been stung by data charges yet?

May 28, 2008 by bennean

Just had my first data charges, it was down to a a bit of bot testing yesterday. Must have accidentally called GMPC too many times. Swines! OK, so it's only £1.11, but it's the principle...

So, a word of warning - be careful when testing!

"You incurred a charge in relation to usage on 27th of May of £1.11. We have not debited your account today. We want you to avoid being charged in future." (Yeah right!)

Re: This aint gonna work is it?

May 14, 2008 by bennean

Hi folks,

It's great to see another bot forum up and running. I was missing Fred's forum, I think I had withdrawal symptoms!

Andy

PS. my bot got stung tonight, with BF's technical issues. Not impressed! Waiting to see if my stakes are refunded.

Login to an existing account

Welcome back!
Want to register? click here

Create an account

in only 3 steps!
already registered?