Stop Loss problem against Lay

Please post any questions regarding the program here.

Moderator: 2020vision

Stop Loss problem against Lay

Postby Magic Murf » Fri Aug 07, 2009 4:26 pm

Possibly I'm misundertanding the syntax of this trigger.

I layed a selection in a race from Excel.
Since I wanted to salvage some of my stake if the selection looked as if it was about to win, I used the trigger LAY-SLF1.10-L.
I expected this to do nothing unless my selection hit 1.10, in which case it should calculate and place a levelling back bet.

What actually happened was that my selection happily lengthened and looked rubbish :) .
Unfortunately a Stop Loss fired at about 100, just prior to the end of the race, so I lost pretty much my full liability despite my selection losing the race. :( [ouch].
I was watching the odds at the time, and at no time did anything resembling 1.10 appear ...

Any ideas as to what I've done wrong ??
Magic Murf
 
Posts: 44
Joined: Wed Jun 17, 2009 8:06 pm

Postby GaryRussell » Sat Aug 08, 2009 7:39 am

I've just tested that trigger and it will definitely only fire if the best lay odds are 1.1 or below. Can you look in your settled bet history on Betfair's website and check what the requested odds of the stop loss bet were. Also if you have a problem like like this in future it might be helpful to look in the transaction log under the account menu and check what it says about the stop loss being triggered.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Magic Murf » Sat Aug 08, 2009 10:17 am

Hi Gary.

Sorry, should have included that info in my original post:

The "odds requested" in my bet history on betfair show as 100.77 (i.e. what the stake was matched at, which isn't helpful).
The transaction log entry in BA showed it as a Stop Loss requesting odds of 1.01 (which I assumed was just your standard code, to match at the highest available): I didn't see any detail of what the software had spotted to trigger the stop loss.

Unfortunately on betfair at the moment they're having a glitch regarding posting the IPMAX and IPMIN values for recent races, otherwise I'd have checked to see what the Minimum in-play matched transaction was for the race (just in case). But as I said, I was watching the race onscreen and didn't see any sudden downwards lunge of odds at the point when the stop loss fired.

Presumably the stop loss works off matched bets: if so, is there any history of betfair perhaps supplying suspect or unreliable data in this area?
Over the last two months I've had a couple of weird instances of stop losses firing for apparently no reason, but up until now I'd put it down to my mis-use of the trigger :? .
Magic Murf
 
Posts: 44
Joined: Wed Jun 17, 2009 8:06 pm

Postby GaryRussell » Sat Aug 08, 2009 10:41 am

Do you have "Fill missing prices" ticked in preferences under "Grid interface"? If there are no backers at any point then this option will put 1.01 in the lay odds column on the grid interface. I think this may have triggered the stop loss, although it's not what I intended. I am investigating if this is possible.

If you are using "Fill missing prices" then I would advise you untick it for the time being.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Magic Murf » Sat Aug 08, 2009 2:51 pm

'Fraid not, no.

Have never used Fill Missing Prices, so it's probably not the culprit.
Magic Murf
 
Posts: 44
Joined: Wed Jun 17, 2009 8:06 pm

Postby GaryRussell » Sun Aug 09, 2009 9:33 am

It was worse than I thought. In all cases where there are no backers it fires the stop loss. I am certain this is what happened in your case as the transaction log showed it requests odds of 1.01. I have fixed this bug in the pre-release version (1.1.0.63) which I will be making the official release shortly. You can download it using the link below.

http://www.gruss-software.co.uk/Betting ... _Beta1.msi

Sorry for the inconvenience.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Magic Murf » Sun Aug 09, 2009 10:03 pm

Double-ouch!

But great that it's fixed now. :D
I'd guess that also explains the previous occasions where I noticed similar behaviour.

Thanks for your weekend work!

I'm afraid I have another query about triggered Stop Loss (I just started playing with Stop Losses through Excel triggers).
If I place a bet through Excel with an Offset and a Stop Loss, using code along the lines of "BACK-TLF6.6-SLF120-L", the unmatched Lay bet at 6.60 doesn't seem to be deleted when/if the Stop Loss fires. So I can end up with both the Offset and the Stop Loss lays sitting waiting to be matched. And, potentially, get matches against both.

Is that functioning according to spec?
And, if so, is there some way I can set it to delete the Offset?
And should I kick this off as a new thread? :oops:
Magic Murf
 
Posts: 44
Joined: Wed Jun 17, 2009 8:06 pm

Postby GaryRussell » Mon Aug 10, 2009 9:25 am

You got me again. I must apologise I really thought this was all working correctly. The TLF6.6 part of the trigger was not being interpreted correctly.

I have fixed the problem. Please uninstall and re-install from the link I provided previously.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Help

Who is online

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