green up

Please post any questions regarding the program here.

Moderator: 2020vision

green up

Postby dflowe » Sun Dec 02, 2018 8:58 pm

Hi has any progress been made re a special commeand to green up from an excell sheet, rather than the greenup code in the background?
Ta Dave
dflowe
 
Posts: 181
Joined: Sat Dec 31, 2005 11:41 am
Location: Midlands

Re: green up

Postby MarkRussell » Mon Dec 03, 2018 9:49 am

Hi,

There are 2 new triggers in the Beta version which you can download from the following Forum post:-
http://www.gruss-software.co.uk/forum/viewtopic.php?f=9&t=10218

The triggers are:- CLOSE and CLOSEC
CLOSEC cancels any unmatched bets on the selection first.

Both triggers create a level profit for the individual selection they are used against only. They do not take into account bets from other selections to green up/red up the entire market. Therefore if you want to green up the whole market you need to use the triggers on all selections with matched bets.

The bet ref column must contain something for the trigger to work. Usually this would be the last bet ref placed, but if it's empty you can populate it with any text.

The CLOSE bet is placed in a background thread so there could be multiple Excel updates occurring during the process. While it is processing the bet ref column contains "CLOSING" and when completed it contains "CLOSED". If the bet is not matched within one second it is cancelled and a new bet placed calculated at current odds. This also applies to partial matched bets where the unmatched portion is cancelled. This repeats until fully matched.

There is also a new additional column available when you set up the Excel link named "Close Profit/Loss" which displays the amount of profit or loss that can be locked in for that selection.

Regards,
Mark
User avatar
MarkRussell
Site Admin
 
Posts: 1792
Joined: Tue Feb 20, 2007 6:38 pm
Location: Birmingham

Re: green up

Postby Tyrobot » Sat Aug 24, 2024 1:33 pm

MarkRussell wrote:The CLOSE bet is placed in a background thread so there could be multiple Excel updates occurring during the process. While it is processing the bet ref column contains "CLOSING" and when completed it contains "CLOSED". If the bet is not matched within one second it is cancelled and a new bet placed calculated at current odds. This also applies to partial matched bets where the unmatched portion is cancelled. This repeats until fully matched.

Hi Mark (or anybody who wishes to chip in). I'm still very much a learner with automating my bets and looking to reduce the trial and error...

1) When using the CLOSE trigger in-play does BA automatically increase the 1-second 'fill or kill' period to accommodate the various imposed delays (e.g. 3 seconds for tennis)? If not then how does CLOSE handle the in-play delays exactly?

2) I take it that if I wish I can place another bet on the same selection at the very next refresh. Does CLOSE therefore ignore any subsequent bets while it completes the green up process? (Obviously the profit/loss won't be level once any subsequent bets are matched.)

Thanks
User avatar
Tyrobot
 
Posts: 27
Joined: Tue Jul 30, 2024 3:22 pm

Re: green up

Postby GaryRussell » Sun Aug 25, 2024 9:33 am

1) When using the CLOSE trigger in-play does BA automatically increase the 1-second 'fill or kill' period to accommodate the various imposed delays (e.g. 3 seconds for tennis)? If not then how does CLOSE handle the in-play delays exactly?

The fill or kill period is after the bet has been placed which is after the delay so the delay is irrelevant. You cannot send a cancel request to the API without a bet reference and you won't receive it until after the delay.

2) I take it that if I wish I can place another bet on the same selection at the very next refresh. Does CLOSE therefore ignore any subsequent bets while it completes the green up process? (Obviously the profit/loss won't be level once any subsequent bets are matched.)

The bet ref cell will contain CLOSING until completed so no bet will be triggered on the next refresh unless you clear it. I don't recommend clearing it until it contains CLOSED as you can trigger another bet and it can interfere with the closing process.
User avatar
GaryRussell
Site Admin
 
Posts: 9867
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: green up

Postby Tyrobot » Sun Aug 25, 2024 10:25 am

Much appreciated Gary
User avatar
Tyrobot
 
Posts: 27
Joined: Tue Jul 30, 2024 3:22 pm

Re: green up

Postby Tyrobot » Sun Aug 25, 2024 4:20 pm

Apologies guys, one more if you don't mind. I don't suppose that CLOSE supports 'optimised hedging' for two-way markets (to steal the phrase from another vendor - call it what you will)? This is where to hedge a position on selection A you use the odds for selection B where this results in a larger hedged profit (or smaller loss). It's most useful in illiquid markets but I believe it often produces slightly better results regardless, so something that should appeal to other non-racing BA users. If it's not implemented then perhaps it could go in the suggestions box?
User avatar
Tyrobot
 
Posts: 27
Joined: Tue Jul 30, 2024 3:22 pm


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 27 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.