HOORAY I DID IT! now i need help...

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

Moderator: 2020vision

HOORAY I DID IT! now i need help...

Postby Dmite036 » Fri May 08, 2009 7:45 am

Just announcing i have created my first trigger in excel after initially thinking this is way too hard. (who cares i hear you all sigh!)

I have set up a lay trigger to lay my personal selections under $7.80.
What is the best way to feed my own individual selections in to excel?

I can easily cut and paste the names of my selections in to excel but i'm not sure how to link it all up.

I would also like some advice on the best way to request the lowest lay price. I was thinking a formula where i can request maybe one tick above the last back price matched.. not sure.

Any help i would be rapt
Dmite036
 
Posts: 20
Joined: Mon Apr 13, 2009 9:10 am

Postby danjuma » Fri May 08, 2009 11:02 am

I am no expert myself, still learning, but here is a suggestion to the first part of your question. More experienced people on this forum might have a better suggetsion.

Copy and paste your selections in say column AA:AA. Better to copy them from BA or from Betfair so you get the exact text (spelling, spaces abbreviations etc) right.

Then in your trigger formualr, you can use a statement like

=If(AND(ISNUMBER(MATCH(A5,AA:AA,0)),F5<7.8),"LAY","")

What this does is that it checks the selection in A5 against your list in AA:AA, and if there is a match and odds are below 7.8, it triggers.

Hope this helps.
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby throwmeadisc » Fri May 08, 2009 11:19 am

If you are going to compare horse names for a match then my suggestion is to remove all spaces and make both texts UPPERCASE or lowercase.

It helps get better matches especially if the names are not generated from Betfair names. As sometimes for example, Sporting Life will have a horsename as "Mr Big" but betfair will have it as "Mrbig"

Also it may be worth you adding in the time of race as sometimes two horses with the same name are running on the day. 'Free World' anyone? It's quite rare, but does happen.

A simple formula to remove spaces and make uppercase:


Code: Select all
=UPPER(SUBSTITUTE(A1," ",""))


Al 8)
User avatar
throwmeadisc
 
Posts: 165
Joined: Fri Dec 14, 2007 11:06 am
Location: London, UK

Postby danjuma » Fri May 08, 2009 2:20 pm

throwmeadisc wrote:...Also it may be worth you adding in the time of race as sometimes two horses with the same name are running on the day. 'Free World' anyone? It's quite rare, but does happen...[/code]Al 8)


Good tip about adding the time, throwmeadisc. Never thought of that. What formula can one use to extract the time from A1?

Cheers
Dan
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby Captain Sensible » Fri May 08, 2009 3:24 pm

Have a look at this thread as it basically covers what you're trying to do

http://gruss-software.co.uk/forum/viewt ... an+element
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby Dmite036 » Fri May 08, 2009 4:08 pm

Works awesome so far guys, thanks very much.

On a smaller note, have you any suggestions on a way to lay on potentially low liquidity markets such as the Aus horse racing. I don't want to just take any old lay price under $7.80 if the back price is only sitting at $5's.

You guys have been a big help so again, thanks.
Dmite036
 
Posts: 20
Joined: Mon Apr 13, 2009 9:10 am

Postby barnov » Fri May 08, 2009 6:58 pm

Here's some code I use to capture events & runners from BA, whcih I then sort and use as a table for a VLOOKUP function from the main BA sheet. (I use it for dogs hence use of the term trap, but for you that shouldn't matter)

I run the code from a sheet called wsWrk1 and save runners to wsLook1

Code: Select all
' Declare Variables

Private MyMarket As String
Private RefreshCount As Long

Private Sub worksheet_change(ByVal Target As Range)
       
 Application.EnableEvents = False
 Application.Calculation = xlCalculationManual
   
 Select Case Target.Columns.Count
   Case 16 'odds and market info update
     
     Call Market_Change
     
     If RefreshCount = 4 Then Call Lookup_Runners
         
   Case Else
 End Select

LeaveRoutine:
 Application.EnableEvents = True
 Application.Calculation = xlCalculationAutomatic

End Sub
Private Sub Market_Change()

 'check to see if market has changed
 If Worksheets("wsWrk1").Range("A1").Value = MyMarket Then
    RefreshCount = RefreshCount + 1
 Else
    MyMarket = Worksheets("wsWrk1").Range("A1").Value
    RefreshCount = 1
 End If
       
End Sub

Private Sub Lookup_Runners()
Dim dcell As Range
Dim trap As String
   
For Each dcell In Worksheets("wsWrk1").Range("a5:a10")
    TrapCell = TrapCell + 1
    Worksheets("wsLook1").Cells(TrapCell, 1).Value = MyMarket
    Worksheets("wsLook1").Cells(TrapCell, 2).Value = dcell.Value
Next dcell
   
End Sub


Hope it helps

Paul
barnov
 
Posts: 9
Joined: Tue Jan 06, 2009 11:07 pm
Location: London

Postby barnov » Fri May 08, 2009 7:10 pm

Should have also added that currently I manually go through the races I'm interested in after checking that the wsLook1 sheet has been updated... so a little time consuming & manual/repititive.

I beleive that there is a way to use the Q2 cell to auto scroll through races, but not sure what value should be

perhaps others could add comment here

Paul.
barnov
 
Posts: 9
Joined: Tue Jan 06, 2009 11:07 pm
Location: London

Postby Dmite036 » Sat May 09, 2009 5:33 am

Well some of the extra formulas are a bit beyond me. Thanks for the effort though. I had this thing working last night, but now it just sits there not triggeriing.

I am using:
=If(AND(ISNUMBER(MATCH(A5,AA:AA,0)),F5<7.8),"LAY","")

but nothing happens so i am officially lost....

:(
Dmite036
 
Posts: 20
Joined: Mon Apr 13, 2009 9:10 am

Postby Dmite036 » Sat May 09, 2009 10:43 am

All sorted.... :)

Slight typo...
Dmite036
 
Posts: 20
Joined: Mon Apr 13, 2009 9:10 am


Return to Discussion

Who is online

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

cron