Requests

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

Requests

Postby osknows » Wed Jun 23, 2010 8:53 pm

I have a few weeks off in July and (sadly :) ) planned to get my C# skills into a bit more shape as I'm a little rusty. What would be really useful for me is if I had a specific project to work on....

Therfore, this is a request for such a project. If you can let me know on this thread a single useful tool/app I'll see what I can do.

All the best
Os
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby xraymitch » Tue Jun 29, 2010 7:49 am

Hi,

I have always rated your coding examples highly so am not surprised to hear you are C# programer too. 8)

I would like a clock that shows the time elapsed since the start of an event. It is something that Gary considered doing a year or so ago but has fallen by the wayside.

Many thanks,

Ray
xraymitch
 
Posts: 410
Joined: Wed Jun 25, 2008 7:06 am
Location: UK

Postby xraymitch » Fri Jul 16, 2010 7:55 am

Hi Os,

Not much activity here I see.

I guess my suggestion doesn't press the right buttons for you then !!

Ray 8)
xraymitch
 
Posts: 410
Joined: Wed Jun 25, 2008 7:06 am
Location: UK

Postby xraymitch » Fri Jul 16, 2010 8:35 pm

Okay, how about a simple one (I suspect for you).

I have spent over 100 hours on this and still can't get it right.

I can write VBA code but I am still very much a beginner.

I have reached the point where I am now depressed that everything I have tried has failed and have now finally this evening admitted defeat.

Rather than give you numerous examples of my code let me express in a nutshell what I want to do.

When certain conditions are met (don't worry about the conditions) a LAY bet is placed.

So far no problem.

Now that the lay bet is placed, at some point if condition are met (again don't worry about the conditions) I will want to make a Back bet but before I can do that I have to clear the bet reference.

Problem:

I can never CLEAR the bet reference so that I can have the BACK bet placed.

Example of what I want to achieve:

I Lay at 4 and the back odds are now higher than 4. So I want to place a BACK bet (don't worry about the stake amounts).

If you have the time please point me in the right direction as I have given up with everything I've tried :!:

Thanks for any help you can offer.

Ray 8)
xraymitch
 
Posts: 410
Joined: Wed Jun 25, 2008 7:06 am
Location: UK

Postby xraymitch » Sat Jul 17, 2010 8:24 am

Will try modifying my code so that it uses the additional column Y - offset betting references.

I can only assume my logic is wrong somewhere in my current code. Yet I have set up breakpoints in VBA and tested while not connected to BA and all works.

I also have Macros that have worked for months on end then suddenly stop working. Is it possible that they can become corrupt within Excel ?

Have you decided on your holiday project yet ?

Ray 8)
xraymitch
 
Posts: 410
Joined: Wed Jun 25, 2008 7:06 am
Location: UK

Postby xraymitch » Sat Jul 17, 2010 10:03 am

yes that works for me but is not flexible enough. At least I have a starting point now.

Should have said earlier column Y offset bet matched flag.

Ray 8)
xraymitch
 
Posts: 410
Joined: Wed Jun 25, 2008 7:06 am
Location: UK

Postby Steve Voltage » Sat Jul 17, 2010 10:13 am

xraymitch wrote:Okay, how about a simple one (I suspect for you).

I have spent over 100 hours on this and still can't get it right.

I can write VBA code but I am still very much a beginner.

I have reached the point where I am now depressed that everything I have tried has failed and have now finally this evening admitted defeat.

Rather than give you numerous examples of my code let me express in a nutshell what I want to do.

When certain conditions are met (don't worry about the conditions) a LAY bet is placed.

So far no problem.

Now that the lay bet is placed, at some point if condition are met (again don't worry about the conditions) I will want to make a Back bet but before I can do that I have to clear the bet reference.

Problem:

I can never CLEAR the bet reference so that I can have the BACK bet placed.

Example of what I want to achieve:

I Lay at 4 and the back odds are now higher than 4. So I want to place a BACK bet (don't worry about the stake amounts).

If you have the time please point me in the right direction as I have given up with everything I've tried :!:

Thanks for any help you can offer.

Ray 8)


Why not use two separate sheets? one for lay and one for back?
Steve Voltage
 

Postby xraymitch » Sat Jul 17, 2010 10:49 am

Thanks for that Arnold - I will check it out.

Ray 8)
xraymitch
 
Posts: 410
Joined: Wed Jun 25, 2008 7:06 am
Location: UK

Postby osknows » Mon Jul 19, 2010 7:43 pm

xraymitch wrote:Hi Os,

Not much activity here I see.

I guess my suggestion doesn't press the right buttons for you then !!

Ray 8)


Sorry Ray, was not ignoring this. I've just been much more busy than expected and to top it all have had both a hard drive fail and my router blow up in the same week. Thankfully all is sorted now so will take a look at your suggestion.

Os
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby danjuma » Tue Jul 20, 2010 10:47 pm

Now that the lay bet is placed, at some point if condition are met (again don't worry about the conditions) I will want to make a Back bet but before I can do that I have to clear the bet reference.

Problem:

I can never CLEAR the bet reference so that I can have the BACK bet placed.

Example of what I want to achieve:

I Lay at 4 and the back odds are now higher than 4. So I want to place a BACK bet (don't worry about the stake amounts).


Hi xraymitch,

Not sure why you can't just use an excel formula, except If I have misunderstood what you are after or what you are after is more complex than I think.

What I do in one of my sheets is reference the MyBets sheet.

Say set a cell for example X1 to be equal to 1 if no bets placed yet. You write an excel formula to check either columns A or B in MyBets - =IF(COUNTA(MyBets!A2:A50)=0,0,1).
Then set another cell say X2 to be equal to 1 if there's a lay bet in MyBets and its fully matched by using formulae to check columns E and F in MyBets.

You can put a formula like this in the Trigger column (Q) - if(X1=1,"BACK",if(X2=1,"CLEAR","LAY"))
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby danjuma » Tue Jul 20, 2010 10:51 pm

Sorry, wrong way round

if(X1=1,"LAY",if(X2=1,"CLEAR","BACK"))
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby jumpsfan » Wed Jul 21, 2010 1:50 pm

hi osknows, does this mean you would be able to add things to gruss, or will everything be excel based?
jumpsfan
 
Posts: 155
Joined: Wed Oct 14, 2009 12:32 pm

Postby osknows » Wed Jul 21, 2010 2:19 pm

It's not right to add things to gruss so it will be excel based.
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Wed Jul 21, 2010 2:26 pm

Ok then
I need a workbook that will win me say 50€ per / day :D :D
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby U.F.O » Wed Jul 21, 2010 11:27 pm

xraymitch wrote:Okay, how about a simple one (I suspect for you).

I have spent over 100 hours on this and still can't get it right.

I can write VBA code but I am still very much a beginner.

I have reached the point where I am now depressed that everything I have tried has failed and have now finally this evening admitted defeat.

Rather than give you numerous examples of my code let me express in a nutshell what I want to do.

When certain conditions are met (don't worry about the conditions) a LAY bet is placed.

So far no problem.

Now that the lay bet is placed, at some point if condition are met (again don't worry about the conditions) I will want to make a Back bet but before I can do that I have to clear the bet reference.

Problem:

I can never CLEAR the bet reference so that I can have the BACK bet placed.

Example of what I want to achieve:

I Lay at 4 and the back odds are now higher than 4. So I want to place a BACK bet (don't worry about the stake amounts).

If you have the time please point me in the right direction as I have given up with everything I've tried :!:

Thanks for any help you can offer.

Ray 8)


You could do that easy with a few if statements and a few macros. it may be a bit crude for some but it would work , im a nuts and bolts sort of person but i useully get the job done :lol:
U.F.O
 
Posts: 228
Joined: Tue May 19, 2009 3:21 pm

Next

Return to Discussion

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.