Lay Scorer & Green Up after 20mins Guardian Automation Bot

User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

JTEDL - will consider that option too. and 110% agree on match selection. you could have a set of rules that covered MO/CS and OUxx that with the right games would have a profit over at least one of those markets. conversely, with the worng match(es), you could lose on every single one of the above..

70% science 30% art!! ;)
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Dallas wrote:
Fri Dec 14, 2018 8:56 am
Dipstick wrote:
Fri Dec 14, 2018 8:50 am
Dallas

Thanks for the reply. I have 20ms refresh on (through streaming) but probably 250 markets open.
D
With that rate and number of markets, it shouldn't effect it as it would refresh each every 5 secs at most

Did you add the volume condition to the lay rules or green up, if it was the lay rules then it will not stop the green ups?

The 25 ticks should stop it as it requires 25 for the lay to trigger so following a goal the drift should always be more, you could try 15 ticks for the green up as that shouldn't effect the overall functionality of the rule
So as to keep this thread on topic I've moved your query across to a new thread as it's looking like an issue with retrieving matched bets from Betfair rather than being related to this rules file in some way
viewtopic.php?f=37&t=17954&p=175933#p175933
badboy13
Posts: 45
Joined: Wed Feb 01, 2017 10:33 pm

Dallas wrote:
Sat Dec 08, 2018 11:54 am
kqv91y wrote:
Sat Dec 08, 2018 11:15 am
Looks good would it work best if underdog scored first goal.
Guess would have to use a signal before kickoff to identify underdog.
Yes a signal at KO would probably be the best way to identify the underdog and usually, the odds decay will be less during the 20mins if the underdog scores first
Looking at doing this, so I create a new signal at start of inplay to set a signal if one selection is greater odds then other to set signal as underdog. Won't this cause a problem with the green ups though as they set to trigger 20 minutes after first rule?
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

badboy13 wrote:
Wed Jan 02, 2019 11:45 pm
Dallas wrote:
Sat Dec 08, 2018 11:54 am
kqv91y wrote:
Sat Dec 08, 2018 11:15 am
Looks good would it work best if underdog scored first goal.
Guess would have to use a signal before kickoff to identify underdog.
Yes a signal at KO would probably be the best way to identify the underdog and usually, the odds decay will be less during the 20mins if the underdog scores first
Looking at doing this, so I create a new signal at start of inplay to set a signal if one selection is greater odds then other to set signal as underdog. Won't this cause a problem with the green ups though as they set to trigger 20 minutes after first rule?
Yes and on the signal rule you can use the relative odds condition to test the price between selections in row 1 and 2 are greater than 'X' ticks or '%'
It won't cause any issues with the green up rule, it will only place a bet if there is a position to close
badboy13
Posts: 45
Joined: Wed Feb 01, 2017 10:33 pm

The 20 minute green up is set to trigger 20 minutes after first rule triggers so if set a new signal rule at kickoff won’t this be effected?
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

badboy13 wrote:
Thu Jan 03, 2019 12:20 pm
The 20 minute green up is set to trigger 20 minutes after first rule triggers so if set a new signal rule at kickoff won’t this be effected?
I see what you mean now, yes it will be affected so will need some editing if adding in this signal rule

First on the two lay bet rules go to the signal tab and add
Set Signal on market
named layplaced (or call it whatever you want)

If you arm the green up after 20mins rule from 20mins after KO till 25mins after the lay bet rule expires
then add a signal changed condition
signal named layplaced (or whatever you called it)
changed between 1200secs to 1500secs

Then arm the two green up after goal rules from around 1min after KO till 25mins after the lay bet rule expires
then add a signal changed condition
signal named layplaced (or whatever you called it)
changed between 95secs to 1140secs

That will do it

Effectivly the signal now being set by the lay bet is being used by the green up rules to trigger, so the two following a goal can trigger upto 19mins after a goal should the other conditions be met
The green up after 20mins will trigger 20mins after the signal is set by the lay bet being placed
badboy13
Posts: 45
Joined: Wed Feb 01, 2017 10:33 pm

Thanks will give it a test.
badboy13
Posts: 45
Joined: Wed Feb 01, 2017 10:33 pm

I've done that, set 2 signals at start of match to set home or away team as underdog. Lay bet will only be placed if that team is underdog. But what if favourite scores first (it won't lay) but if underdog equalises 1-1 won't it then place a lay?
badboy13
Posts: 45
Joined: Wed Feb 01, 2017 10:33 pm

I'm finding if the first goal is scored just before half time, the 20 minute green up includes the 15 minute break so no chance of an equaliser as it greens up during half time, any way to fix that?
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

badboy13 wrote:
Thu Jan 03, 2019 9:03 pm
I've done that, set 2 signals at start of match to set home or away team as underdog. Lay bet will only be placed if that team is underdog. But what if favourite scores first (it won't lay) but if underdog equalises 1-1 won't it then place a lay?
Yes you would still need the initial signal to identify the underdog and 'stop' the rules from triggering if they don't score first, which I think the users who originally asked the question had then done
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

badboy13 wrote:
Mon Jan 07, 2019 9:00 pm
I'm finding if the first goal is scored just before half time, the 20 minute green up includes the 15 minute break so no chance of an equaliser as it greens up during half time, any way to fix that?
I have this in my own variation of this file, I've done it by using 2 lay rules and 2 green up rules
Lay A is armed till 30mins and sets signal X
Green A then triggers 20 mins after signal X is set

Lay B is armed 30 mins till 1hr 5mins and sets signal Y
Green Y then triggers 35 mins after signal Y is set

It doesn't give exactly 20mins all the time but you could add further ones depending on how close/precise to 20mins you wanted it

I also have conditions in the green after goal rule so only one or the other can trigger
badboy13
Posts: 45
Joined: Wed Feb 01, 2017 10:33 pm

In the Southampton game tonight, Derby scored a goal, market was suspended/unsuspened and BetAngel placed lay bet, the goal was then reviewed by VAR and disallowed so odds went back up, BetAngel then traded out. Later Betfair voided the Lay bet leaving just the back bet. Is there a way of setting BetAngel placing that back bet so quickly?

1/16/2019 20:23:22: Guardian has detected that the market is now unsuspended
1/16/2019 20:24:28: [G_Auto] : £ 20.00 Lay bet placed on Derby at 2.2. Entirely unmatched when it initially reached the market. ( Opening Stop at 3 ticks. Place stop at 5 ticks )
1/16/2019 20:24:34: Stop triggered. Modify bet from 20 @ 2.2 to 20 @ 2.3
1/16/2019 20:25:29: Guardian has detected that the market is suspended
1/16/2019 20:25:32: Guardian has detected that the market is now unsuspended
1/16/2019 20:26:58: [G_Auto] : Placed closure bet with greening on Derby by Backing 9.70 at 4.7
krisa99
Posts: 3
Joined: Sat Mar 16, 2019 7:18 am

Looks interesting.
How should the halftime break be handled?
I guess 15 minutes will be wasted if the first goal is made just before 45 min.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

badboy13 wrote:
Wed Jan 16, 2019 10:53 pm
In the Southampton game tonight, Derby scored a goal, market was suspended/unsuspened and BetAngel placed lay bet, the goal was then reviewed by VAR and disallowed so odds went back up, BetAngel then traded out. Later Betfair voided the Lay bet leaving just the back bet. Is there a way of setting BetAngel placing that back bet so quickly?

1/16/2019 20:23:22: Guardian has detected that the market is now unsuspended
1/16/2019 20:24:28: [G_Auto] : £ 20.00 Lay bet placed on Derby at 2.2. Entirely unmatched when it initially reached the market. ( Opening Stop at 3 ticks. Place stop at 5 ticks )
1/16/2019 20:24:34: Stop triggered. Modify bet from 20 @ 2.2 to 20 @ 2.3
1/16/2019 20:25:29: Guardian has detected that the market is suspended
1/16/2019 20:25:32: Guardian has detected that the market is now unsuspended
1/16/2019 20:26:58: [G_Auto] : Placed closure bet with greening on Derby by Backing 9.70 at 4.7
Sorry must have missed this question,

You can delay a bet from triggering using signals, there's an example in the tennis shared files section you could copy from which shows the pricipals of the set up
viewtopic.php?f=51&t=11962
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

krisa99 wrote:
Sun Mar 17, 2019 8:46 am
Looks interesting.
How should the halftime break be handled?
I guess 15 minutes will be wasted if the first goal is made just before 45 min.
The easiest way is perhaps to arm the lay scorer rule till around 30mins then add an identical rule to lay from 30mins onwards and change the signal name this sets
Then add another green up after 20mins rule with a 'Signal Changed condition'
Has the signal named (whatever you called your new signal
changed 2100 to 2160 secs

That will instruct it to trigger 35mins after the lay bet is placed (providing another goal hasn't been scored)
Allowing for 15mins at HT this will trigger after around 20mins of play time
Post Reply

Return to “Bet Angel Automation - Football”