EXPOSURE_OR_AVAILABLE_BALANCE_EXCEEDED

Please post any questions regarding the program here.

Moderator: 2020vision

EXPOSURE_OR_AVAILABLE_BALANCE_EXCEEDED

Postby andak fedal » Sun Aug 07, 2011 4:07 pm

Hi,

Can anyone tell me why I might be recieving this error message on selections that I currently have profit on that if I were to lay as I'm trying to do would only lower my liabilities? :?

Thanks
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby andak fedal » Sun Aug 07, 2011 4:37 pm

I really am confused by this as for a long period of the race it'll say this and then all over a suuden it's matching bets left, right and centre and increasing my liabilities!

Can anyone explain this?
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby GaryRussell » Sun Aug 07, 2011 6:07 pm

You can only get that message if your exposure will be exceeded. It doesn't display this message by mistake. Are you exposing your entire balance? There is a long standing bug at Betfair's end where your balance can go negative by a few pence due to your bets being matched from users with different currencies and the rounding sends your balance negative. It doesn't matter if your are then laying to reduce your liability, you will still get the error. If it's not this then I'm afraid I don't know.

Also if you are trying to back to reduce your exposure and the stake is less than the minimum you can encounter this. For example if your balance is £0.50 and you lay £0.50 at 2.00 leaving a balance of £0. You then try to green up by placing a back bet for £0.45 at 2.2. Due to the way a below minimum bet has to be placed it will fail because it first has to place a back bet for £2 at 1000 giving an exposure of -£1.50.

One way or another your are exceeding the exposure, this is definitely not Betting Assistant causing this problem.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby andak fedal » Sun Aug 07, 2011 6:18 pm

Thanks for your response Gary. I think I can see it's not your software as these errors are directly returned by betfair aren't they but thanks for trying to help me.

I am struggling gettting a max liability working so I'm having a max of £50 in my main wallet at a time. It's very frustrating because say I have £50 in my account and I have -£40 liability on a horse and +£2 on every other horse, it rightly won't let me lay 15 on the horse with the -£40 but it also won't let me lay 4s or 5s on any of the other selections when I beleive it should.

This happens for ages and then later on near te closing stages of the race I get bets matched everywhere and the maximum liability will then go greater than -£40 anyway!

I know I would get more matched if these bets were correctly allowed. As it is it seems I'm only getting the lay bets on the ones odds on or not at all?

Has anyone else, experienced this problem? I guess I'll have to put more money in and try and code a max liability but I'm not that confident in my code yet! :(
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby Captain Sensible » Sun Aug 07, 2011 6:56 pm

andak fedal wrote:


This happens for ages and then later on near te closing stages of the race I get bets matched everywhere and the maximum liability will then go greater than -£40 anyway!

(


When you say bet's matched everywhere, are these existing bets you have in the market? If you have any unmatched bets already in the market their liabilities will also be taken into account, if you have any closing bets unmatched of your exisiting -£40 liability remember they too are taken into account for any exposure.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby andak fedal » Sun Aug 07, 2011 7:07 pm

Thanks Captain but I don't think these are unmathced bets since I'm using the LAY-F1 trigger to fire out my bets and so there shouldn't be too many unmatched bets I don't think?
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby andak fedal » Sun Aug 07, 2011 7:10 pm

Basically my trigger should fire a lot more times and earlier in the race but I get this liability error and then suddenly towards the end it starts matching them again but this mean it lays more bets on the ones that are more likely to win I think.
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby Captain Sensible » Sun Aug 07, 2011 7:13 pm

If you code is laying additional bets on runners with an exisiting matched bet you need to check out whatever liability already exists especially as you mention you're getting exposures over £40 later in the race which you'd only get from laying a runner with an exisiting exposure
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby Captain Sensible » Sun Aug 07, 2011 7:15 pm

andak fedal wrote:Basically my trigger should fire a lot more times and earlier in the race but I get this liability error and then suddenly towards the end it starts matching them again but this mean it lays more bets on the ones that are more likely to win I think.


The more likely reason for having additional bets matched later on is the fact you're having other lays matched on other runners which effectively reduces any exposure you have .

i.e. you lay a runner at 2 for £40 your exposure is £40 later on another runner is matched at 2 for £40 your exposure is now nil allowing you to start laying them again
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby andak fedal » Sun Aug 07, 2011 7:17 pm

I know that's why it doesn't make sense... why would it stop me laying a horse at 5.0 with a liability of -£8 when I am £2 profit on this horse and then later on in the race perceivably lay the horse I have the -£40 liability at 2.0 to make my total liability -£44?

I'm beginning to think there is something dodgy here! :S
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby Captain Sensible » Sun Aug 07, 2011 7:29 pm

andak fedal wrote:I know that's why it doesn't make sense... why would it stop me laying a horse at 5.0 with a liability of -£8 when I am £2 profit on this horse and then later on in the race perceivably lay the horse I have the -£40 liability at 2.0 to make my total liability -£44?

I'm beginning to think there is something dodgy here! :S


Somehow, I think the only dodgy thing going on is your coding.

I've no idea what your code does but remember if you're firing off bets in a block it doesn't treat each bet individually and allow ones that don't exceed thru. If one of those bets exceeds exposure limits they all get rejected

You need to check why you're exceeding your exposure, check out your account My Profile page on the main site and make sure you don't have any silly limits set.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby andak fedal » Sun Aug 07, 2011 9:01 pm

Thanks, I appreciate you taking your time to look into this with me...
My code can indeed be dodgy but I swear there is nothing wrong here that should be stopping it.

You say it treats the bets as blocks though so if I'm triggering constantly and cancelling once every second do you think it could be firing off a whole load of bets all at once rather than just the one and this is why I'm exceeding liability? How could I prove this is the case?
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm

Postby Captain Sensible » Sun Aug 07, 2011 10:31 pm

andak fedal wrote:
You say it treats the bets as blocks though so if I'm triggering constantly and cancelling once every second do you think it could be firing off a whole load of bets all at once rather than just the one and this is why I'm exceeding liability? How could I prove this is the case?


I have no idea as I haven't a clue what your bot does or how it fires bets, but it's obviously exceeding your balance or exposure at times, whether thats because you're firing additional bets before the first are cancelled or firing off bets on runners where you already have an exposure, I've no idea.

But these error messages come from betfair not gruss and I've yet to see anyone have these messages where there isn't a valid reason for them.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby GaryRussell » Mon Aug 08, 2011 6:34 am

Try looking in the transaction log under the account menu in BA. It should show the bets it attempted to place. A tell tale sign they were all made in the same request is they will show the exact same time.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby andak fedal » Tue Aug 09, 2011 3:31 pm

Thanks Gary, I checked this out and it does indeed seem that it’s cancelling all bets on all runners because they are being submitted at exactly the same time. I still would have thought betfair would match the ones on the runners that wouldn’t exceed my balance but I guess not!

I am really struggling as to how to create a maximum liability in excel. You see when I code to stop my profit and loss being lower than -£30 and I’m laying the current favourite throughout the race, all that happens is I get lots of value bets but all up to the -£30 liability so I often see -£30 on the winner even though I have sometimes struck lots of value bets, as I have more lay bets on the winner as it will just keep laying up to my liability each time.

Can anyone suggest a way I can correct this? Would it be best to put a limit on the number of bets per runner maybe? Is this possible?
andak fedal
 
Posts: 105
Joined: Wed Apr 22, 2009 7:39 pm


Return to Help

Who is online

Users browsing this forum: Majestic-12 [Bot] and 58 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.