Hedge inplay at Fixed odds automatically after placing a Bet

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

Is it possible to hedge your position in play, after placing a bet inplay, at fixed odds. At the moment I have to do it manually.

I have automation to place a lay bet and I want to hedge but the only options are at a number of ticks above and or a % above, but no option to hedge at a price.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

See image below

Capture.JPG

It's the same no matter if its pre-off or in-play, you'll just need a 'Number of matched bets' or 'Matched bets amount' condition so it knows when to trigger
You do not have the required permissions to view the files attached to this post.
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

Dallas wrote:
Thu Apr 28, 2022 6:11 pm
See image below


Capture.JPG


It's the same no matter if its pre-off or in-play, you'll just need a 'Number of matched bets' or 'Matched bets amount' condition so it knows when to trigger
Do I add that rule separately for each of my rules? I have 10 place bet rules but only 1 will trigger inplay. Or can I just make 1 rule to hedge all at a fixed price, and set it to be always armed?
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

gstar1975 wrote:
Thu Apr 28, 2022 6:18 pm
Dallas wrote:
Thu Apr 28, 2022 6:11 pm
See image below


Capture.JPG


It's the same no matter if its pre-off or in-play, you'll just need a 'Number of matched bets' or 'Matched bets amount' condition so it knows when to trigger
Do I add that rule separately for each of my rules? I have 10 place bet rules but only 1 will trigger inplay. Or can I just make 1 rule to hedge all at a fixed price, and set it to be always armed?
You can just use the one Close Trade with Greening rule, but it will only calculate the stake required to green up the amount of matched bets you have at the time it triggers
So you probably want it to only trigger after your last bet is fully matched
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

Dallas wrote:
Thu Apr 28, 2022 6:24 pm
gstar1975 wrote:
Thu Apr 28, 2022 6:18 pm
Dallas wrote:
Thu Apr 28, 2022 6:11 pm
See image below


Capture.JPG


It's the same no matter if its pre-off or in-play, you'll just need a 'Number of matched bets' or 'Matched bets amount' condition so it knows when to trigger
Do I add that rule separately for each of my rules? I have 10 place bet rules but only 1 will trigger inplay. Or can I just make 1 rule to hedge all at a fixed price, and set it to be always armed?
You can just use the one Close Trade with Greening rule, but it will only calculate the stake required to green up the amount of matched bets you have at the time it triggers
So you probably want it to only trigger after your last bet is fully matched
and how do I do that? Trigger only after my last bet is fully matched. Do I select for EVERY selection or ANY selection? I have a number of matched bets set to less than 2. It didnt work the first time so must be something I'm not doing right. I had the trigger set to inplay from 0secs to 1hour and 1 trigger, so do I need to set it to "ALWAYS ARMED"?
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

gstar1975 wrote:
Thu Apr 28, 2022 6:44 pm
Dallas wrote:
Thu Apr 28, 2022 6:24 pm
gstar1975 wrote:
Thu Apr 28, 2022 6:18 pm


Do I add that rule separately for each of my rules? I have 10 place bet rules but only 1 will trigger inplay. Or can I just make 1 rule to hedge all at a fixed price, and set it to be always armed?
You can just use the one Close Trade with Greening rule, but it will only calculate the stake required to green up the amount of matched bets you have at the time it triggers
So you probably want it to only trigger after your last bet is fully matched
and how do I do that? Trigger only after my last bet is fully matched. Do I select for EVERY selection or ANY selection? I have a number of matched bets set to less than 2. It didnt work the first time so must be something I'm not doing right. I had the trigger set to inplay from 0secs to 1hour and 1 trigger, so do I need to set it to "ALWAYS ARMED"?
If its only to trigger in-play then you can use the 'Relative to in-play time' option

It depends how many selections you are betting one, if its just one (but could be any of them ie, its not always the fav, 2nd fav etc) you'd apply the rule to 'ANY' selection
If its multiple selections you are betting on you could apply it to 'Every' selection and use a 'Number of matched bets' condition on selection is >0

I'd need to know exactly what your betting pattern is to tell you exactly what conditions you need to add to know when your last bet is matched
for example, do you place the same number and value of bets each market,
do they trigger at specfic times or only once conditions are met,
when is the latest the last bet can trigger
etc etc
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

Dallas wrote:
Thu Apr 28, 2022 6:54 pm
gstar1975 wrote:
Thu Apr 28, 2022 6:44 pm
Dallas wrote:
Thu Apr 28, 2022 6:24 pm


You can just use the one Close Trade with Greening rule, but it will only calculate the stake required to green up the amount of matched bets you have at the time it triggers
So you probably want it to only trigger after your last bet is fully matched
and how do I do that? Trigger only after my last bet is fully matched. Do I select for EVERY selection or ANY selection? I have a number of matched bets set to less than 2. It didnt work the first time so must be something I'm not doing right. I had the trigger set to inplay from 0secs to 1hour and 1 trigger, so do I need to set it to "ALWAYS ARMED"?
If its only to trigger in-play then you can use the 'Relative to in-play time' option

It depends how many selections you are betting one, if its just one (but could be any of them ie, its not always the fav, 2nd fav etc) you'd apply the rule to 'ANY' selection
If its multiple selections you are betting on you could apply it to 'Every' selection and use a 'Number of matched bets' condition on selection is >0

I'd need to know exactly what your betting pattern is to tell you exactly what conditions you need to add to know when your last bet is matched
for example, do you place the same number and value of bets each market,
do they trigger at specfic times or only once conditions are met,
when is the latest the last bet can trigger

etc etc
So I have a rating that starts when the race goes inplay, starts at Zero and rises in steps of 1, so the first horse to reach 10 triggers a lay bet. I only want the first one to trigger, and then have a fixed odds exit at say 50.0

I have an entry rule for the top 10 runners and then a Green All rule at the end.

Green Up at Fixed Price Auto Entry.jpg
Green Up at Fixed Price Auto.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

In that case the Close trade rule can be applied to 'ANY' selection
and its just the second condition that you've used needs changing to a
Number of matched bets on selection is greater than 0

and the third condition needs to be set to
unmatched bets is equal 0 (not greater than 0)
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

Dallas wrote:
Fri Apr 29, 2022 2:32 pm
In that case the Close trade rule can be applied to 'ANY' selection
and its just the second condition that you've used needs changing to a
Number of matched bets on selection is greater than 0

and the third condition needs to be set to
unmatched bets is equal 0 (not greater than 0)
Thanks Dallas! I will amend and report back.
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

gstar1975 wrote:
Fri Apr 29, 2022 2:35 pm
Dallas wrote:
Fri Apr 29, 2022 2:32 pm
In that case the Close trade rule can be applied to 'ANY' selection
and its just the second condition that you've used needs changing to a
Number of matched bets on selection is greater than 0

and the third condition needs to be set to
unmatched bets is equal 0 (not greater than 0)
Thanks Dallas! I will amend and report back.
It worked but, after the exit was hit some lay bets at the exit price were also placed but obviously not filled as the race was over, but if they were filled it could be more profit! So not a bad problem to have.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

gstar1975 wrote:
Fri Apr 29, 2022 2:44 pm
gstar1975 wrote:
Fri Apr 29, 2022 2:35 pm
Dallas wrote:
Fri Apr 29, 2022 2:32 pm
In that case the Close trade rule can be applied to 'ANY' selection
and its just the second condition that you've used needs changing to a
Number of matched bets on selection is greater than 0

and the third condition needs to be set to
unmatched bets is equal 0 (not greater than 0)
Thanks Dallas! I will amend and report back.
It worked but, after the exit was hit some lay bets at the exit price were also placed but obviously not filled as the race was over, but if they were filled it could be more profit! So not a bad problem to have.
You only need it to trigger one time

Just noticed you had it set to place a new bet every refresh so depending on your refresh rate you could be placing up to lay 50 bets - which would be costly if they all got matched
User avatar
gstar1975
Posts: 776
Joined: Thu Nov 24, 2011 11:59 am

Dallas wrote:
Fri Apr 29, 2022 4:20 pm
gstar1975 wrote:
Fri Apr 29, 2022 2:44 pm
gstar1975 wrote:
Fri Apr 29, 2022 2:35 pm


Thanks Dallas! I will amend and report back.
It worked but, after the exit was hit some lay bets at the exit price were also placed but obviously not filled as the race was over, but if they were filled it could be more profit! So not a bad problem to have.
You only need it to trigger one time

Just noticed you had it set to place a new bet every refresh so depending on your refresh rate you could be placing up to lay 50 bets - which would be costly if they all got matched
I managed to change that. Thanks for the advice.
Post Reply

Return to “Bet Angel - Automation”