"Trigger After" Feature

Please post any questions regarding the program here.

Moderator: 2020vision

"Trigger After" Feature

Postby excelhasey » Thu May 27, 2010 10:46 am

I don't fully understand this button / option / feature

I have just had a play on todays racing and the trigger option in conditional betting is saying 10:34:22 but the first race is in about 3 hours time, so what is it triggering ??

Is it triggerring my bets to be active in 10 and half hours time in which case the race is over ??

Do I have to manually change this to say 3 hours so it triggers just before the race ??

Or are these conditional bets ready to go and the trigger time is irrelevant ??

I have ticked Active and also In-Play

Can someone help please ??
excelhasey
 
Posts: 196
Joined: Sat May 22, 2010 4:57 pm
Location: North West

Postby GaryRussell » Thu May 27, 2010 11:06 am

It means that the bet can only be triggered after the time specified even if the conditions are met. eg. if you enter 13:00:00 then the bet can only be triggered if the conditions are met after 1pm.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby excelhasey » Sat May 29, 2010 11:56 am

Ah right brilliant

Ok so when I log current prices in Excel how do I set up a time trigger so the spreadsheet doesn't become ACTIVE until, say, 20 seconds before the off (presumably this will obviously have to be the scheduled off time), i.e. I am not Backing or Laying at ridiculous under or over inflated prices

Thanks
excelhasey
 
Posts: 196
Joined: Sat May 22, 2010 4:57 pm
Location: North West

Postby GaryRussell » Sat May 29, 2010 4:41 pm

You make it part of the criteria in the trigger formula. See http://gruss-software.co.uk/forum/viewtopic.php?t=4886 for an example.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby excelhasey » Sat May 29, 2010 4:52 pm

Yes I have copied that into S1 thank you, great stuff

Now that is counting down to the scheduled start time, what about a count from the moment E2 changes to "In Play" ??

Cheers
excelhasey
 
Posts: 196
Joined: Sat May 22, 2010 4:57 pm
Location: North West

Postby GaryRussell » Sun May 30, 2010 5:36 pm

excelhasey wrote:Yes I have copied that into S1 thank you, great stuff

Now that is counting down to the scheduled start time, what about a count from the moment E2 changes to "In Play" ??

Cheers


You need to use VBA to achieve this. Put the following code in sheet1. It will put the seconds from the off in cell T1 and when not in play T1 will be blank.

Code: Select all
Option Explicit

Dim inPlay As Boolean
Dim inPlayTime As Date

Private Sub Worksheet_Change(ByVal Target As Range)
    Application.EnableEvents = False
    If [E2] = "In Play" Then
        If Not inPlay Then
            inPlay = True
            inPlayTime = Now
        End If
        [T1] = DateDiff("s", inPlayTime, Now)
    Else
        If inPlay Then
            inPlay = False
            [T1] = ""
        End If
    End If
    Application.EnableEvents = True
End Sub
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby excelhasey » Sun Jun 06, 2010 3:08 pm

I added the code below late yesterday to a spreadsheet of mine and I started working / counting, I then shut it down and switch PC off

I have just opened the spreadsheet again now and the market has been updated with the latest horse race but this value is now 1182 and counting, it is as if it has started re-counting from where it was last switched off

Any ideas how to re-set this when the market auto refreshes ??
excelhasey
 
Posts: 196
Joined: Sat May 22, 2010 4:57 pm
Location: North West

Postby excelhasey » Sun Jun 06, 2010 3:28 pm

My apologies on the 2nd race re-fresh all is working fine, bizarre thanks anyway
excelhasey
 
Posts: 196
Joined: Sat May 22, 2010 4:57 pm
Location: North West


Return to Help

Who is online

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