Trimmer

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

Moderator: 2020vision

Trimmer

Postby gvigliani » Sat Sep 05, 2009 9:15 am

Hello Russ,
I am a VB6 programmer and I use this platform to drive the bets made with the BA. I have a problem. If I place a bet with the usual method by inserting "BACK" in the space of the trimmer, after a few seconds I see a reference number that gives me the OK on matched. But when I use a special type trimmer "BACK-TL5" I have the reference number on the first part of the bet but I do not have the reference number on the next bet in Lay. How could we solve the problem?
Thanks
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Correct minutes from starter time

Postby gvigliani » Sat Sep 05, 2009 9:19 am

Russ, I'm sorry but I forgot another detail. As can be solved the problem of the correct start time of the event? The BA tells me all the time time before the beginning of the event but then after it started there is no way to trace the minutes right. You have some solution for this problem?

Thanks again
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Postby GaryRussell » Sat Sep 05, 2009 10:51 am

Have a look at the following thread. I implemented a new column to show the bet refs of the offset bets. See the messages from 1st August onwards.
http://gruss-software.co.uk/forum/viewt ... c&start=15

The API does not provide the actual start time of an event after it has started. The only way you can capture it is to continuously monitor cell E2 for when it first displays "In Play" and capture this time.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby gvigliani » Sat Sep 05, 2009 11:35 am

GaryRussell wrote:The API does not provide the actual start time of an event after it has started. The only way you can capture it is to continuously monitor cell E2 for when it first displays "In Play" and capture this time.


Excuse me Gary but time in cell H7 in prelive is eg: 0.31.58 0.31.57 etc.
When event is in time this Cell is eg: -1:23:28

1) Why minus sign??
2) - 1 is the HOUR??
3) 23 it's the minutes??
4) 28 it's the second ??

Unfortunately not
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Postby milfor » Sat Sep 05, 2009 3:15 pm

Without a minus sign it's the time UNTIL the scheduled off.
With a minus sign it's the time SINCE the scheduled off.
milfor
 
Posts: 437
Joined: Mon Jun 26, 2006 1:44 am

Postby osknows » Sun Sep 06, 2009 9:20 pm

You can track exactly when the market has gone into play by doing the following

Cell D2 is the refreshed time from BA to excel
Cell Q3 is Time Market went into play (placed by VBA code below)
Cell U3 is seconds since market went into play (excel formula)

excel formula in U3
Code: Select all
=IF(ISERROR((MID(D2,2,2)*60*60+MID(D2,5,2)*60+MID(D2,8,2))-(MID(Q3,2,2)*60*60+MID(Q3,5,2)*60+MID(Q3,8,2))),"",(MID(D2,2,2)*60*60+MID(D2,5,2)*60+MID(D2,8,2))-(MID(Q3,2,2)*60*60+MID(Q3,5,2)*60+MID(Q3,8,2)))


VBA to place time market went into play in Q3
Code: Select all

    'log time race went in play
 Application.EnableEvents = False
    If Cells(2, 5).Value = "In Play" And Cells(3, 17).Value = "" Then
      Cells(3, 17).Value = Cells(2, 4).Value
    ElseIf Cells(2, 5).Value <> "In Play" Then
      Cells(3, 17).Value = ""
    End If
Application.EnableEvents = True


eg. market went into play when D2 was -00:02:01

then when D2 = -00:02:13; Q3 = -00:02:01, U3 = 12
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am


Return to Discussion

Who is online

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