Problems with one trigger

Please post any questions regarding the program here.

Moderator: 2020vision

Postby heinz_pt » Fri Mar 09, 2012 1:14 am

Hello again guys, I'm still having problems with the trigger.

The ultimate version is: LAY-TL63-SL10P-L-SLC1-IPC
I tested with and this has what happened

Lay at 1.8
Stop Loss 1.69 not fully matched fill or update 1.68 that entered at 1.74 ???
(This is from transaction log)

According to my calculations, 10% stop loss should be at 1.64

Any ideas?
heinz_pt
 
Posts: 24
Joined: Tue Feb 21, 2012 1:10 am

Postby heinz_pt » Fri Mar 09, 2012 1:16 am

I have in the same Excel sheet, two triggers working in two diferent markets, can this be the problem?
heinz_pt
 
Posts: 24
Joined: Tue Feb 21, 2012 1:10 am

Postby GaryRussell » Fri Mar 09, 2012 9:58 pm

10% is deducted from the fractional odds ie. ((1.8 - 1) x 0.9) + 1 = 1.72

If you are using the Beta version then you have the option to change the way this is calculated. There is an additional option in general preferences to calculate on decimal odds instead of fractional.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby negapo » Sat Mar 10, 2012 1:28 pm

As regards to the code, try this:

Code: Select all
Dim EventId As Integer, MyEvent As Variant, AllEvents As Variant, TimeOfEvent As Date

EventId = Range("N1")
If ba Is Nothing Then Set ba = New BettingAssistantCom.ComClass
AllEvents = ba.getEvents(EventId)

For Each MyEvent In AllEvents
    If MyEvent.eventname = "Probabilidades" Then
        TimeOfEvent = GamesEvent.starttime
    End If
Next MyEvent
cells(i, 6).Value = TimeOfEvent




I dont have access to the com now but i think the event is a collection of markets (like Over/Under, MatchOdds, etc.). You have to loop until you get the market your looking for.
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Postby heinz_pt » Sat Mar 10, 2012 8:17 pm

GaryRussell wrote:10% is deducted from the fractional odds ie. ((1.8 - 1) x 0.9) + 1 = 1.72

If you are using the Beta version then you have the option to change the way this is calculated. There is an additional option in general preferences to calculate on decimal odds instead of fractional.


Worked, thanks a lot.

negapo - I wil try your code. Thanks.
heinz_pt
 
Posts: 24
Joined: Tue Feb 21, 2012 1:10 am

Previous

Return to Help

Who is online

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