Programmin: How to Gather all Market Prices (Horse Racin)

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

Moderator: 2020vision

Programmin: How to Gather all Market Prices (Horse Racin)

Postby laffo16 » Mon Aug 18, 2008 3:48 am

Hey everyone,

Task:
1) To Gather all Market Prices & Market ID's from the Horse Racing Win Markets

I'm pondering how i should go about this, i can see one or two obstacles in my path, let me see. It would be simplest to navigate through the races via the -1 (next race) trigger, then use the new trigger -? (which sends back to the first race). After comparing the data then, i'll need to jump back to a select few markets, i dont want the hassle of having to go through each market until the correct horse is found. So unless the currentMarketID can be found when each market is loaded, then i cant use this method, i have put forward this as a suggestion.

So really the only alternative i can see, would be to use "getEvents(eventId:integer): BfEevent()", to put together a list which would basicly be identical to the UK Win Market Quick Pick List with the addition of the MarketID's gathered in the process. (this would be a good array to have inany case for the future)

Has anyone attempted this? If so could you spare any pointers :) Im unsure whether to get the data from the - Todays Card list, or the regular sub sectioned lists. Would I need to create a list of short(track names), such as "Ling/Wolv/York" etc in order to know which directories to search in?
User avatar
laffo16
 
Posts: 172
Joined: Sun Jan 27, 2008 6:52 pm

Postby laffo16 » Mon Aug 18, 2008 4:01 am

hmm on Todays Cards i think removing all races with "(" brackets would leave me with all of the UK Win Markets?
User avatar
laffo16
 
Posts: 172
Joined: Sun Jan 27, 2008 6:52 pm

Postby Captain Sensible » Mon Aug 18, 2008 2:05 pm

I guess you want to do this thru the com interface ? Haven't used it myself so not sure what data it returns easy enough to do via the api . Does the COM give you access to getAllMarkets ?
User avatar
Captain Sensible
 
Posts: 2926
Joined: Sat Nov 19, 2005 2:29 pm

Postby laffo16 » Mon Aug 18, 2008 3:29 pm

yes basicly it does but you have to call each market/folder at time. i have no experiance with calling the api directly. i think Todays Cards should do the job, however gary's already released the marketID() call in a olympic record breakin time ^^.
User avatar
laffo16
 
Posts: 172
Joined: Sun Jan 27, 2008 6:52 pm


Return to Discussion

Who is online

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