Excel Automated...

Please post any questions regarding the program here.

Moderator: 2020vision

Postby osknows » Tue Mar 30, 2010 10:00 pm

I'm having a REALLY bad day today...everything I touch is wrong in some way!

Spot the deliberate mistake... I left out If 'Target.Columns.count = 16 Then'

Here is corrected version yet again...
http://www.mediafire.com/file/oameoajnzy2/Book11.xls

Apologies.. must improve multi-tasking skills :)
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Wed Mar 31, 2010 3:48 pm

Thanks Os, it is working fine ( i am testing all day ).
I have to wait until tomorrow to see that it will refresh the markets.

I will let you know
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby mak » Thu Apr 01, 2010 7:12 am

Well, the market haven't been updated.Any ideas?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Fri Apr 02, 2010 11:23 pm

Hi Mak,

I'm away for a few days so will look at this when I get home on Monday.

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

Postby mak » Sat Apr 03, 2010 7:01 am

Hi Os, have a nice weekend too (and Happy Easter?)
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Mon Apr 05, 2010 11:11 pm

I told you everything I touched that day was wrong! I put the Workbook_Open event in the MODULE and it should have been in the THISWORKBOOK.

Here is correction which I've tested an works fine http://www.mediafire.com/?do2wjcllyut

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

Postby mak » Wed Apr 07, 2010 3:32 pm

Os, it is working Fine.Thank you.
My only problem is that for some reason it still misses 1 market if there are 2 markets at excactly the same time, and i don't want to open each market at a new tab.Have you got any suggestions?

:)
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Wed Apr 07, 2010 9:33 pm

I pretty certain that you need seperate tabs if markets begin at the same time
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Wed Apr 07, 2010 9:40 pm

i have to watch it some more days i think because today it worked, & placed bets at both markets :)
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Wed Apr 07, 2010 10:36 pm

Thinking about it.... it depends on the timings you set in the coding. The timer will hold off until 20mins before the market commences then advance to the next market every 20 minutes. Therfore, you could be advancing to the next market (when 2 are at the same time) as the next one is about to or already started?
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Wed Apr 07, 2010 10:44 pm

Well i just check the code at your file & i am still using the

Const triggerduration As Integer = 1 'trigger every 20 minutes
Const timebeforeevent As Integer = 20 'monitor event only 20 minutes before start

probably this is doing the trick. it runs exactly as i want & it placed the bets
i am thinking to try it at 0.5 tomorrow
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Wed Apr 07, 2010 10:50 pm

mak wrote:Well i just check the code at your file & i am still using the

Const triggerduration As Integer = 1 'trigger every 20 minutes
Const timebeforeevent As Integer = 20 'monitor event only 20 minutes before start

probably this is doing the trick. it runs exactly as i want & it placed the bets
i am thinking to try it at 0.5 tomorrow


That is still set up for testing to run every 1 minute, I forgot to change the comments when testing..!!

So this will trigger every minute

Const triggerduration As Integer = 1 'trigger every 1 minutes

if you want to run every 20mins

Const triggerduration As Integer = 20 'trigger every 20 minutes
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Wed Apr 07, 2010 10:55 pm

osknows wrote:
mak wrote:Well i just check the code at your file & i am still using the

Const triggerduration As Integer = 1 'trigger every 20 minutes
Const timebeforeevent As Integer = 20 'monitor event only 20 minutes before start

probably this is doing the trick. it runs exactly as i want & it placed the bets
i am thinking to try it at 0.5 tomorrow


That is still set up for testing to run every 1 minute, I forgot to change the comments when testing..!!

So this will trigger every minute

Const triggerduration As Integer = 1 'trigger every 1 minutes

if you want to run every 20mins

Const triggerduration As Integer = 20 'trigger every 20 minutes




yes i know. :)
but it still monitors the markets with this one every 20 minutes
Const timebeforeevent As Integer = 20 'monitor event only 20 minutes before start

& i dont mind how fast it will pass the markets.
will it recognize the 0.5 ?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Wed Apr 07, 2010 11:07 pm

Yes, effectively it converts into seconds so 0.5 minutes * 60 = 30secs
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Previous

Return to Help

Who is online

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