Get Tick Difference

Please post any questions regarding the program here.

Moderator: 2020vision

Postby Ian » Sat May 26, 2012 7:54 am

Ian
 
Posts: 834
Joined: Sat Nov 19, 2005 8:35 am
Location: Birmingham

Postby mak » Sat May 26, 2012 12:12 pm

Ian wrote:Gary did it for me in this thread.

http://www.gruss-software.co.uk/forum/v ... ght=betdaq


thanks
I use them already.but i can't get the ticks diff.
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Sat May 26, 2012 1:49 pm

Hi mak,

I use the following for tick diff

Code: Select all
Function TickDiff(odds1 As Currency, odds2 As Currency) As Long
    If odds1 > odds2 Then
            odds1 = getPrevOdds(odds1)
            TickDiff = TickDiff(odds1, odds2) + 1
    ElseIf odds1 < odds2 Then
            odds1 = getNextOdds(odds1)
            TickDiff = TickDiff(odds1, odds2) + 1
    Else
        'Found Odds, Exit
    End If

End Function


Just ensure getPrevOdds & getNextOdds are the correct function names for decrementing/incrementing ticks for either BF/BD.

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

Postby mak » Sat May 26, 2012 2:19 pm

Hi Os
that's perfect!
thanks
m
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Previous

Return to Help

Who is online

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