Hello,
I'm trying to create a rule to take the SP of a nominated runner and then place the closing trade inplay with greening, x number of ticks away. I'm struggling though.
Any ideas?
Take SP automation query
There are a few things you could try that won't specifically address the issue as presented, but may give alternative avenues of thought. For illustrative purposes, I'll assume that we're referring to a back bet, tho the methods below would work equally on a lay bet :
1. Place a series of bets at just before the off a range of ticks above the reverse price (i.e. 4-5 bets at 2,4,6,8,10 ticks)
2. On each bet, add the required offset ticks required
3. Keep those bets
4. IP, when the 1st bet has been matched, cancel the remaining 4 bets
This is a bit (i.e. a LOT!!
) kludgey as you could easily end up having more than one bet placed, likewise you could find (on short races) that your bets never get matched as the nominated runner shortens all the time from the off.
The second (and just as kludgey but preferred) approach could be to do as you now do:
1. Place your bet pre-race and TakeSP
2. Once the market goes in play, place a lay bet at x ticks below ActualSP (on the matched selection)
3. When the lay bet has been matched, run a small greening function over the freebet to equalise the profit
What you have effectively done is to takesp at the off and then, using the ActualSP dropdown, used the same price to push in your offset manually.
In short, you may have to adopt a bit of a hybrid approach to achieve this, none of which will be seemless.
1. Place a series of bets at just before the off a range of ticks above the reverse price (i.e. 4-5 bets at 2,4,6,8,10 ticks)
2. On each bet, add the required offset ticks required
3. Keep those bets
4. IP, when the 1st bet has been matched, cancel the remaining 4 bets
This is a bit (i.e. a LOT!!

The second (and just as kludgey but preferred) approach could be to do as you now do:
1. Place your bet pre-race and TakeSP
2. Once the market goes in play, place a lay bet at x ticks below ActualSP (on the matched selection)
3. When the lay bet has been matched, run a small greening function over the freebet to equalise the profit
What you have effectively done is to takesp at the off and then, using the ActualSP dropdown, used the same price to push in your offset manually.
In short, you may have to adopt a bit of a hybrid approach to achieve this, none of which will be seemless.
-
- Posts: 20
- Joined: Tue Feb 02, 2016 10:02 pm
Thank you so much, that helps so much
i forgot to add. obviously when adding the lay bet (as per 2nd option), place it on a liability equal to the stake on the back bet!! (i.e. £50 stake on back, then £50 liability on the lay). I made an assumption that this would be a given, but on reading back over my original response appreciate that I failed to mention this and only alluded to it via the freebet mention.
sometimes, i get easily distracted. here's a quick 'n dirty version of the logic that I would typically have employed for this as per option #2:
1. Place a back bet for £50 at 15 seconds to the off (12 ticks above best market price - should keep it from being matched)
2. TakeSP 1 second from the official off time
3. Place a lay bet on a £50 stake at 10 ticks (or whatever your tick target is) below the ActualSP JUST after the race starts
4. Green up to equalise once the lay has been matched (if p&l > £1 and last unmatched bet time > 6 seconds)
Simple and open to extension, especially on the greening (which could be measured leisurely in time to extract more profit)..
enjoy...
[edit] - also, rather than a nom version, i've added a mad version (v1.1) that purely takes the fave and does the stuff if the odds gap is > 1.5 (odds) between 1st and 2nd fave. prolly/definitely not a proven metric, but a framework to work on
1. Place a back bet for £50 at 15 seconds to the off (12 ticks above best market price - should keep it from being matched)
2. TakeSP 1 second from the official off time
3. Place a lay bet on a £50 stake at 10 ticks (or whatever your tick target is) below the ActualSP JUST after the race starts
4. Green up to equalise once the lay has been matched (if p&l > £1 and last unmatched bet time > 6 seconds)
Simple and open to extension, especially on the greening (which could be measured leisurely in time to extract more profit)..
enjoy...

[edit] - also, rather than a nom version, i've added a mad version (v1.1) that purely takes the fave and does the stuff if the odds gap is > 1.5 (odds) between 1st and 2nd fave. prolly/definitely not a proven metric, but a framework to work on
You do not have the required permissions to view the files attached to this post.