Gift Horse - error on winning trade

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

Gift Horse - error on winning trade

Postby Joe68 » Fri Dec 05, 2014 11:13 pm

Please help - any suggestions welcome.

What should have been a winning trade was blocked by an error;

"EXPOSURE_OR_AVAILABLE_BALANCE_EXCEEDED"

when my bot was trying to place Back bets totalling $0.16 on an account of $16.80. Small bananas I know. This is proof of concept work and whether or not this profit were taken affects whether or not the concept is proven.

Answers to probable suggestions;
Yes, absolutely sure on the total the system was trying to back - hard coded.
Yes, absolutely sure on the account total - have a history indicating that that was the total at the time
Yes, absolutely sure that the account total was in the correct wallet
Exposure on previous race was $0

Further details;
The system was running unmonitored without my input
Similar sized back bets successfully placed by system on 14 other races
There was a similar error on the previous race - so error occurred in 2 races out of 16
Exposure on race prior to first error was $0.08
Iterating through the Quick Pick list from Excel - iteration successful on all available evidence
Bets placed from Excel
Bets placed InPlay at jump

Can't figure it out - requested exposure was nowhere near the limit so far as I can see - by design. Suspect a bug somewhere - BA or BF, perhaps associated with new API. Have debugged here and found nowt.
Joe68
 
Posts: 47
Joined: Tue Jan 22, 2013 9:50 pm

Re: Gift Horse - error on winning trade

Postby Dai_Young » Fri Dec 05, 2014 11:32 pm

Assuming that you were trying to back multiple runners -- your exposure would have been much higher than $0.16 because of the way betfair/BA processes bets below minimum stakes.

Not sure exactly what currency you are using but lets say the minimum stake is $2. Suppose you were trying to back 10 runners simultaneously . In order to process that BA would first fire 10 bets of $2. $20 is higher than $16.80 therefore you'd get the error message.
Dai_Young
 
Posts: 203
Joined: Sat Nov 19, 2005 8:52 pm
Location: Jerez

Re: Gift Horse - error on winning trade

Postby Joe68 » Sat Dec 06, 2014 5:41 am

Fantastic. Thanks a bunch. That fits exactly - error arises when too many back bets placed simultaneously with sub-minimum amounts.

>3 bets produced error. As you say, because of the way sub-minimum bets are executed.

Easy to fix - just fund the account some more.
Joe68
 
Posts: 47
Joined: Tue Jan 22, 2013 9:50 pm

Re: Gift Horse - error on winning trade

Postby Joe68 » Sun Dec 07, 2014 12:35 pm

Or change batch size for below minimum stake bets, I see now.
Joe68
 
Posts: 47
Joined: Tue Jan 22, 2013 9:50 pm

Re: Gift Horse - error on winning trade

Postby rourkem » Sun Dec 07, 2014 7:27 pm

I'll opt for changing the batch size. Thanks for posting it too.
Windows 8 | Framework 2.0 Image
User avatar
rourkem
 
Posts: 166
Joined: Tue Oct 28, 2014 3:20 pm


Return to Discussion

Who is online

Users browsing this forum: No registered users and 55 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.