COM issue with 1.3.0.0 and Horse racing event names

Please post any questions regarding the program here.

Moderator: 2020vision

COM issue with 1.3.0.0 and Horse racing event names

Postby HiArt99 » Tue Oct 28, 2014 8:59 am

Hi,

upgraded to 1.3.0.0 this morning. I have pointed Visual Studio to the upgraded DLL but have an issue with navigation.

Code: Select all
            For Each sport In sports
                Trace.WriteLine(sport.sport)
                If sport.sport = "Horse Racing - Today's Card" Then
                    Dim Events As Object = ba.getEvents(sport.sportId)
                    For Each evnt As BettingAssistantCom.Application.BfEvent In Events
                        If evnt.exchangeId = 1 Then
                            'removes australian
                            Trace.WriteLine(evnt.eventName)
                            'If Not evnt.eventname.ToString.Contains("(") Then
                            '    'removes(place) (RSA) (US) (AvB) and simular. But also removes (IRE) which may be an issue later
                            '    If evnt.startTime.day = Now.Day Then
                            '        'make sure everything is for today
                            '        Dim row As DataRow = races.NewRow
                            '        row("course") = evnt.eventname
                            '        row("raceid") = evnt.eventId
                            '        row("starttime") = evnt.startTime
                            '        races.Rows.Add(row)
                            '    End If
                            'End If
                        End If
                    Next
                End If
            Next


The issue is this returns "5f Nov Stks", or worse just "To Be Placed". We seem to have lost the course name which is going to scupper me mightily.

I think the eventName used to look like "Uttox" or "Uttox (Place)", etc. Is it possible to get this back?

Art
If I get lost in thought it is because it is unfamiliar territory.
HiArt99
 
Posts: 68
Joined: Tue Aug 25, 2009 7:28 am

Re: COM issue with 1.3.0.0 and Horse racing event names

Postby HiArt99 » Tue Oct 28, 2014 9:25 am

Update.

I think I am getting the layout from the "Horse Racing" list as opposed to "Horse Racing - Today's Fixtures". I noticed in my code that an apostrophe has appeared.

I have also checked the "Soccer - Fixtures" list for another of my bots and this definitely seems to be returning the "Soccer" list as it appears to be returning data league by league.

I suspect "Greyhound - Today's Fixtures" to be similarly affected.

Hopefully, markets such as "Golf" where there is only 1 way to navigate remain unaffected.
If I get lost in thought it is because it is unfamiliar territory.
HiArt99
 
Posts: 68
Joined: Tue Aug 25, 2009 7:28 am

Re: COM issue with 1.3.0.0 and Horse racing event names

Postby HiArt99 » Thu Oct 30, 2014 5:33 pm

I have had to bite the bullet and just walk through the "Soccer", not "Soccer Fixtures" and "Horse Racing" and not "Horse Racing - Today's card" events.

More painful and slows the bot down some during initialisation; trust a Betfair update to make things worse :)

Art
If I get lost in thought it is because it is unfamiliar territory.
HiArt99
 
Posts: 68
Joined: Tue Aug 25, 2009 7:28 am

Re: COM issue with 1.3.0.0 and Horse racing event names

Postby BBW » Sat Nov 01, 2014 7:22 am

I upgraded today as well and I can confirm the same issues with the COM.

a) In sport.sport ... "Horse Racing - Todays Card" now appears as: "Horse Racing - Today's Card"

b) The data in evnt.eventName has changed - is was the venue now it is the race name. Also you cannot now use the command:
If InStr(evnt.eventName, "(") = 0 Then etc to identify UK/IRE races.

I also use the venue names - UK only. Is the data going to be returned to how it was, or how could we get the venue names for Uk racing?

Many thanks.
BBW
 
Posts: 5
Joined: Sat Nov 01, 2014 2:51 am

Re: COM issue with 1.3.0.0 and Horse racing event names

Postby BBW » Sun Nov 02, 2014 8:35 am

I found this response today from Mark and I think this will fix all my problems - a great spreadsheet ... Thanks - Fred


"Gary has made a COM example spreadsheet that demos every COM function and property.

You can download it here:- http://www.gruss-software.co.uk/Excel/T ... A_COM.xlsm

Regards,
Mark"
BBW
 
Posts: 5
Joined: Sat Nov 01, 2014 2:51 am

Re: COM issue with 1.3.0.0 and Horse racing event names

Postby HiArt99 » Sun Nov 02, 2014 8:37 am

Hi BBW

I created a table with all the Betfair course names in it. (http://bdpsupport.betfair.com/ics/support/default.asp?deptID=2805&task=download)

I then set the row filter to the name I get from walking "Horse Racing".

If the defaultview.count > 0 then it is a UK course.

Blunt but works.

Hope that helps
If I get lost in thought it is because it is unfamiliar territory.
HiArt99
 
Posts: 68
Joined: Tue Aug 25, 2009 7:28 am


Return to Help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 51 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.