Multiple Markets in COM

Please post any questions regarding the program here.

Moderator: 2020vision

Multiple Markets in COM

Postby negapo » Tue Mar 08, 2011 3:55 pm

Hi to all,

I'm exploring the COM Interface and i have some questions. Ill appreciate if someone can help me out:
1. I was wondering if its possible to open more then one market.
2. Do i have to manage the price refreshes myself so i don't incur in charges
3. Do i have to check if the functions return the expected value so i can know if they were successful. Example:
if cancelAllBets() = "" then Goto MoveOn

Thanks in advance
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Postby GaryRussell » Tue Mar 08, 2011 5:31 pm

1. I was wondering if its possible to open more then one market.

There are no functions to open new tabs, but if the tab is already open you can used the tabIndex property to select the tab your code should work on. If your instance of ComClass is named ba then ba.tabIndex=0 will select the first tab.

2. Do i have to manage the price refreshes myself so i don't incur in charges

No. The requests are still throttled according to the settings in BA preferences.

3. Do i have to check if the functions return the expected value so i can know if they were successful. Example:
if cancelAllBets() = "" then Goto MoveOn

Yes, I recommend that you do that.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Help

Who is online

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