I have an automation rule whereby I lay specific horses in play to a set liability. I started with £1 liability and have gradually increased this to £3/5/7/10 and whilst each of them is being taken fine, they quite often don’t fill the liability.
For instance, let’s say I’ve laid a horse at 3.5 odds for a £10 stake but only £8.35 is matched, is there a way to keep the lay open or try again at slightly higher odds to get my full liability filled? There doesn’t seem to be an issue with liquidity but I can’t work out why it’s not getting more on.
Full liability filled
Quick update, I’ve just watched a race and it attempted to lay at higher odds but got matched at lower so I understand why my liability is lower but preferably I’d like it to trigger again to get up to my full liability. I know I can get it to rearm but I don’t want it to do that for another full stake. Hope someone can help.
There's a rules file part of this example which might help, it will certainly show how to keep triggering bets up until the full liability required is matched
viewtopic.php?t=23981
viewtopic.php?t=23981
-
- Posts: 1653
- Joined: Fri Nov 20, 2015 9:38 am
You will need to
- set a MaxLability for the Market
- Capture the P&L for each selection via a Stored Value (SV) (a rule that runs all the time)
- Set a NetStake = MaxLiability - P&L SV
- Your Lay bet will then use NetStake as a Liability bet (and you can keep on firing it iff selections liability < MaxLiability for the market...
Watch out for differences in "sign" (-ve & +ve) & may have to Initialise NetStake as zero, depending on how you go about it...
Pretty sure Dallas has some examples of something similar in the automation folder just can't remember which one..
- set a MaxLability for the Market
- Capture the P&L for each selection via a Stored Value (SV) (a rule that runs all the time)
- Set a NetStake = MaxLiability - P&L SV
- Your Lay bet will then use NetStake as a Liability bet (and you can keep on firing it iff selections liability < MaxLiability for the market...
Watch out for differences in "sign" (-ve & +ve) & may have to Initialise NetStake as zero, depending on how you go about it...
Pretty sure Dallas has some examples of something similar in the automation folder just can't remember which one..
I'm interested in this too - I can see that it's possible to stake by Liability using an SV, and I can store my current liability by selection as a SV, but I can't see how I can set the Liability SV to be 'my maximum liability' MINUS the current liability, therefore providing the remaining liability I would like to fill.
Basically, what I would like to do is
Set a SV with my 'Max-Liability'
Place a lay bet and record the 'Matched-Liability' as a SV
Place another lay bet with liability being a calculation of 'Max-Liability' MINUS 'Matched-Liability'
Any ideas?
If this makes any sense at all!
Basically, what I would like to do is
Set a SV with my 'Max-Liability'
Place a lay bet and record the 'Matched-Liability' as a SV
Place another lay bet with liability being a calculation of 'Max-Liability' MINUS 'Matched-Liability'
Any ideas?
If this makes any sense at all!
-
- Posts: 1653
- Joined: Fri Nov 20, 2015 9:38 am
Set a SV with my 'Max-Liability'tommyc333 wrote: ↑Mon Dec 16, 2024 7:16 pmI'm interested in this too - I can see that it's possible to stake by Liability using an SV, and I can store my current liability by selection as a SV, but I can't see how I can set the Liability SV to be 'my maximum liability' MINUS the current liability, therefore providing the remaining liability I would like to fill.
Basically, what I would like to do is
Set a SV with my 'Max-Liability'
Place a lay bet and record the 'Matched-Liability' as a SV
Place another lay bet with liability being a calculation of 'Max-Liability' MINUS 'Matched-Liability'
Any ideas?
If this makes any sense at all!
==> One of your 1st rules, Set a SV, MaxLiability = - £100 (say)
Place a lay bet and record the 'Matched-Liability' as a SV
==> Set up a rule to record the P&L for EVERY selection, running every refresh, unlimited triggers MatchedLiability = P&L for selection (this is available from drop down list & will be -ve if a bet has been matched)
Place another lay bet with liability being a calculation of 'Max-Liability' MINUS 'Matched-Liability'
==> Set NetStake = -1 * (MaxLiability - MatchedLiability) (this gives you a +ve NetStake)
(NetStake should now be equal to your remaining liability if any bet has been matched)
==> Place a Lay Liability bet using NetStake...
(not looked at Dallas's example above. He may have an easier way to do it)