TPD and COM

Post any queries / feedback here relating to Total Performance Data. A representative from TPD will also provide support here.

Moderator: 2020vision

TPD and COM

Postby Spike » Sat May 03, 2025 9:18 am

Hi, looking at the COM class reference I don't see anything related to TPD. Is it possible to access the TPD data via the COM interface? If not could this be added. I currently interact with BF directly via their API but the new TPD markets are not accessible via this route so I'm looking for options to access them.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Re: TPD and COM

Postby MarkRussell » Sat May 03, 2025 9:35 am

Hi,

There is TPD Com object, it needs to be added into the User Guide.

getTpd(). Returns TpdSelection object with following properties:-
marketId As String
selectionId As String
distanceToGoInMetres As Double
fastestSpeed As Double
leaderDirection As Integer
leaderDistance As Double
leaderSpeed As Double
runningTimeInSeconds As Double
slowestSpeed As Double
timestamp As Date
totalDistanceInMetres As Double
saddleCloth As String
active As Integer
cadenceError As Double
metresBackFromLeader As Double
progress As Double
runningOrder As Integer
speed As Double
speedCoursePar As Double
speedRanking As Integer
strideFrequency As Double
strideFrequencyCoursePar As Double
velocityError As Double
velocityFluctuation As Double
User avatar
MarkRussell
Site Admin
 
Posts: 1793
Joined: Tue Feb 20, 2007 6:38 pm
Location: Birmingham

Re: TPD and COM

Postby Spike » Sat May 03, 2025 10:00 am

Thank you, that's what I need and I appreciate your quick response.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Re: TPD and COM

Postby Spike » Sat May 03, 2025 10:06 am

Is there (or could there be) an event equivalent to pricesUpdated to flag fresh data?
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Re: TPD and COM

Postby alrodopial » Sat May 03, 2025 9:08 pm

Spike wrote: the new TPD markets


?????
alrodopial
 
Posts: 1384
Joined: Wed Dec 06, 2006 9:59 pm

Re: TPD and COM

Postby Spike » Sat May 03, 2025 9:21 pm

TPD is now covering all UK racing, but these new tracks (RMG) are not being provided direct through BF so those of us who use it that way are scrambling for the best way to access them. Gruss BA potentially provides quite a good option.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Re: TPD and COM

Postby GaryRussell » Sun May 04, 2025 4:21 pm

Spike wrote:Is there (or could there be) an event equivalent to pricesUpdated to flag fresh data?


In Options|Preferences|TPD if you tick Update prices when TPD data updated then the prices are refreshed every time the TPD data is updated so you can then uses the prices updated event.
User avatar
GaryRussell
Site Admin
 
Posts: 9871
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: TPD and COM

Postby Spike » Tue May 06, 2025 1:23 pm

Thank you Garry.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Re: TPD and COM

Postby Spike » Tue May 06, 2025 1:28 pm

Can you tell me whether this occurs after ALL runners have been updated (per market) or every time you get data from TPD? When I stream TPD via BF they update the runners in tranches so for each "full" update of all runners I might get data three or four times. I don't know if this is just a feature of BF's processes, whether it comes originally from TPD that way or how you handle it.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Re: TPD and COM

Postby GaryRussell » Wed May 07, 2025 9:18 am

It's after TPD data for all runners has been received. It then displays the latest prices that have been received from Betfair at that time.
User avatar
GaryRussell
Site Admin
 
Posts: 9871
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Total Performance Data

Who is online

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