q2 trigger -1

Please post any questions regarding the program here.

Moderator: 2020vision

q2 trigger -1

Postby alrodopial » Sat Mar 30, 2013 8:43 am

Hi,
can someone provide a working code for placing -1 in cell q2 when the race has finished?
I can do it but ba goes to the race after the next one , I haven't found a way to delete it at the correct time and ba reads it for second time and goes to the race after next one. :evil:
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm

Postby MarkRussell » Sat Mar 30, 2013 2:30 pm

Hi,

Here's an example for you which also demos an in play timer.

http://www.gruss-software.co.uk/Excel/In_Play_Timer_And_Moving_Markets_At_The_End_Of_The_Race.xls

Regards,
Mark
User avatar
MarkRussell
Site Admin
 
Posts: 1793
Joined: Tue Feb 20, 2007 6:38 pm
Location: Birmingham

Postby alrodopial » Sat Mar 30, 2013 2:32 pm

Thanks
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm

Postby alrodopial » Sun Mar 31, 2013 10:15 am

It drove me crazy but now is ok.
Mark your code is working ok
A variable when just placed the -1 done the job , that it will not allow further -1 places and it will reset at the market change.
The way I see it:
The code places the -1
BA updates the 16 columns, reads the -1 and deletes it.
Then I believe that there is another one 16 columns update but with the same as previous market - at this point my code was placing the -1 for the second time -
Next update is with the new market.
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm


Return to Help

Who is online

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