Excel - Multiple simultaneous bets on several horses

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

Moderator: 2020vision

Excel - Multiple simultaneous bets on several horses

Postby greenfingers » Tue Jun 08, 2010 11:12 am

Hi, I was wondering about the most efficient way to mange multiple open orders on each of several horses in the same market. I'd have 2 or 3 orders per horse that fits the criteria.

My guess is to open the same market in 3 times in seperate tabs in BA and link them to 3 sheets in the same workbook. Then I can quite simply replicate the trigger with different variables.

The alternative I suppose would be some pretty complicated (for me!) code to be able to handle the different criteria for each of the open orders on each horse. I'd rather not get into that!

If I have the same market open 3 times in BA and the throttle set to 20 requests per second, will each market get a maximum of 6.66 refreshes a second or does it get the data from Betfair once and distribute it to the 3 tabs?

Is there a more efficient way?!
Thanks
User avatar
greenfingers
 
Posts: 214
Joined: Mon Mar 23, 2009 3:10 pm

Postby GaryRussell » Tue Jun 08, 2010 11:24 am

It sounds like 3 tabs is your best option. One tab cannot handle simultaneous requests, it can only handle sequential requests.

Each market as you say will get a maximum refresh of 6.66 refreshes per second. It would be a useful feature if it could recognise it is the same market and share the refresh requests. I will look into this.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby greenfingers » Tue Jun 08, 2010 11:33 am

Thanks for confirming that Gary, it's good to know before I delve into trying to code it! Also for looking into the same market / multiple tabs possibility.
:)
User avatar
greenfingers
 
Posts: 214
Joined: Mon Mar 23, 2009 3:10 pm

Postby Lewis » Wed Jun 09, 2010 4:32 pm

Hi Gary,

I also use two markets in BA linked to excel and feel that it is 'wasteful' to poll the API for both when the market data should be the same. However I understand this would be a big change to make to BA.

Currently I am writing the data a single sheet with one market below the other on sheet1. What you have said suggests that I should have the two markets spread over two excel sheets as otherwise BA deals with it sequentially?

I understand I am using BA in a way it was not designed and I am currently 'hammering' the refresh rate however hopefully I can find the most efficient workaround.
Lewis
 
Posts: 50
Joined: Sun Mar 28, 2010 10:15 pm

Postby GaryRussell » Wed Jun 09, 2010 5:05 pm

It doesn't matter if they are on the same worksheet, if you are logging the market twice the requests will be simultaneous. You will be pleased to know however that it's not as big a change as you might think. I have actually already implemented this in the latest Beta which will be released in the next few days. As long as all tabs displaying the same market are set to the same refresh rate it will only make one set of requests.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Lewis » Wed Jun 09, 2010 5:38 pm

Implementing the update before a request is made - now that is first quality support :D

I look forward to trying out the new version and thanks for the fast response.
Lewis
 
Posts: 50
Joined: Sun Mar 28, 2010 10:15 pm

Postby GaryRussell » Fri Jun 11, 2010 8:48 am

It's ready to try if you are willing to test it for me. See http://gruss-software.co.uk/forum/viewtopic.php?t=4992
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby greenfingers » Fri Jun 11, 2010 11:09 am

Hi Gary, I've been away for a few days so it was a great surprise to see this implemented already - perfect timing! I'll try it out today. Many thanks. :D
User avatar
greenfingers
 
Posts: 214
Joined: Mon Mar 23, 2009 3:10 pm


Return to Discussion

Who is online

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