How do I limit the number of bets on a selection using Excel

Please post any questions regarding the program here.

Moderator: 2020vision

How do I limit the number of bets on a selection using Excel

Postby rhysw » Tue Jun 30, 2020 1:17 pm

I have a lay strategy that I have managed to get to work somewhat clumsily using VBA in excel and one of the issues I am having with it is I only want one unmatched or matched bet (so a maximum liability) on any one selection. I have tried using booleans to tell if a bet has been placed or not but it doesnt seem to stop multiple bets being piled up on top of each other, exposing my risk in the market to a much higher amount than I am comfortable with. can anyone please help me with this problem?
rhysw
 
Posts: 21
Joined: Tue Jun 30, 2020 12:48 pm

Re: How do I limit the number of bets on a selection using E

Postby MarkRussell » Tue Jun 30, 2020 1:27 pm

Hi,

Are you using the "log current bets" option?
With this option selected from when you start logging to Excel you can keep track of all bets for the current market.
You will need to have sheet in your Workbook named 'MyBets'

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

Re: How do I limit the number of bets on a selection using E

Postby Captain Sensible » Tue Jun 30, 2020 3:45 pm

If you don't want to use booleans etc can you not simply send a marker to the excel sheet each time a bet is placed i.e. Send "Y" to the corresponding cell in column AA and check that's clear before placing any bets. You can then simply clear the column each time you enter a new market to start over.
User avatar
Captain Sensible
 
Posts: 2883
Joined: Sat Nov 19, 2005 2:29 pm

Re: How do I limit the number of bets on a selection using E

Postby rhysw » Thu Jul 02, 2020 6:22 am

I have resolved the issue, there was a bug in another part of the code regarding how the sheet was refreshing.
rhysw
 
Posts: 21
Joined: Tue Jun 30, 2020 12:48 pm


Return to Help

Who is online

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