Placebets() Bet Reference Query

Please post any questions regarding the program here.

Moderator: 2020vision

Placebets() Bet Reference Query

Postby merlmagic » Tue Aug 19, 2014 12:00 am

Testing out the newly promoted 1.2.0.0.
Was previously using the basic beta version.

It seems the bet reference returned when placing stakes under £2 using placebet() is returning the cancelled £2 bet reference rather than the stake under £2. So if you place a bet for 50p using placebet() the bet reference returned is the initial £2 and not the subsequent 50p bet.

This has changed as the bet reference returned was always the 50p bet.

My understanding is the only way you can get the 50p bet reference now is to use GetBets() which is not ideal because if you have multiple matched and unmatched bets you have no way of identifying the correct bet. Looking through the updated help manual I see a 'token' was added to placebets() but that is only available when using the BetPlaced() event.

Can you confirm this change is by design ? If it is the only solution I can see is to use the betplaced() event with a token ?
merlmagic
 
Posts: 31
Joined: Wed Jul 19, 2006 9:27 pm
Location: UK

Re: Placebets() Bet Reference Query

Postby GaryRussell » Tue Aug 19, 2014 10:30 am

It is a bug. I will provide a fix shortly.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: Placebets() Bet Reference Query

Postby GaryRussell » Tue Aug 19, 2014 11:01 am

It has been fixed. Please install the new version from the link below.

http://www.gruss-software.co.uk/Betting ... 190814.msi
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: No registered users and 39 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.