Test_Ba_Com.xls Question

Please post any questions regarding the program here.

Moderator: 2020vision

Test_Ba_Com.xls Question

Postby Khryll » Fri Jul 19, 2013 5:10 am

Hello everyone

1. Is there an option to refresh all markets per Com Interface in BA? Like the Refresh Button in BA for all Markets?

2. I tried the part from the TEST_BA_COM.xls from the User's Guide followed bellow where i was able to place bets on all Win markets but not on the Place markets. Is there a way to get the Place markets too?

Code: Select all
Private Sub CommandButton1_Click()
    If ba Is Nothing Then
        Set ba = New BettingAssistantCom.ComClass
    End If
    Set bal = ba.getBalance(1)
    Range("J2").Value = bal.availBalance
    Range("J3").Value = bal.balance
    Range("J4").Value = bal.exposure
    sports = ba.getSports()
    For Each sport In sports
        If sport.sportid = 13 Then
            events = ba.getEvents(sport.sportId)
            For Each evnt In events
                diff = DateDiff("s", Now(), evnt.startTime)
                If diff >= 200 And InStr(evnt.eventName, "(") = 0 Then
                    result = ba.openMarket(evnt.eventId, evnt.exchangeId)
                   
                End If
            Next
        End If
    Next
    ba.refreshRate = 1

I am not that familiar with VBA and appreciate your Help.

Thanks
Code: Select all
Khryll
 
Posts: 2
Joined: Sun Jun 23, 2013 10:23 pm

Return to Help

Who is online

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