Closing out bets before the Off

Please post any questions regarding the program here.

Moderator: 2020vision

Closing out bets before the Off

Postby johnnic » Thu Jun 24, 2010 3:10 pm

As I understand it, given that I operate Betfair from an Australian account, I am unable to apply a stop loss to any bet that I trigger from Excel should that stop be triggered in play. It will not be placed.

That being the case, I see no alternative other than to close all my positions prior to the off.

Is this possible in the Excel interface? Can I write an instruction which says that any bets that remain open, say, five minutes before the off are to be closed out at the current back or lay price?

John
johnnic
 
Posts: 68
Joined: Fri Apr 02, 2010 9:31 am

Postby GaryRussell » Thu Jun 24, 2010 3:38 pm

There are no specific functions in BA to do this, but you should be able to achieve this with a bit of effort. I have provided an example spreadsheet that performs the green up calculations. See http://www.gruss-software.co.uk/forum/v ... php?t=4659

See http://www.gruss-software.co.uk/forum/v ... php?t=4886 for an example of calculating seconds before off. See cell S1.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby johnnic » Thu Jun 24, 2010 4:38 pm

Thanks Gary, I could see how this could work.

What I don't understand is, where on the spreadsheet are the formulas held that determine the Green Up Bet (column Y), the Stake (column Z), etc?

John
johnnic
 
Posts: 68
Joined: Fri Apr 02, 2010 9:31 am

Postby GaryRussell » Thu Jun 24, 2010 4:41 pm

It's my old favourite: VBA code. Press alt-f11 to display the code editor. The code is in sheet1 and module1.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Help

Who is online

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