Using multiple sheets!

Please post any questions regarding the program here.

Moderator: 2020vision

Using multiple sheets!

Postby cjones198 » Tue Nov 10, 2020 11:14 pm

Hi all

i plan on testing more than 1 strategy so i am thinking of running 2 different sheets for the same market,
So ones a lay strategy and the other a back,
But if i run them just using one market sheet, keeping track of them separately is a pain,
my main question is

If i have multiple sheets on the same market, if i enter CLOSEC on 1 market will it hedge taking into consideration the other markets?
cjones198
 
Posts: 104
Joined: Wed Aug 05, 2020 10:02 pm

Re: Using multiple sheets!

Postby Captain Sensible » Wed Nov 11, 2020 3:37 pm

I'd imagine CLOSEC takes account of all bets in the market , the same way that MyBets sheet would display all bets. You'll have to keep track of bets placed and write your own closing routines.

The API does have an option of customerStrategyRef where you can add a string to any bets you place so you can keep track of them but it's not being used by Gruss. Maybe suggest it in the suggestions section.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Using multiple sheets!

Postby cjones198 » Wed Nov 11, 2020 9:39 pm

Yeah thanks Captain, I track the bets in MyBets, then hedge for equal stakes at SP, then Close C code until its closed. It's just I tried to copy my bet when it was placed on to Mybets alongside what Gruss does, but the bet reference is always what was in the cell previous
cjones198
 
Posts: 104
Joined: Wed Aug 05, 2020 10:02 pm

Re: Using multiple sheets!

Postby cjones198 » Wed Nov 11, 2020 9:40 pm

So I'm assuming the code is copy and pasting the cell before it gets placed and matched
cjones198
 
Posts: 104
Joined: Wed Aug 05, 2020 10:02 pm

Re: Using multiple sheets!

Postby Captain Sensible » Wed Nov 11, 2020 10:02 pm

cjones198 wrote:... It's just I tried to copy my bet when it was placed on to Mybets alongside what Gruss does, but the bet reference is always what was in the cell previous


Not sure what you mean by that?

I was basically suggesting you'd have to copy the bet ref from column T when you place them then use the MyBets sheet to track their progress. Your other options are using the COM functions to place and monitor the bets progress.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Using multiple sheets!

Postby cjones198 » Wed Nov 11, 2020 10:27 pm

Whenever I copy bet ref it always copies what was in cell T previous, so for example, if its blank and my first bet is fired in, it copies a blank cell, if it's the 2nd bet it copies the 1st bet ref, etc etc.
The COM function I wouldnt even know where to begin, what is COM
cjones198
 
Posts: 104
Joined: Wed Aug 05, 2020 10:02 pm

Re: Using multiple sheets!

Postby Captain Sensible » Wed Nov 11, 2020 10:36 pm

The bet ref won't get populated until gruss has received the response from Betfair so that would come in the next refresh. You'd have to delay your copy routine at least one refresh.

The com interface just gives you other options to connect and bet via gruss. http://www.gruss-software.co.uk/Betting ... erface.htm
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Using multiple sheets!

Postby cjones198 » Wed Nov 11, 2020 10:40 pm

Thanks Captain! I will just make the code wait for 1 second before it copies, should be a simple soultion
I will star having a read into COM,
cjones198
 
Posts: 104
Joined: Wed Aug 05, 2020 10:02 pm


Return to Help

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.