COM UpdateBet and betDetail

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

Moderator: 2020vision

COM UpdateBet and betDetail

Postby kiint » Sat May 11, 2013 1:22 pm

Hi,

Couple of questions.
I've been building my new super VB.NET app and it's looking pretty good.
However, I have a question about the updateBet method. Does it return a value and if so, what is it?
I'd assumed it would return a betref as a string but this gives me an invalid cast exception.

I also noticed something strange with the betdetail object values. The ref value didn't seem to hold the betref.
I've copied the object below:
BettingAssistantCom.Application.BetDetail
avgPrice 0.0 Double
betCategoryType "E" String
betStatus "U" String
betType "L" String
errorCode "OK" String
matchedDate #12:00:00 AM# Date
matchedSize 0.0 Double
price 5.8 Double
profitAndLoss 0.0 Double
ref "Betting_Assistant.betfair1.Bet" String
remainingSize 2.0 Double
requestedSize 2.0 Double
selectionId 7208967 Integer
selectionName "Jazz" String

Is the value in ref normal, something due to being in debug mode (strange things can happen at times) or something not quite right?

Cheers,
Kiint
kiint
 
Posts: 148
Joined: Tue Feb 23, 2010 12:12 am

Postby kiint » Sat May 11, 2013 5:13 pm

I found the answer to what updatebet returns.
It's an UpdateBetResult object that contains 3 fields, Ref being one of them.
kiint
 
Posts: 148
Joined: Tue Feb 23, 2010 12:12 am


Return to Discussion

Who is online

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