Empty(?) Horse Racing Market

Please post any questions regarding the program here.

Moderator: 2020vision

Empty(?) Horse Racing Market

Postby marv » Sun Jun 21, 2020 9:39 pm

Today I noticed that bets were not placed on several horses that were in my database as selections (one of them turned out to be a winner - sod's law!). It turns out they were all in the same race, the 16.40 Leopardstown.

I have BA triggered via an Excel spreadsheet, linked to Sheet 1, cell A1. Excel pulls selections from a database every minute and puts them in a table in Sheet 2. The event is auto selected from the quick pick list one minute before start time, and any picks in my Sheet 2 table are compared to the runners in the race on Sheet 1 and if they match, a BACKSP bet is triggered.

I checked the Transaction Log, and BA did not attempt to place any bets for that race. So I checked the Excel error log and found the errors below. Note that there were plenty of other errors, one per minute, which aligns with a VB script I run every minute to refresh my Excel database connection. I've always assumed these errors shouldn't be a problem, as anything missed would be picked up on BA/Excel's next refresh the following second.

Code: Select all
16:38:42   Reading triggers, bet ref, bet time, matched odds, matched stake, P&L and additional columns (range:Q5:Y15)   System.Runtime.InteropServices.COMException (0x8001010A):...
16:39:42   Getting selection range* (range:A1:P4)   System.Runtime.InteropServices.COMException (0x8001010A):...
16:41:42   Getting selection range* (range:A1:P4)   System.Runtime.InteropServices.COMException (0x8001010A):...
16:42:43   Getting selection range* (range:A1:P4)   System.Runtime.InteropServices.COMException (0x8001010A):...
16:43:43   Writing ref, bet time, matched odds, matched stake, P&L and additional columns   System.Runtime.InteropServices.COMException (0x8001010A):...
16:44:43   Reading refresh rate cell   System.Runtime.InteropServices.COMException (0x8001010A):...


As the event of interest started at 16.40 and the following event at 16.45 I assume only the errors between 16.39 and 16.43 are relevant.

What struck me is that BA is only trying to update range A1:P4, i.e. the header rows, as if there were no runners in the race. However that race had 17 runners.

Can you think of anything that would cause BA / Excel to only populate the header rows and not the runners? Could it be related to the errors in the log above? As I say, I have these every minute, and I've never noticed an issue like this before. Or could the error be on BA or Betfair's end?

Any thoughts or information would be much appreciated!
marv
 
Posts: 2
Joined: Fri May 29, 2020 2:23 pm

Re: Empty(?) Horse Racing Market

Postby GaryRussell » Mon Jun 22, 2020 10:08 am

Betfair voided the market and created a new one. The application isn’t designed to recognise when this happens. I think this is quite a rare event.

See https://twitter.com/betfaircs/status/12 ... 62720?s=21
User avatar
GaryRussell
Site Admin
 
Posts: 9868
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: Empty(?) Horse Racing Market

Postby marv » Mon Jun 22, 2020 2:56 pm

Ah, that makes sense, thank you. Just bad luck that I happened to have the winner selected in that race!

Presumably a quick pick list refresh after the new market was created would have brought in the new market?
marv
 
Posts: 2
Joined: Fri May 29, 2020 2:23 pm


Return to Help

Who is online

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