Close Trade If In Loss Over 10 Secs Guardian Automation Bot

Post Reply
LilBobz
Posts: 20
Joined: Mon Dec 30, 2019 7:58 pm

LilBobz wrote:
Mon Nov 16, 2020 2:08 pm
Dallas wrote:
Mon Nov 16, 2020 2:04 pm
LilBobz wrote:
Mon Nov 16, 2020 1:32 pm
Think I have already spotted some errors in my rules file.

On the 'Signal if in Loss' rule I have now updated the Green All profit condition to 'less than' the stored value.

I'm also unsure if the Store P/L stored values rule should be saying -20%, 20% or 120% (I want it to trigger at a 20% of my liability loss) .
The adjustment on the SV should be minus 80%

That will leave a value of 20% which the condition would then look at
Thanks, I will give that a try later on today.
Seem to have it working now, thanks for your help Dallas :mrgreen:
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

LilBobz wrote:
Mon Nov 16, 2020 4:24 pm
LilBobz wrote:
Mon Nov 16, 2020 2:08 pm
Dallas wrote:
Mon Nov 16, 2020 2:04 pm


The adjustment on the SV should be minus 80%

That will leave a value of 20% which the condition would then look at
Thanks, I will give that a try later on today.
Seem to have it working now, thanks for your help Dallas :mrgreen:
No probs :)
LilBobz
Posts: 20
Joined: Mon Dec 30, 2019 7:58 pm

I've encountered a slight issue, which is no doubt of my own making.

Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.

I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.

I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.

It always seems to work when I have only made one lay in a race.

Any ideas what could be wrong?
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

LilBobz wrote:
Wed Nov 18, 2020 1:07 pm
I've encountered a slight issue, which is no doubt of my own making.

Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.

I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.

I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.

It always seems to work when I have only made one lay in a race.

Any ideas what could be wrong?
Check when the 'Store Value' rule thats storing the liability is triggering, if that only doing so once or a period of time then once you place a second round of bets that value after the adjustment may not be reachable.

I'd guess what you want is it to store the updated P/L after any new positions have been opened
LilBobz
Posts: 20
Joined: Mon Dec 30, 2019 7:58 pm

Dallas wrote:
Wed Nov 18, 2020 5:19 pm
LilBobz wrote:
Wed Nov 18, 2020 1:07 pm
I've encountered a slight issue, which is no doubt of my own making.

Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.

I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.

I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.

It always seems to work when I have only made one lay in a race.

Any ideas what could be wrong?
Check when the 'Store Value' rule thats storing the liability is triggering, if that only doing so once or a period of time then once you place a second round of bets that value after the adjustment may not be reachable.

I'd guess what you want is it to store the updated P/L after any new positions have been opened
Will try that. Once again thanks for all your help. It's very much appreciated.
Oscar
Posts: 33
Joined: Wed Mar 07, 2018 6:29 pm

Hi, I'm trying to automate something which is easy to do manually, but I'm making heavy weather of it in automation.

I would like to set up a signal, (or condition that I'm not aware of), to trigger another action rather than to hedge when I have reached a deficit of £1.5 or more.

I would appreciate any suggestion which would achieve the same outcome. I've tried to modify this automation, and others, without success.

Thanks in advance for any help :)
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Oscar wrote:
Tue Dec 29, 2020 3:59 pm
Hi, I'm trying to automate something which is easy to do manually, but I'm making heavy weather of it in automation.

I would like to set up a signal, (or condition that I'm not aware of), to trigger another action rather than to hedge when I have reached a deficit of £1.5 or more.

I would appreciate any suggestion which would achieve the same outcome. I've tried to modify this automation, and others, without success.

Thanks in advance for any help :)
What is the other action?

If its just to alert you then its just a case of changing the rule type from close trade to an Alert (then setting the alert parameters)
Oscar
Posts: 33
Joined: Wed Mar 07, 2018 6:29 pm

Thanks Dallas,

That was quick.

An example would be submitting bet IP horses which goes into deficit by £x amount.
I want to use this "amount" to trigger another action, in the same way as a condition is used to trigger an action like laying the the field or backing the 4th fav. if the conditions meet my criteria.

Does that explain well enough?
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Oscar wrote:
Tue Dec 29, 2020 4:10 pm
Thanks Dallas,

That was quick.

An example would be submitting bet IP horses which goes into deficit by £x amount.
I want to use this "amount" to trigger another action, in the same way as a condition is used to trigger an action like laying the the field or backing the 4th fav. if the conditions meet my criteria.

Does that explain well enough?
Yes, i see what you mean now

Assuming you want the loss to be in excess of '£X for 10sec as this example does then trigger another bet
You would just change this rule type to 'Place a back bet' (or lay bet), or 'Lay all Selections' etc, you could also change the arm times for both this rule and the signal so they only trigger in-play
Oscar
Posts: 33
Joined: Wed Mar 07, 2018 6:29 pm

Thanks Dallas, you're a star! :D
katrinachan
Posts: 5
Joined: Sun Jan 05, 2020 10:33 am

Hi Dallas i have taken your dobing rule and amended it so that i can use 2 selections. Would it be possible to add this rule or will it just greenup the entire market as soon as one of the horses hits -£5 after the 10 seconds has been reached.
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

katrinachan wrote:
Fri Mar 19, 2021 6:58 am
Hi Dallas i have taken your dobing rule and amended it so that i can use 2 selections. Would it be possible to add this rule or will it just greenup the entire market as soon as one of the horses hits -£5 after the 10 seconds has been reached.
It can be used with some minor edits
you'll need to change all three rules and apply them to Guardian nominated selection 1
Then change the 3rd rule (green up rule) to Close Trade on Selection with greening

Then duplicate each rule (select each and click the icon with two green arrows), and change the new three to apply to Guardian nominated selection 2
katrinachan
Posts: 5
Joined: Sun Jan 05, 2020 10:33 am

Dallas wrote:
Fri Mar 19, 2021 12:18 pm
katrinachan wrote:
Fri Mar 19, 2021 6:58 am
Hi Dallas i have taken your dobing rule and amended it so that i can use 2 selections. Would it be possible to add this rule or will it just greenup the entire market as soon as one of the horses hits -£5 after the 10 seconds has been reached.
It can be used with some minor edits
you'll need to change all three rules and apply them to Guardian nominated selection 1
Then change the 3rd rule (green up rule) to Close Trade on Selection with greening

Then duplicate each rule (select each and click the icon with two green arrows), and change the new three to apply to Guardian nominated selection 2
Thats great will give that a go this evening.
katrinachan
Posts: 5
Joined: Sun Jan 05, 2020 10:33 am

katrinachan wrote:
Fri Mar 19, 2021 5:27 pm
Dallas wrote:
Fri Mar 19, 2021 12:18 pm
katrinachan wrote:
Fri Mar 19, 2021 6:58 am
Hi Dallas i have taken your dobing rule and amended it so that i can use 2 selections. Would it be possible to add this rule or will it just greenup the entire market as soon as one of the horses hits -£5 after the 10 seconds has been reached.
It can be used with some minor edits
you'll need to change all three rules and apply them to Guardian nominated selection 1
Then change the 3rd rule (green up rule) to Close Trade on Selection with greening

Then duplicate each rule (select each and click the icon with two green arrows), and change the new three to apply to Guardian nominated selection 2
Thats great will give that a go this evening.
Hi dallas just made the changes and tried it in testing mode but it seems to have triggered on both horses at the same time even though from the odds it should have only triggered on one of them.
Is there any other changes i should make apart from the 2 you mentioned above.
I have included the log below.
Thanks

19/03/2021 17:59:50: [G_Auto] : £ 20.00 Back bet placed on Blackstone Cliff at 5. Fully matched at 5. Ref: 10006 ( Fill or kill bet with 60 seconds delay. Offsetting by 63% [A] with greening. )
19/03/2021 17:59:50: [G_Auto] : £ 20.00 Back bet placed on Tooreen Angel at 3.05. Fully matched at 3.05. Ref: 10007 ( Fill or kill bet with 60 seconds delay. Offsetting by 63% [A] with greening. )
19/03/2021 17:59:50: [G_Auto] : £ 54.05 Lay bet placed on Blackstone Cliff at 1.85. Entirely unmatched when it initially reached the market. Ref: 10009
19/03/2021 17:59:50: [G_Auto] : £ 54.46 Lay bet placed on Tooreen Angel at 1.12. Entirely unmatched when it initially reached the market. Ref: 10008
19/03/2021 17:59:59: [G_Auto] : Modify bet persistence 10008 from 'Cancel' to 'Keep'
19/03/2021 17:59:59: [G_Auto] : Modify bet persistence 10009 from 'Cancel' to 'Keep'

19/03/2021 18:01:08: Guardian has detected that the market is suspended
19/03/2021 18:01:10: Guardian has detected that the market is in-play
19/03/2021 18:01:10: Guardian has detected that the market is now unsuspended
19/03/2021 18:01:13: [G_Auto] : Automation Signal for market: loss = 1
19/03/2021 18:01:13: [G_Auto] : Automation Signal for market: loss = 2
19/03/2021 18:01:14: [G_Auto] : Automation Signal for market: loss - Cleared
19/03/2021 18:01:16: [G_Auto] : Automation Signal for market: loss = 1
19/03/2021 18:01:16: [G_Auto] : Automation Signal for market: loss = 2
19/03/2021 18:01:16: [G_Auto] : Automation Signal for market: loss - Cleared
19/03/2021 18:01:50: [G_Auto] : Automation Signal for market: loss = 1
19/03/2021 18:01:50: [G_Auto] : Automation Signal for market: loss = 2
19/03/2021 18:01:51: [G_Auto] : Automation Signal for market: loss = 3
19/03/2021 18:01:51: [G_Auto] : Automation Signal for market: loss = 4
19/03/2021 18:01:51: [G_Auto] : Automation Signal for market: loss - Cleared
19/03/2021 18:01:52: [G_Auto] : Automation Signal for market: loss = 1
19/03/2021 18:01:52: [G_Auto] : Automation Signal for market: loss = 2
19/03/2021 18:01:53: [G_Auto] : Automation Signal for market: loss = 3
19/03/2021 18:01:53: [G_Auto] : Automation Signal for market: loss = 4
19/03/2021 18:01:54: [G_Auto] : Automation Signal for market: loss = 5
19/03/2021 18:01:54: [G_Auto] : Automation Signal for market: loss = 6
19/03/2021 18:01:55: [G_Auto] : Automation Signal for market: loss = 7
19/03/2021 18:01:55: [G_Auto] : Automation Signal for market: loss = 8
19/03/2021 18:01:56: [G_Auto] : Automation Signal for market: loss = 9
19/03/2021 18:01:56: [G_Auto] : Automation Signal for market: loss = 10
19/03/2021 18:01:56: [G_Auto] : Cancelling bets 10008
19/03/2021 18:01:56: [G_Auto] : Automation Signal for market: stop = 10
19/03/2021 18:01:56: [G_Auto] : Cancelling bets 10009
19/03/2021 18:01:56: [G_Auto] : Automation Signal for market: stop = 10
19/03/2021 18:01:57: [G_Auto] : Placed closure bet with greening on Tooreen Angel by Laying 18.77 at 3.25
19/03/2021 18:01:57: [G_Auto] : Placed closure bet with greening on Blackstone Cliff by Laying 11.11 at 9
19/03/2021 18:01:59: [G_Auto] : Automation Signal for market: stop = 10
19/03/2021 18:01:59: [G_Auto] : Automation Signal for market: stop = 10
19/03/2021 18:02:00: [G_Auto] : Placed closure bet with greening on Blackstone Cliff by Laying 1.39 at 8
19/03/2021 18:02:02: [G_Auto] : Automation Signal for market: stop = 10
19/03/2021 18:02:02: [G_Auto] : Automation Signal for market: stop = 10
19/03/2021 18:02:04: [G_Auto] : Placed closure bet with greening on Blackstone Cliff by Laying 0.03 at 8.4
19/03/2021 18:03:24: Guardian has detected that the market is suspended
19/03/2021 18:03:29: Guardian has detected that the market is now unsuspended
19/03/2021 18:04:07: Guardian has detected that the market is suspended
User avatar
Dallas
Posts: 22672
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Ah yes sorry forgot about this part.
On the signal tab (of all three signal rules), its setting a signal on the 'market' - so they are clashing when using it on two selections.

If you change these and enter the same information I've used into the 'Signal for current selection' area
and in the 'Signal for Market' area clear those fields and set them back to none

That should do it
Post Reply

Return to “Bet Angel Automation - General”