I have set up a list of rules one of which is- green up if the green up profit is greater than a certain figure.
How do I then stop the rest of the rules from running?
Why would you want the rest of the rules to run if the green up profit has been achieved?
Basically the other rules monitor the horse prices throughout the whole of a horse race and lay accordingly but I want the monitoring to stop and no further lays once the profit has been met.
Cheers
Mark
Automation - Green Up
There are several ways depending on how your rule is set up, ie is your rule laying multiple runners if conditions are correct for a combined green profit or you looking for 1 lay then the rest cancel?
Depending on your stratergy and assuming you have your green up part as a seperate part of the rule then on your lay part you could look at how many times its able to trigger and/or apply some conditions based on matched/unmatched bets or number of placed bets condition etc
Depending on your stratergy and assuming you have your green up part as a seperate part of the rule then on your lay part you could look at how many times its able to trigger and/or apply some conditions based on matched/unmatched bets or number of placed bets condition etc
Thanks, but it is not that simple.
I want it to green up when the green up reaches a certain point but that may involve laying 2 horses or 3 horses or probably even more horses. It will all depend on how the race goes.
I know I have got a fairly good chance with the lays I am making that the green up target will be reached at some point but I don't know how many horses will have been layed or at what point in the race it will happen. (Of course the target will not be reached everytime.)
I want it to green up when the green up reaches a certain point but that may involve laying 2 horses or 3 horses or probably even more horses. It will all depend on how the race goes.
I know I have got a fairly good chance with the lays I am making that the green up target will be reached at some point but I don't know how many horses will have been layed or at what point in the race it will happen. (Of course the target will not be reached everytime.)
-
- Posts: 1110
- Joined: Thu Jan 12, 2012 10:00 am
what about laying using offset with greening ?
would that work ?
marc
would that work ?
marc
Again without knowing all the details of your full rule - which i completely understand you not wanting to post but with the info stated the only way i can think of is:
(for this example you are greening up with £30.00 profit if reached)
Im assuming you have your green up as a separate rule line and not a condition of your lay rules which greens all selections when £30.00 is profit is reached.
If so on your actual lay rules in the condition section choose the "Green all profit condition" and set it to "less than £29.00" - now your lays should only fire if you have less than £29.00 profit, if £30.00 or more has already been reached no further lays should be fired.
Also to ensure any lays that have been fired into the market before your £30.00 was greened up and are still sitting there unmatched create a rule line
General
"Cancel all unmatched bets in the market"
Conditions
"Green all profit condition" set to "more than £30.00"
(for this example you are greening up with £30.00 profit if reached)
Im assuming you have your green up as a separate rule line and not a condition of your lay rules which greens all selections when £30.00 is profit is reached.
If so on your actual lay rules in the condition section choose the "Green all profit condition" and set it to "less than £29.00" - now your lays should only fire if you have less than £29.00 profit, if £30.00 or more has already been reached no further lays should be fired.
Also to ensure any lays that have been fired into the market before your £30.00 was greened up and are still sitting there unmatched create a rule line
General
"Cancel all unmatched bets in the market"
Conditions
"Green all profit condition" set to "more than £30.00"
Thank you, I have tried something along the lines of what you have suggested already.
I need to observe a few more races to see what is actually happening but I think what is happening is that although the green up is fired at £30 by the time all the green up bets are matched the actual green up profit achieved may be slightly less than £30. Therefore a rule which says only lay if the green up profit is less than £30 may still be triggered even after the green up rule has been triggered.
The trouble is I need the lays to carry on until the green up profit equals £30 so am caught between 2 stools.
I need to observe a few more races to see what is actually happening but I think what is happening is that although the green up is fired at £30 by the time all the green up bets are matched the actual green up profit achieved may be slightly less than £30. Therefore a rule which says only lay if the green up profit is less than £30 may still be triggered even after the green up rule has been triggered.
The trouble is I need the lays to carry on until the green up profit equals £30 so am caught between 2 stools.
What do you have your "Green all selections" rule set to?
I would set allow to trigger 1000 times, re-arm every 1 sec
This way it'll be constantly looking at your profit every second and will green soon as it hits £30.00 or more, if all other part of rules are correct it should never green you out for less but if it does say for £28.65 your lays should then continue firing and only need a few tick movement to get the last bit of profit and the "green all selections" still checking once a second for this and will re-green soon as thats happened.
You might want to view your log file in your settings that will give you full details whats happening with both matched and unmatched bets during a race and hopefully any problems/conflicts can be wroked out from there.
I would set allow to trigger 1000 times, re-arm every 1 sec
This way it'll be constantly looking at your profit every second and will green soon as it hits £30.00 or more, if all other part of rules are correct it should never green you out for less but if it does say for £28.65 your lays should then continue firing and only need a few tick movement to get the last bit of profit and the "green all selections" still checking once a second for this and will re-green soon as thats happened.
You might want to view your log file in your settings that will give you full details whats happening with both matched and unmatched bets during a race and hopefully any problems/conflicts can be wroked out from there.
Hi Dallas,
You seem to be the Automation King..so can i add to this post by asking you: I am trying to set up a rule to lay the first horse in running to hit 2..but at the moment my rule is laying anything that hits 2..which is the same as laying the field. How do i get it to stop after the first one...and i don't want to specify fav. or whatever..i just want it to lay the first horse then stop?
Many thanks for your help & advice...
You seem to be the Automation King..so can i add to this post by asking you: I am trying to set up a rule to lay the first horse in running to hit 2..but at the moment my rule is laying anything that hits 2..which is the same as laying the field. How do i get it to stop after the first one...and i don't want to specify fav. or whatever..i just want it to lay the first horse then stop?
Many thanks for your help & advice...
-
- Posts: 41
- Joined: Sat Oct 05, 2013 10:25 am
Hi,
Not a automation expert but maybe test either of the following.
1) add condition "Number of place bet trigger conditions - ON MARKET" = 0 to each of your rules for each selection. I would have thought that only one would fire and then the rest wouldnt be able to fire as the condition would now be 1
2) add the 'green all profit condition=0' to each rule for each selection. As again I would have thought as soon as 1 is layed, the green all figure would be <>0 from now on. But may be subject to fluke situations where a 2nd horse comes down to you target odds and the other originally laid horse is back to break even.
So if it works, maybe option 1 is best
cheers
Not a automation expert but maybe test either of the following.
1) add condition "Number of place bet trigger conditions - ON MARKET" = 0 to each of your rules for each selection. I would have thought that only one would fire and then the rest wouldnt be able to fire as the condition would now be 1
2) add the 'green all profit condition=0' to each rule for each selection. As again I would have thought as soon as 1 is layed, the green all figure would be <>0 from now on. But may be subject to fluke situations where a 2nd horse comes down to you target odds and the other originally laid horse is back to break even.
So if it works, maybe option 1 is best
cheers
Set the rule up as followsBlack Ice wrote:As you say: 'I'm looking for one lay then the rest cancel'..Thanks...
General
"Place a lay bet"
Arm "2 secs after goes in play"
Allow rule to trigger "1 time"
Applies to selection "in position 1 (sorted in order of favouritism)"
Parameters
Place at "Fixed price" odds 2.0
"Fixed price" (stake you want to use)
Condition type (set both of these below)
"Fixed odds Condition"
Selection "current (in position 1 (sorted in order of favouritism)
The selcetions "Last traded price"
Is "less than" 2.02
"Number of place bets trigger condition"
The number of placed bets rules triggered on "the market"
is "equal to" "0"
This will ensure only one lay is placed on whichever horse trades at 2.02 first regardless of SP or betfiar row, if the price smashes straight through you will even get your layed much lower.
Very many thanks Dallas...it works! It is so valuable to have an expert on Automation rules on here..as i wd never have worked it out on my own. BTW: I tried setting up my own chart on advanced automation this am following exactly Peter's vid. When it came to Moving Average on price and i saved..tht appeared as a separate window..rather than as part of the price window like the vid, What did i do wrong..as having the two in the same window is much better??
Thanks again.
Thanks also Mbailey..i tried yours..but it didn't work..but maybe i did it wrong!
Thanks again.
Thanks also Mbailey..i tried yours..but it didn't work..but maybe i did it wrong!
No problem mate glad i could help, could you post the link for the particular vid of the chart you want to create and attach a screenshot of how you currently have your advanced chart set up and ill try have a look tonight or in the morning.Black Ice wrote:BTW: I tried setting up my own chart on advanced automation this am following exactly Peter's vid. When it came to Moving Average on price and i saved..tht appeared as a separate window..rather than as part of the price window like the vid, What did i do wrong..as having the two in the same window is much better??
Don't you just hate it when someone hijacks your thread!
As for my original query I think there is no solution as the amount of the first green up is never going to be a fixed amount.
What is required is a rule that stop the automation if x occurs.
Or a rule to stop automatuion as soon as the green up rule is triggered.
On another subject I have never quite managed to totally prevent a horses trading at for example 2.4 being layed twice where one rule says lay if below 2.5 and another rule says lay if below 3.
You'd have thought that matched bets = 0 would do the trick but the bets are layed at exactly the same time so it doesn't recognise the first lay before overlaying the second. The problem doesn't occur every time but it is pretty annoying when it does as it turns most likely turns a profit into a loss.
As for my original query I think there is no solution as the amount of the first green up is never going to be a fixed amount.
What is required is a rule that stop the automation if x occurs.
Or a rule to stop automatuion as soon as the green up rule is triggered.
On another subject I have never quite managed to totally prevent a horses trading at for example 2.4 being layed twice where one rule says lay if below 2.5 and another rule says lay if below 3.
You'd have thought that matched bets = 0 would do the trick but the bets are layed at exactly the same time so it doesn't recognise the first lay before overlaying the second. The problem doesn't occur every time but it is pretty annoying when it does as it turns most likely turns a profit into a loss.
As my earlier post said adding a condtion to your lays that only lets them be placed if your green profit is still below your set amount.
You could also do this in reverse and apply the condition to all your lay rules not to place any lays if the "Green all profit value across all selections is" greater than??
effectively that that will stop all your lays firing the remainder of the race
Also adding a rule "Cancel all unmatched bets in the market" using the above "green" rule will also remove any lays placed just prior to the profit being reached but have not yet matched.
This can be done very easliy just by adding another fixed odds condition.
Instead of just saying lay if its below 3.0 and lay if below 2.50 your rule would say lay if LTP is below 3.0 but above 2.52 and other rule would say lay if below 2.50 and above 2.02
Then a horse trading at 3.15 that then drops straight into 2.40 wont trigger the first lay as the LTP although below 3.0 its not above 2.52 therefore wont trigger - but other rule will as thats set 2.50 to 2.02 will lay.
So over laying can be stopped by ensuring prices are grouped so that all odds are covered but with no over lapping.
Guardian really can do just about everything its just a matter of going through all the avalible features and condtions and grouping them in the right way.
You could also do this in reverse and apply the condition to all your lay rules not to place any lays if the "Green all profit value across all selections is" greater than??
effectively that that will stop all your lays firing the remainder of the race
Also adding a rule "Cancel all unmatched bets in the market" using the above "green" rule will also remove any lays placed just prior to the profit being reached but have not yet matched.
guy333 wrote:On another subject I have never quite managed to totally prevent a horses trading at for example 2.4 being layed twice where one rule says lay if below 2.5 and another rule says lay if below 3.
You'd have thought that matched bets = 0 would do the trick but the bets are layed at exactly the same time so it doesn't recognise the first lay before overlaying the second. The problem doesn't occur every time but it is pretty annoying when it does as it turns most likely turns a profit into a loss.
This can be done very easliy just by adding another fixed odds condition.
Instead of just saying lay if its below 3.0 and lay if below 2.50 your rule would say lay if LTP is below 3.0 but above 2.52 and other rule would say lay if below 2.50 and above 2.02
Then a horse trading at 3.15 that then drops straight into 2.40 wont trigger the first lay as the LTP although below 3.0 its not above 2.52 therefore wont trigger - but other rule will as thats set 2.50 to 2.02 will lay.
So over laying can be stopped by ensuring prices are grouped so that all odds are covered but with no over lapping.
Guardian really can do just about everything its just a matter of going through all the avalible features and condtions and grouping them in the right way.