Greening Out More Than Once Question

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

In the normal course of events when greening out we can observe that any unmatched bets are cancelled and a calculated bet is generated to green up but from time to time the green up arrives too late or with too little money availble to match. Its common therefore perform the green up again. Its well known that we have to allow sufficient time for the green up bet to be created and arrive in the market before attempting to green up again.

My question is this - even if sufficient time is allowed, is it possible that if an unmatched bet is matched at precisely the moment BA makes the instruction to cancel the unmatched bet bet ready for greening, that BA will issue a green up bet (which had been calculated on the basis that the bet was unmatched) without first confirming that the cancellation was successful?
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

To be more precise

If a green up is triggered - BA will cancel unmatched bets and issue a calculated closing bet.
If the cancellation fails because an unmatched bet is suddenly matched, will the calculated closing bet still be issued?
User avatar
Dallas
Posts: 23532
Joined: Sun Aug 09, 2015 10:57 pm

Once the greening bet has been sent based on your current position if an existing bet starts getting matched even if its just 0.01 second after the greening bet is sent there is nothing that can be done to change that order accept for sending a new green-up order shortly after which will be calculated based on the then-current position.

The log would usually return something along the lines of 'error cancelling unmatched bet' if a bet is in the process of being matched when any sort of cancel order is issued
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Thanks Dallas, thats as i expected. This does mean that if the timing is unfortunate that can lead to a double out bet - even if it is rare.
User avatar
ShaunWhite
Posts: 10472
Joined: Sat Sep 03, 2016 3:42 am

Jukebox wrote:
Thu Jan 09, 2020 4:19 pm
Thanks Dallas, thats as i expected. This does mean that if the timing is unfortunate that can lead to a double out bet - even if it is rare.
I think that's the case, and it's why you need so many attempts to green; hopefully another being sent after any inadvertant double as well as those that fail to match at all. It might have been easier for BA to simple be told to green and then the internals do as many as necessary to actually level out your position. And I've always wondered why there isn't a greening threshold, if you're with a pound or two then why risk doing more and more greens trying to get it to within a penny. If your final position is a bit out it's irrelevent as they'll even out over time if the race outcomes are close to the final prices (which they are). The same is obvioulsy true too if your position is very unbalanced, but the varience is a bit more uncomfortable.
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

It is what I've observed and have been prepared for especially with high bet frequency files. You've probably guessed I was thinking about the double out trouble on another current thread and the problems encountered by that user. I suspect it was down to this issue initially and then became a bigger problem when it hit the liability setting limit.
Post Reply

Return to “Bet Angel - Automation”