Close Trade If In Loss Over 10 Secs Guardian Automation Bot

Post Reply
RogerTaurus
Posts: 14
Joined: Fri Nov 09, 2018 11:47 pm

Thank you Dallas I had missed changing the Signal for market to Signal for Current selection in the Green up selection rule. Subsequent testing showed that this has solved the problem. When i am manually trading if i see the pressure building for the back bet to drift i will close out to equalise the bet to zero or take a one tick loss is there a way of doing this in automation?
Digby3192
Posts: 14
Joined: Tue Jun 08, 2021 12:24 pm

Sorry for the "newbie" question but how do you run this bot with another eg DOB with Moving Exit Guardian Automation Bot?

Thanks in advance.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Digby3192 wrote:
Fri Jun 11, 2021 4:34 pm
Sorry for the "newbie" question but how do you run this bot with another eg Close Trade If In Loss Over 10 Secs Guardian Automation Bot. Can two bots be run on the same market?

Thanks in advance.
Yes, a file can contain 100+ rules so you can combine strategy's, you can also use the copy button to quickly import rules into existing file
viewtopic.php?f=47&t=11857
viewtopic.php?f=37&t=13568

Since that first post was written in version V1.56 the options apply up to 5 rules files per market is now possible, so in addition to the above being possible you could now keep them as separate rules files, ie, if you only wanted the Close Trade If In Loss Over 10 Secs Guardian Automation rules to trigger on certain markets.

Which ever option you pick you do need to ensure rules don't conflict, ie, rule 'a' trying to open trades as rule 'b' keeps greening up
Also signals and stored values being set/cleared
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

RogerTaurus wrote:
Tue Apr 20, 2021 7:06 am
Thank you Dallas I had missed changing the Signal for market to Signal for Current selection in the Green up selection rule. Subsequent testing showed that this has solved the problem. When i am manually trading if i see the pressure building for the back bet to drift i will close out to equalise the bet to zero or take a one tick loss is there a way of doing this in automation?
Yes, you could add a further rule/s to do anything really

But i'm a bit confused about what you want overall?
If the current rule is greening up if a selection is in a loss over 10secs, adding one to green up at a 1 tick loss or even scratch would make the first redundant
Or have i missunderstood?
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Digby3192 wrote:
Fri Jun 11, 2021 5:39 am
Sorry for the "newbie" question but how do you run this bot with another eg DOB with Moving Exit Guardian Automation Bot?

Thanks in advance.
Yes, they could be combined, this post shows how to quickly copy rules from one file to another
viewtopic.php?f=37&t=13568

Or if using V1.56 you have the option to apply upto 5 automation files to each market

Off the top of my head they should work together with no tweaks needed, if there are any it will be around the signals setting/clearing

But if you give it a go in practice mode if it doesn't work post that section of the log and i'll take a look
Digby3192
Posts: 14
Joined: Tue Jun 08, 2021 12:24 pm

Dallas wrote:
Fri Jun 11, 2021 4:58 pm
Digby3192 wrote:
Fri Jun 11, 2021 4:34 pm
Sorry for the "newbie" question but how do you run this bot with another eg Close Trade If In Loss Over 10 Secs Guardian Automation Bot. Can two bots be run on the same market?

Thanks in advance.
Yes, a file can contain 100+ rules so you can combine strategy's, you can also use the copy button to quickly import rules into existing file
viewtopic.php?f=47&t=11857
viewtopic.php?f=37&t=13568

Since that first post was written in version V1.56 the options apply up to 5 rules files per market is now possible, so in addition to the above being possible you could now keep them as separate rules files, ie, if you only wanted the Close Trade If In Loss Over 10 Secs Guardian Automation rules to trigger on certain markets.

Which ever option you pick you do need to ensure rules don't conflict, ie, rule 'a' trying to open trades as rule 'b' keeps greening up
Also signals and stored values being set/cleared
I'm not sure if the exit strategy worked as it should, have copied from the log.

12/06/2021 14:19:55: [G_Auto 1] : Store Value for 12. Toryjoy: exit = 12.5 - 50% = 6.2
12/06/2021 14:19:55: [G_Auto 1] : $ 5.00 Back bet placed on 12. Toryjoy at 12. Entirely unmatched when it initially reached the market. Ref: 235671085364
12/06/2021 14:20:39: Guardian has detected that the market is in-play
12/06/2021 14:20:39: Guardian has detected that the market is suspended
12/06/2021 14:20:40: Guardian has detected that the market is now unsuspended
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:07: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:08: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:09: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:10: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:11: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:12: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:14: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: Guardian has detected that the market is suspended
Digby3192
Posts: 14
Joined: Tue Jun 08, 2021 12:24 pm

Dallas wrote:
Fri Jun 11, 2021 10:05 pm
Digby3192 wrote:
Fri Jun 11, 2021 5:39 am
Sorry for the "newbie" question but how do you run this bot with another eg DOB with Moving Exit Guardian Automation Bot?

Thanks in advance.
Yes, they could be combined, this post shows how to quickly copy rules from one file to another
viewtopic.php?f=37&t=13568

Or if using V1.56 you have the option to apply upto 5 automation files to each market

Off the top of my head they should work together with no tweaks needed, if there are any it will be around the signals setting/clearing

But if you give it a go in practice mode if it doesn't work post that section of the log and i'll take a look
Unsure if the exit worked?

12/06/2021 14:19:55: [G_Auto 1] : Store Value for 12. Toryjoy: exit = 12.5 - 50% = 6.2
12/06/2021 14:19:55: [G_Auto 1] : $ 5.00 Back bet placed on 12. Toryjoy at 12. Entirely unmatched when it initially reached the market. Ref: 235671085364
12/06/2021 14:20:39: Guardian has detected that the market is in-play
12/06/2021 14:20:39: Guardian has detected that the market is suspended
12/06/2021 14:20:40: Guardian has detected that the market is now unsuspended
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:07: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:08: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:09: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:10: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:11: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:12: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:14: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: Guardian has detected that the market is suspended
Digby3192
Posts: 14
Joined: Tue Jun 08, 2021 12:24 pm

Another example, backed at $6.60 and on watching odds dropped as low as $2.10
Automation.JPG
12/06/2021 16:19:55: [G_Auto 1] : Store Value for 5. Canasta: exit = 6.6 - 50% = 3.3
12/06/2021 16:19:55: [G_Auto 1] : $ 5.00 Back bet placed on 5. Canasta at 6.4. Fully matched at 6.6. Ref: 235675140036
12/06/2021 16:20:17: Guardian has detected that the market is suspended
12/06/2021 16:20:18: Guardian has detected that the market is in-play
12/06/2021 16:20:18: Guardian has detected that the market is now unsuspended
12/06/2021 16:21:38: [G_Auto 1] : Store Value for 5. Canasta: new exit = 0 + 10 ticks = 1.11
12/06/2021 16:21:38: [G_Auto 1] : Store Value for 5. Canasta: new exit = 0 + 10 ticks = 1.11
12/06/2021 16:21:39: [G_Auto 1] : Store Value for 5. Canasta: new exit = 0 + 10 ticks = 1.11
12/06/2021 16:21:40: [G_Auto 1] : Store Value for 5. Canasta: new exit = 0 + 10 ticks = 1.11
12/06/2021 16:21:41: Guardian has detected that the market is suspended
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Digby3192 wrote:
Sat Jun 12, 2021 5:26 am
Dallas wrote:
Fri Jun 11, 2021 4:58 pm
Digby3192 wrote:
Fri Jun 11, 2021 4:34 pm
Sorry for the "newbie" question but how do you run this bot with another eg Close Trade If In Loss Over 10 Secs Guardian Automation Bot. Can two bots be run on the same market?

Thanks in advance.
Yes, a file can contain 100+ rules so you can combine strategy's, you can also use the copy button to quickly import rules into existing file
viewtopic.php?f=47&t=11857
viewtopic.php?f=37&t=13568

Since that first post was written in version V1.56 the options apply up to 5 rules files per market is now possible, so in addition to the above being possible you could now keep them as separate rules files, ie, if you only wanted the Close Trade If In Loss Over 10 Secs Guardian Automation rules to trigger on certain markets.

Which ever option you pick you do need to ensure rules don't conflict, ie, rule 'a' trying to open trades as rule 'b' keeps greening up
Also signals and stored values being set/cleared
I'm not sure if the exit strategy worked as it should, have copied from the log.

12/06/2021 14:19:55: [G_Auto 1] : Store Value for 12. Toryjoy: exit = 12.5 - 50% = 6.2
12/06/2021 14:19:55: [G_Auto 1] : $ 5.00 Back bet placed on 12. Toryjoy at 12. Entirely unmatched when it initially reached the market. Ref: 235671085364
12/06/2021 14:20:39: Guardian has detected that the market is in-play
12/06/2021 14:20:39: Guardian has detected that the market is suspended
12/06/2021 14:20:40: Guardian has detected that the market is now unsuspended
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:07: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:08: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:09: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:10: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:11: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:12: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:14: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: Guardian has detected that the market is suspended
What market was it used on?
That looks like something hit 1.01 10 secs before the end of the race and it never changed?
Looking at the time of your post I'm assuming it was a Aus race?

Maybe try it on a UK race if you can, Aus in-play markets are very gap and illiquid compared to UK races so it may need additional changes for these types of markets to take into account the gaps etc

BTW, i've just noticed you'd posted the same messages in two topics so I've merged them both together here to make it less confusing
Digby3192
Posts: 14
Joined: Tue Jun 08, 2021 12:24 pm

Dallas wrote:
Sat Jun 12, 2021 3:43 pm
Digby3192 wrote:
Sat Jun 12, 2021 5:26 am
Dallas wrote:
Fri Jun 11, 2021 4:58 pm


Yes, a file can contain 100+ rules so you can combine strategy's, you can also use the copy button to quickly import rules into existing file
viewtopic.php?f=47&t=11857
viewtopic.php?f=37&t=13568

Since that first post was written in version V1.56 the options apply up to 5 rules files per market is now possible, so in addition to the above being possible you could now keep them as separate rules files, ie, if you only wanted the Close Trade If In Loss Over 10 Secs Guardian Automation rules to trigger on certain markets.

Which ever option you pick you do need to ensure rules don't conflict, ie, rule 'a' trying to open trades as rule 'b' keeps greening up
Also signals and stored values being set/cleared
I'm not sure if the exit strategy worked as it should, have copied from the log.

12/06/2021 14:19:55: [G_Auto 1] : Store Value for 12. Toryjoy: exit = 12.5 - 50% = 6.2
12/06/2021 14:19:55: [G_Auto 1] : $ 5.00 Back bet placed on 12. Toryjoy at 12. Entirely unmatched when it initially reached the market. Ref: 235671085364
12/06/2021 14:20:39: Guardian has detected that the market is in-play
12/06/2021 14:20:39: Guardian has detected that the market is suspended
12/06/2021 14:20:40: Guardian has detected that the market is now unsuspended
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:07: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:08: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:09: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:10: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:11: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:12: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:14: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: Guardian has detected that the market is suspended
What market was it used on?
That looks like something hit 1.01 10 secs before the end of the race and it never changed?
Looking at the time of your post I'm assuming it was a Aus race?

Maybe try it on a UK race if you can, Aus in-play markets are very gap and illiquid compared to UK races so it may need additional changes for these types of markets to take into account the gaps etc

BTW, i've just noticed you'd posted the same messages in two topics so I've merged them both together here to make it less confusing
Correct, it was on an Australian race as I am from Australia. The volume of the race was $539864 as was a main Saturday arvo meeting. I will try on a UK meet and post whether I encounter the same problem, however in the meantime, how should I adjust the rule for a typical Australian market?
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Digby3192 wrote:
Sat Jun 12, 2021 4:34 pm
Dallas wrote:
Sat Jun 12, 2021 3:43 pm
Digby3192 wrote:
Sat Jun 12, 2021 5:26 am


I'm not sure if the exit strategy worked as it should, have copied from the log.

12/06/2021 14:19:55: [G_Auto 1] : Store Value for 12. Toryjoy: exit = 12.5 - 50% = 6.2
12/06/2021 14:19:55: [G_Auto 1] : $ 5.00 Back bet placed on 12. Toryjoy at 12. Entirely unmatched when it initially reached the market. Ref: 235671085364
12/06/2021 14:20:39: Guardian has detected that the market is in-play
12/06/2021 14:20:39: Guardian has detected that the market is suspended
12/06/2021 14:20:40: Guardian has detected that the market is now unsuspended
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:06: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:07: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:08: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:09: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:10: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:11: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:12: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:14: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: [G_Auto 1] : Store Value for 12. Toryjoy: new exit = 0 + 10 ticks = 1.11
12/06/2021 14:22:15: Guardian has detected that the market is suspended
What market was it used on?
That looks like something hit 1.01 10 secs before the end of the race and it never changed?
Looking at the time of your post I'm assuming it was a Aus race?

Maybe try it on a UK race if you can, Aus in-play markets are very gap and illiquid compared to UK races so it may need additional changes for these types of markets to take into account the gaps etc

BTW, i've just noticed you'd posted the same messages in two topics so I've merged them both together here to make it less confusing
Correct, it was on an Australian race as I am from Australia. The volume of the race was $539864 as was a main Saturday arvo meeting. I will try on a UK meet and post whether I encounter the same problem, however in the meantime, how should I adjust the rule for a typical Australian market?
TBH i don't trade in-play Aus horse racing I just know the markets are gappy compared to the UK races, so i'd need to watch a few to see exactly how much, if there's much difference between different Aus races and what impact that would then have on these rules combined to give a definitive answer.
Roobetter
Posts: 43
Joined: Wed Jun 23, 2021 12:48 pm

Can someone please tell me when this greensup for a loss it puts on multiple positions and actually creates a liability on the horse it traded out of it (if it wins).
I have Green Up Selection - Close Trade on Selection with Greening - Allow rule to trigger 3 times/1 second re-arm.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Roobetter wrote:
Fri Sep 10, 2021 4:42 am
Can someone please tell me when this greensup for a loss it puts on multiple positions and actually creates a liability on the horse it traded out of it (if it wins).
I have Green Up Selection - Close Trade on Selection with Greening - Allow rule to trigger 3 times/1 second re-arm.
If you are betting in-play you need to use a re-arm time longer than the in-play bet delay otherwise you'll be firing in further green up bets before the first has had chance to reach the market and be matched
FrankArch
Posts: 158
Joined: Mon Nov 01, 2021 10:05 am

Hi Dallas,

Would this work if I had multiple selections? IE Dutching the first 3 favs. Would I need it to change it to EVERY SELECTION instead of ANY SELECTION. Would it then look at the profit/loss globally across all 3 selections or look at them independantly? Obviously I can find out myself with trial and error, but would be grateful if you have the time to reply and advise.
User avatar
Dallas
Posts: 22673
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

FrankArch wrote:
Tue Jan 04, 2022 11:41 am
Hi Dallas,

Would this work if I had multiple selections? IE Dutching the first 3 favs. Would I need it to change it to EVERY SELECTION instead of ANY SELECTION. Would it then look at the profit/loss globally across all 3 selections or look at them independantly? Obviously I can find out myself with trial and error, but would be grateful if you have the time to reply and advise.
You'd need a set of the three rules for each selection you intend it to trigger on, ie, they'll need to be able to set/reset independently to each other and remain locked to that selection

But before you do that you'll first need to make some changes, on the signal loss and reset in profit rules change the 'Green all condition' to a 'close trade profit condition' (with greening ticked)

Then apply the original three rules to the fav
next use the icon with two green arrows to duplicate each of those and apply the next three to the 2nd fav
then do that again for the 3rd fav

Finally because the favs order will continually change you need to ensure they are locked, to do this add a 'Fix order of market selection' and arm it to trigger at the same time as your back bet rules and most importantly put this fix order rule at the top of your rules so it triggers 1st before any bets get placed.
Post Reply

Return to “Bet Angel Automation - General”