Close Trade If In Loss Over 10 Secs Guardian Automation Bot
-
- 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.
It can be used with some minor editskatrinachan wrote: ↑Fri Mar 19, 2021 6:58 amHi 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.
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
-
- Posts: 5
- Joined: Sun Jan 05, 2020 10:33 am
Thats great will give that a go this evening.Dallas wrote: ↑Fri Mar 19, 2021 12:18 pmIt can be used with some minor editskatrinachan wrote: ↑Fri Mar 19, 2021 6:58 amHi 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.
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
-
- Posts: 5
- Joined: Sun Jan 05, 2020 10:33 am
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.katrinachan wrote: ↑Fri Mar 19, 2021 5:27 pmThats great will give that a go this evening.Dallas wrote: ↑Fri Mar 19, 2021 12:18 pmIt can be used with some minor editskatrinachan wrote: ↑Fri Mar 19, 2021 6:58 amHi 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.
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
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
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
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
-
- Posts: 5
- Joined: Sun Jan 05, 2020 10:33 am
Hi Dallas sorry for being a nuisance. Getting closer now its counting both horses separately i can see that in the log but just keeps counting them without anything else happening. Also it seems to be counting both at the same rate even if one is greater then -£5 and the other is less than.Dallas wrote: ↑Fri Mar 19, 2021 6:58 pmAh 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
I have attached a copy of rules file im using im sure its something simple i haven't changed. Here is a copy of the log.
20/03/2021 06:31:50: [G_Auto] : £ 10.00 Back bet placed on 2. Howyalikemenow at 8. Fully matched at 8. Ref: 10077 ( Fill or kill bet with 60 seconds delay. Offsetting by 63% [A] with greening. )
20/03/2021 06:31:50: [G_Auto] : £ 10.00 Back bet placed on 11. Better Days Ahead at 4.9. Fully matched at 4.9. Ref: 10078 ( Fill or kill bet with 60 seconds delay. Offsetting by 63% [A] with greening. )
20/03/2021 06:31:50: [G_Auto] : £ 27.07 Lay bet placed on 11. Better Days Ahead at 1.81. Entirely unmatched when it initially reached the market. Ref: 10079
20/03/2021 06:31:50: [G_Auto] : £ 27.03 Lay bet placed on 2. Howyalikemenow at 2.96. Entirely unmatched when it initially reached the market. Ref: 10080
20/03/2021 06:31:59: [G_Auto] : Modify bet persistence 10079 from 'Cancel' to 'Keep'
20/03/2021 06:31:59: [G_Auto] : Modify bet persistence 10080 from 'Cancel' to 'Keep'
20/03/2021 06:32:45: Guardian has detected that the market is suspended
20/03/2021 06:32:45: Guardian has detected that the market is in-play
20/03/2021 06:32:45: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 1
20/03/2021 06:32:45: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 1
20/03/2021 06:32:45: Guardian has detected that the market is now unsuspended
20/03/2021 06:32:46: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 2
20/03/2021 06:32:46: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 2
20/03/2021 06:33:24: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 3
20/03/2021 06:33:24: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 3
20/03/2021 06:33:25: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 4
20/03/2021 06:33:25: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 4
20/03/2021 06:33:26: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 5
20/03/2021 06:33:26: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 5
20/03/2021 06:33:27: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 6
20/03/2021 06:33:27: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 6
20/03/2021 06:33:28: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 7
20/03/2021 06:33:28: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 7
20/03/2021 06:33:29: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 8
20/03/2021 06:33:29: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 8
20/03/2021 06:33:31: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 9
20/03/2021 06:33:31: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 9
20/03/2021 06:33:32: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 10
20/03/2021 06:33:32: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 10
20/03/2021 06:33:33: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 11
20/03/2021 06:33:33: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 11
20/03/2021 06:33:34: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 12
20/03/2021 06:33:34: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 12
20/03/2021 06:33:35: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 13
20/03/2021 06:33:35: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 13
20/03/2021 06:33:36: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 14
20/03/2021 06:33:36: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 14
20/03/2021 06:33:37: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 15
20/03/2021 06:33:37: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 15
20/03/2021 06:33:38: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 16
20/03/2021 06:33:38: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 16
20/03/2021 06:33:39: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 17
20/03/2021 06:33:39: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 17
20/03/2021 06:33:40: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 18
20/03/2021 06:33:40: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 18
20/03/2021 06:33:41: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 19
20/03/2021 06:33:41: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 19
20/03/2021 06:33:42: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 20
20/03/2021 06:33:42: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 20
20/03/2021 06:33:43: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 21
20/03/2021 06:33:43: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 21
20/03/2021 06:33:44: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 22
20/03/2021 06:33:44: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 22
20/03/2021 06:33:45: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 23
20/03/2021 06:33:45: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 23
20/03/2021 06:33:46: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 24
20/03/2021 06:33:46: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 24
20/03/2021 06:33:47: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 25
20/03/2021 06:33:47: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 25
20/03/2021 06:33:48: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 26
20/03/2021 06:33:48: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 26
20/03/2021 06:33:49: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 27
20/03/2021 06:33:49: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 27
20/03/2021 06:33:50: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 28
20/03/2021 06:33:50: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 28
20/03/2021 06:33:51: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 29
20/03/2021 06:33:51: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 29
20/03/2021 06:33:52: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 30
20/03/2021 06:33:52: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 30
20/03/2021 06:33:53: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 31
20/03/2021 06:33:53: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 31
20/03/2021 06:33:54: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 32
20/03/2021 06:33:54: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 32
20/03/2021 06:33:55: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 33
20/03/2021 06:33:55: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 33
20/03/2021 06:33:56: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 34
20/03/2021 06:33:56: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 34
20/03/2021 06:33:57: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 35
20/03/2021 06:33:57: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 35
20/03/2021 06:33:58: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 36
20/03/2021 06:33:58: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 36
20/03/2021 06:33:59: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 37
20/03/2021 06:33:59: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 37
20/03/2021 06:34:00: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 38
20/03/2021 06:34:00: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 38
20/03/2021 06:34:01: [G_Auto] : Automation Signal for 2. Howyalikemenow: loss = 39
20/03/2021 06:34:01: [G_Auto] : Automation Signal for 11. Better Days Ahead: loss = 39
20/03/2021 06:34:01: Guardian has detected that the market is suspended
You do not have the required permissions to view the files attached to this post.
On the condition tab of each of the 3 signal rules (or 6 rules in your case) the condition is still looking for signals on the market
Each of these now need changing to selection as well
Sorry probably should of included that with my last post
Each of these now need changing to selection as well
Sorry probably should of included that with my last post
-
- Posts: 5
- Joined: Sun Jan 05, 2020 10:33 am
Thank you for all the help Dallas have it working perfectly now.
-
- Posts: 14
- Joined: Fri Nov 09, 2018 11:47 pm
I have tried to adapt the 'Close if in Loss for over 10 seconds' bot to include the first three runners. The revised bot starts with a back bet and has the two signals and the green up for each selection. I have a final Green up all selections rule that runs for 10 seconds in play to cover any of the three bets that are not matched before going in play.
None of the three individual loss green ups seem to be working so that any of the unmatched initial bets on the first three horses are left open when the Green up all selection rule creates three lay bets for each unmatched horse!! Good job I am using practice mode. See extract of the log attached as a .jpg file
None of the three individual loss green ups seem to be working so that any of the unmatched initial bets on the first three horses are left open when the Green up all selection rule creates three lay bets for each unmatched horse!! Good job I am using practice mode. See extract of the log attached as a .jpg file
You do not have the required permissions to view the files attached to this post.
To run it on multiple runners you'll need to make the following changesRogerTaurus wrote: ↑Mon Apr 19, 2021 1:17 amI have tried to adapt the 'Close if in Loss for over 10 seconds' bot to include the first three runners. The revised bot starts with a back bet and has the two signals and the green up for each selection. I have a final Green up all selections rule that runs for 10 seconds in play to cover any of the three bets that are not matched before going in play.
None of the three individual loss green ups seem to be working so that any of the unmatched initial bets on the first three horses are left open when the Green up all selection rule creates three lay bets for each unmatched horse!! Good job I am using practice mode. See extract of the log attached as a .jpg file
First the signals need to be set on the selection not the market, so check each signal tab and signal for all the rules and change these accordingly
Next you'll need to apply all the existing rules to Betfair row 1
Then duplicate all those rules and apply the new ones to Betfair row 2
Repeat that again and apply the latest rules to row three
Finally if using it on racing markets and more than an hour before the off add a 'Fix order of market selections' and arm it to before you'll start placing your bets
-
- 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?
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
Yes, you could add a further rule/s to do anything reallyRogerTaurus wrote: ↑Tue Apr 20, 2021 7:06 amThank 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?
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?
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