Bets not getting placed at aussie horse market

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

Moderator: 2020vision

Bets not getting placed at aussie horse market

Postby Timstertoo » Thu May 27, 2010 10:52 am

I have a bot that places a back bet and when that back bet is filled it instantly places a lay bet.

With the US horse markets it works fine. Both back and lay bets get fired in as they should.

With the Aussie markets the back bets get fired in fine but once they get matched the sheet does fire in a lay bet but it doesn't show up on Gruss.

Now my theory is that it's got something to do with maybe a short delay with the aussie server and that because it gets fired instantly when the back bet is filled it might just disappear. But of course I could very well be wrong!

Anyone else have this problem? Any solutions?

Thanks in advance for any reply!
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby GaryRussell » Thu May 27, 2010 11:11 am

When you say the lay bet is fired, do you mean that the trigger column is populated with the lay trigger but BA is ignoring it? How are you triggering the lay bet? With a formula or code?
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby eclipse » Thu May 27, 2010 11:22 am

I use the Aussie markets too and use tick offsets to fire my back and lays which work fine, although there is definitely a larger delay on the aussie markets compared to UK markets.
User avatar
eclipse
 
Posts: 226
Joined: Mon Apr 16, 2007 10:54 am
Location: S. E. England

Postby Timstertoo » Thu May 27, 2010 11:35 am

GaryRussell wrote:When you say the lay bet is fired, do you mean that the trigger column is populated with the lay trigger but BA is ignoring it? How are you triggering the lay bet? With a formula or code?


Yes exactly, trigger column is populated but nothing in BA. I'm triggering the lay bet with a formula.
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby GaryRussell » Thu May 27, 2010 11:42 am

Is the bet ref column definitely clear at the time? Could you post your formula on here so we can have a look?
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Timstertoo » Thu May 27, 2010 11:56 am

I'm not sure if the bet ref is clear when it goes in. I'll have to look again tomorrow morning. Thing with the aussie races is that I'm sleeping when the bots working :) But I will check.

The only thing I can say is that this definitely works with the US horses.

Also anyone looking at this formula, the update only works with below min bets otherwise it updates itself. So if you plan on borrowing it, beware!


=IF(AND(AC14=0;AB14>tick_gap;H14>minOdds);"BACK";IF(R14=1000;"BACK";IF(AND(AC14="U";H14>minOdds;AB14>tick_gap;AD14<>R14);"UPDATE";IF(AND(AB14<tick_gap;AC14="U");"CANCEL-ALL-BACK";IF(AND(AC14<>"F";W14<>0);"CANCEL-ALL-BACK";IF(AC14="F";"LAY";IF(AND(AC14="F";V14>R14;AD14<>R14);"UPDATE";"")))))))
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby Timstertoo » Fri May 28, 2010 8:18 am

Is there an easy way I can let that lay bet wait for one or two seconds before firing in? I think that might solve it.
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby Timstertoo » Fri May 28, 2010 11:07 am

Maybe not necessary but I don't want anyone to lose his bankroll.

Please realise this is just a bot I'm testing out some aspects with that I will use in other bots. It's not a winning one, it's not even working right yet.

It's very crude and almost every bit it does it needs to do better.

Also a lot of things are taken care off in other formula's on for instance the stake and the odds.

You've been warned! :)
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby GaryRussell » Fri May 28, 2010 11:58 am

It's difficult to diagnose the problem without seeing the formula in the context of your worksheet, but I can see you are using CANCEL-ALL-BACK which clears the bet ref column after it is fired. I assume you are using AC14 to determine the matched status. I can only see CANCEL-ALL-BACK being triggered when AC14<>"F" therefore I cannot see anything that will clear the bet ref before LAY is fired. I think you need to work the CLEAR trigger into your formula so that it is triggered before LAY.

Is there an easy way I can let that lay bet wait for one or two seconds before firing in? I think that might solve it.

I would call that a "fudge" and would never recommend this as a solution. If it did solve the problem there will come a time when it will fail because the delay wasn't long enough.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Timstertoo » Fri May 28, 2010 1:18 pm

GaryRussell wrote:It's difficult to diagnose the problem without seeing the formula in the context of your worksheet, but I can see you are using CANCEL-ALL-BACK which clears the bet ref column after it is fired. I assume you are using AC14 to determine the matched status. I can only see CANCEL-ALL-BACK being triggered when AC14<>"F" therefore I cannot see anything that will clear the bet ref before LAY is fired. I think you need to work the CLEAR trigger into your formula so that it is triggered before LAY.

Is there an easy way I can let that lay bet wait for one or two seconds before firing in? I think that might solve it.

I would call that a "fudge" and would never recommend this as a solution. If it did solve the problem there will come a time when it will fail because the delay wasn't long enough.


Thanks Gary! Will try this and see if it works.

But seeing as this part of the bot is already working like it should with US markets, it might solve it but is not the reason it's not working if you catch my drift.

I'm happy though if it works! 8)
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby Timstertoo » Sun May 30, 2010 6:31 pm

GaryRussell wrote:It's difficult to diagnose the problem without seeing the formula in the context of your worksheet, but I can see you are using CANCEL-ALL-BACK which clears the bet ref column after it is fired. I assume you are using AC14 to determine the matched status. I can only see CANCEL-ALL-BACK being triggered when AC14<>"F" therefore I cannot see anything that will clear the bet ref before LAY is fired. I think you need to work the CLEAR trigger into your formula so that it is triggered before LAY.

Is there an easy way I can let that lay bet wait for one or two seconds before firing in? I think that might solve it.

I would call that a "fudge" and would never recommend this as a solution. If it did solve the problem there will come a time when it will fail because the delay wasn't long enough.


I just realised that he doesn't fire in the "CANCELL-ALL-BACK" either with the aussie horses.

I'm looking at US horse where a partially matched back bet went through, remainder got cancelled and then the laybet fired in and when I was looking at Aussie yesterday a partially filled bet would remain.

I still think it's got something to do with events following each other to quickly so the last action gets lost. So in one case there a partial match and the "CANCEL-ALL-BACK" is to quick after it for the aussie server to register nad in the event of a complete bet being filled it can't handle the "LAY" so soon after it.

Anyway I can just hold that for a second or two?
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam

Postby Timstertoo » Sun May 30, 2010 9:10 pm

Wait!

I might have sussed it and of course it would mean Gary was right so groveling will follow once I´m sure. :oops:

More tomorrow as I need to wait for the Aussie racing to be sure :P
User avatar
Timstertoo
 
Posts: 26
Joined: Tue Mar 16, 2010 5:54 pm
Location: Amsterdam


Return to Discussion

Who is online

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