Full liability filled

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
ads13
Posts: 19
Joined: Mon May 13, 2024 1:36 pm

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.
ads13
Posts: 19
Joined: Mon May 13, 2024 1:36 pm

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.
User avatar
Dallas
Posts: 23589
Joined: Sun Aug 09, 2015 10:57 pm

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
sionascaig
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..
tommyc333
Posts: 61
Joined: Fri Feb 07, 2020 3:58 pm

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!
sionascaig
Posts: 1653
Joined: Fri Nov 20, 2015 9:38 am

tommyc333 wrote:
Mon Dec 16, 2024 7:16 pm
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!
Set a SV with my 'Max-Liability'

==> 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)
tommyc333
Posts: 61
Joined: Fri Feb 07, 2020 3:58 pm

Thank you - will try that!
Post Reply

Return to “Bet Angel - Automation”