How to disable the refresh

Please post any questions regarding the program here.

Moderator: 2020vision

How to disable the refresh

Postby Maxim Zaytsev » Sun Jan 15, 2017 7:44 pm

Hi All!
If the hour before the launch, the refresh is once per second - it's not a problem to do.
But how to do if the market is "Closed" to disable the update?
Please tell me advice. Maybe there is a command for Q2? (not found on the forum and answer in User Guide)
Attachments
1501.jpg
1501.jpg (190.08 KiB) Viewed 13670 times
User avatar
Maxim Zaytsev
 
Posts: 9
Joined: Tue May 12, 2015 8:31 am
Location: RU

Re: How to disable the refresh

Postby Captain Sensible » Sun Jan 15, 2017 10:04 pm

There's no way to disable the refresh other than closing the tab or unticking the AUTO box next to the refresh on the main screen. The best you can do is set the refresh rate to the highest amount 1000 in Q2, that's one refresh every 16 minutes so effectvely sht down.

Just add some simple VBA to your sheets like

Code: Select all
If Range("F2").Value = "Closed" Then Range("Q2").Value = 1000
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: How to disable the refresh

Postby Maxim Zaytsev » Sun Jan 15, 2017 11:25 pm

Thanks for the help, Captain Sensible!
Last question: can you show a working example of the function "refreshMarkets" (example, for the market id 129158576), If you is not difficult?
(Link to User Guide http://www.gruss-software.co.uk/Betting ... arkets.htm)
User avatar
Maxim Zaytsev
 
Posts: 9
Joined: Tue May 12, 2015 8:31 am
Location: RU

Re: How to disable the refresh

Postby Captain Sensible » Mon Jan 16, 2017 12:31 am

I don't use the COM functions myself but it seems that function refreshes the market menu list, it doesn't refresh individual markets. It's the same as putting -3 in the Q2 cell.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: How to disable the refresh

Postby Maxim Zaytsev » Mon Jan 16, 2017 1:33 am

Thanks for the quick answers! I will use your method.
Thank you very much!
User avatar
Maxim Zaytsev
 
Posts: 9
Joined: Tue May 12, 2015 8:31 am
Location: RU


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 58 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.