COM questions

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

Moderator: 2020vision

COM questions

Postby bolpx001 » Wed Mar 25, 2020 10:34 am

I have recently being experimenting with COM as a betting tool, however some of my bets have lapsed due to not being matched.

example being:

Market Selection Bid Bet ID Bet placed Persistence Odds req. Stake Avg. odds matched
Naas 23rd Mar / Russian Lay 198754167413 23-Mar-20 P 2.72 5 Unmatched
17:00 1m Mdn Emperor
16:57

The excel subroutine used to place the bet was as follows:
Code: Select all
Private Sub doubleBET()                     
Dim refs() As String                        
Dim selecIds(2) As Long                     
Dim betTypes(2) As String                     
Dim odds(2) As Double                     
Dim stake(2) As Double                     
Dim tokens(2) As String                     
Dim oddBACK As Double                     
Dim oddLAY As Double                     
                        
oddBACK = Range(Sheets("Refresh").Cells(1 + 4, 8), Sheets("Refresh").Cells(1 + 4, 8))            
oddLAY = Range(Sheets("Refresh").Cells(1 + 4, 6), Sheets("Refresh").Cells(1 + 4, 6))            
                        
If ba Is Nothing Then                     
    Set ba = New BettingAssistantCom.ComClass                  
End If                        
                        
ba.keepbettype = 2                        
ba.tabIndex = 0                        
'Example 2 bets only on same selection (selecId 0 = row 5)               
selecIds(0) = 0                        
selecIds(1) = 0                        
betTypes(0) = "B"                        
betTypes(1) = "L"                        
odds(0) = oddBACK                        
odds(1) = oddLAY                        
stake(0) = 5                        
stake(1) = 5                        
tokens(0) = "test1"                        
tokens(1) = "test2"                        
refs = ba.placeBets(selecIds, betTypes, odds, stake, False, tokens) 'async            
End Sub


I would have thought that ba.keepbettype = 2 would be the equivalent of BACKSP or LAYSP depending on what betTypes was. I was also wondering which I should us async or sync and what difference it makes.
Any help or advice appreciated.
Best regards
Paul
bolpx001
 
Posts: 297
Joined: Sat Nov 19, 2005 4:30 am
Location: Dublin, Ireland

Re: COM questions

Postby bolpx001 » Sun Apr 26, 2020 6:03 pm

I am not sure why all this was happening, but I am now canceling all open bets 30 seconds before official start and that seems to have solved the problem, for me at least. But I would still like to know which I should use async or sync and what difference it makes.
Any help or advice appreciated.
Best regards
Paul
bolpx001
 
Posts: 297
Joined: Sat Nov 19, 2005 4:30 am
Location: Dublin, Ireland

Re: COM questions

Postby alrodopial » Mon Apr 27, 2020 8:48 am

alrodopial
 
Posts: 1353
Joined: Wed Dec 06, 2006 9:59 pm

Re: COM questions

Postby bolpx001 » Tue Apr 28, 2020 1:08 am

Once again thanks you :)
Paul
bolpx001
 
Posts: 297
Joined: Sat Nov 19, 2005 4:30 am
Location: Dublin, Ireland


Return to Discussion

Who is online

Users browsing this forum: 2426CAROLINA and 24 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.