Which rule is setting the signal 'Greened2'?
and when?
Repeated Green-Ups
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Thanks for the response Dallas.
I have a 'master' green up rule (labelled 'Greened up (Master') that simply greens up if profit is >£2. This then sets a signal called 'Greened' with 1. All other subsequent greening rules that are not labelled 'stop' only run if:
Greened < 1
Each rule (based on race length) then has a >£0 profit condition shown here:
And a 'stop version' of the same which doesn't have the >£0 profit condition - set to kick in 3 seconds after the previous one based on your previous responses:
The order is therefore:
1.Master greenup rule (if >£2) which sets 'Greened=1'
2.Race length greening (if >£0) which sets Greened1 / Greened2 / Greened3 = 1) as long as above is not set
3.Race length greening (without profit condition) which runs if Greened1 / Greened2 / Greened3 <0 to green out for any losses
Hope this makes sense - I've tried to be as logical as possible given my engineering backgroun!
Look forward to hearing back!
thanks
I have a 'master' green up rule (labelled 'Greened up (Master') that simply greens up if profit is >£2. This then sets a signal called 'Greened' with 1. All other subsequent greening rules that are not labelled 'stop' only run if:
Greened < 1
Each rule (based on race length) then has a >£0 profit condition shown here:
And a 'stop version' of the same which doesn't have the >£0 profit condition - set to kick in 3 seconds after the previous one based on your previous responses:
The order is therefore:
1.Master greenup rule (if >£2) which sets 'Greened=1'
2.Race length greening (if >£0) which sets Greened1 / Greened2 / Greened3 = 1) as long as above is not set
3.Race length greening (without profit condition) which runs if Greened1 / Greened2 / Greened3 <0 to green out for any losses
Hope this makes sense - I've tried to be as logical as possible given my engineering backgroun!
Look forward to hearing back!
thanks
You do not have the required permissions to view the files attached to this post.
The rule in your last image will only trigger if a signal named 'Greened2' is <1
There has to of been a signal named 'Greened2' set somewhere for the above to be able to trigger (if there has been no signal named 'Greened2' set by anything then it cant fire)
ie; the automation wont know its <1 if there is no signal set in the first place
There has to of been a signal named 'Greened2' set somewhere for the above to be able to trigger (if there has been no signal named 'Greened2' set by anything then it cant fire)
ie; the automation wont know its <1 if there is no signal set in the first place
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Ok - think I got you but if you can please confirm .....Dallas wrote: ↑Tue Sep 19, 2017 10:29 pmThe rule in your last image will only trigger if a signal named 'Greened2' is <1
There has to of been a signal named 'Greened2' set somewhere for the above to be able to trigger (if there has been no signal named 'Greened2' set by anything then it cant fire)
ie; the automation wont know its <1 if there is no signal set in the first place
So ideally I should have a rule that sets the values of Greened / Greened1/ Greened2 and Greened3 to 0 prior to race start?
That would then mean that if the first rule (>£0) is met it then gets set to '1', thereby no need to kick off stop rule else stop rule will run as the signal (or variable) has been set with a value
Is that right?
thanks
Yes basically a signal name must exist somewhere for a condition to test its valuejaipal2004 wrote: ↑Tue Sep 19, 2017 10:39 pmOk - think I got you but if you can please confirm .....Dallas wrote: ↑Tue Sep 19, 2017 10:29 pmThe rule in your last image will only trigger if a signal named 'Greened2' is <1
There has to of been a signal named 'Greened2' set somewhere for the above to be able to trigger (if there has been no signal named 'Greened2' set by anything then it cant fire)
ie; the automation wont know its <1 if there is no signal set in the first place
So ideally I should have a rule that sets the values of Greened / Greened1/ Greened2 and Greened3 to 0 prior to race start?
That would then mean that if the first rule (>£0) is met it then gets set to '1', thereby no need to kick off stop rule else stop rule will run as the signal (or variable) has been set with a value
Is that right?
thanks
I understand what your wanting to do ie, setting signals in a daisy chain to create a path, if it was me I would maybe look at trying to use the 'increment signal value' instead, that way a rule can pick up were a previous rule has left off
So start with your master signal and increment signal value on the market, then have your next rule/s look for that value and do whatever including incrementing it again for the next rule to look for
(without knowing your full set up though i cant say for sure if that would be easier so maybe copy your whole automation first and try this on the 2nd)
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
thanks so much for that..... you're an absolute legendDallas wrote: ↑Tue Sep 19, 2017 10:57 pmYes basically a signal name must exist somewhere for a condition to test its valuejaipal2004 wrote: ↑Tue Sep 19, 2017 10:39 pmOk - think I got you but if you can please confirm .....Dallas wrote: ↑Tue Sep 19, 2017 10:29 pmThe rule in your last image will only trigger if a signal named 'Greened2' is <1
There has to of been a signal named 'Greened2' set somewhere for the above to be able to trigger (if there has been no signal named 'Greened2' set by anything then it cant fire)
ie; the automation wont know its <1 if there is no signal set in the first place
So ideally I should have a rule that sets the values of Greened / Greened1/ Greened2 and Greened3 to 0 prior to race start?
That would then mean that if the first rule (>£0) is met it then gets set to '1', thereby no need to kick off stop rule else stop rule will run as the signal (or variable) has been set with a value
Is that right?
thanks
I understand what your wanting to do ie, setting signals in a daisy chain to create a path, if it was me I would maybe look at trying to use the 'increment signal value' instead, that way a rule can pick up were a previous rule has left off
So start with your master signal and increment signal value on the market, then have your next rule/s look for that value and do whatever including incrementing it again for the next rule to look for
(without knowing your full set up though i cant say for sure if that would be easier so maybe copy your whole automation first and try this on the 2nd)
Take on board your hint above .... you're right, I do want to create a path that's easy to follow but I could use the incrementing function and therefore creating a cleaner ruleset. I'll try and see how I fare.
The bot itself is simple - lay a runner with offset, trying to green up for £2+ asap else taking whatever I can (£0+) before then greening losses. The race length governs when the >£0 and <£0 rules kick in.
They do say the simple strategies are the best
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Arrgghh... I've screwed up something I think then....
I did the following new rules to set the signals to 0 but even then, the green up rule didn't fire (<£0):
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened1 = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened2 = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened3 = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened4 = 0
20/09/2017 14:13:12: Guardian has detected that the market is suspended
20/09/2017 14:13:12: Guardian has detected that the market is in-play
20/09/2017 14:13:12: Guardian has detected that the market is now unsuspended
20/09/2017 14:13:13: [G_Auto] : £ 2.00 Lay bet placed on Imperial Past at 3.95. Entirely unmatched when it initially reached the market. Ref: 103107943727 ( Offsetting by 30 ticks with greening. )
20/09/2017 14:13:16: [G_Auto] : £ 1.01 Back bet placed on Imperial Past at 7.8. Entirely unmatched when it initially reached the market. Ref: 103107949512
20/09/2017 14:14:44: Guardian has detected that the market is suspended
Based on my conditions - the 'GUp - >=6 <=16 Stop' rule should've kicked in at 01:06 because Green2 < 1 as per:
So what is my error?
thanks
I did the following new rules to set the signals to 0 but even then, the green up rule didn't fire (<£0):
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened1 = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened2 = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened3 = 0
20/09/2017 14:09:58: [G_Auto] : Automation Signal for market: Greened4 = 0
20/09/2017 14:13:12: Guardian has detected that the market is suspended
20/09/2017 14:13:12: Guardian has detected that the market is in-play
20/09/2017 14:13:12: Guardian has detected that the market is now unsuspended
20/09/2017 14:13:13: [G_Auto] : £ 2.00 Lay bet placed on Imperial Past at 3.95. Entirely unmatched when it initially reached the market. Ref: 103107943727 ( Offsetting by 30 ticks with greening. )
20/09/2017 14:13:16: [G_Auto] : £ 1.01 Back bet placed on Imperial Past at 7.8. Entirely unmatched when it initially reached the market. Ref: 103107949512
20/09/2017 14:14:44: Guardian has detected that the market is suspended
Based on my conditions - the 'GUp - >=6 <=16 Stop' rule should've kicked in at 01:06 because Green2 < 1 as per:
So what is my error?
thanks
You do not have the required permissions to view the files attached to this post.
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Another market with same result:
Yarm 15:50 (1m2f)
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened1 = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened2 = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened3 = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened4 = 0
20/09/2017 15:51:18: Guardian has detected that the market is suspended
20/09/2017 15:51:19: Guardian has detected that the market is in-play
20/09/2017 15:51:19: Guardian has detected that the market is now unsuspended
20/09/2017 15:51:20: [G_Auto] : £ 2.00 Lay bet placed on Beautiful Morning at 3.6. Fully matched at 3.5. Ref: 103121020418 ( Offsetting by 30 ticks with greening. )
20/09/2017 15:51:23: [G_Auto] : £ 1.17 Back bet placed on Beautiful Morning at 6. Entirely unmatched when it initially reached the market. Ref: 103121025251
20/09/2017 15:53:29: Guardian has detected that the market is suspended
Yarm 15:50 (1m2f)
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened1 = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened2 = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened3 = 0
20/09/2017 15:49:58: [G_Auto] : Automation Signal for market: Greened4 = 0
20/09/2017 15:51:18: Guardian has detected that the market is suspended
20/09/2017 15:51:19: Guardian has detected that the market is in-play
20/09/2017 15:51:19: Guardian has detected that the market is now unsuspended
20/09/2017 15:51:20: [G_Auto] : £ 2.00 Lay bet placed on Beautiful Morning at 3.6. Fully matched at 3.5. Ref: 103121020418 ( Offsetting by 30 ticks with greening. )
20/09/2017 15:51:23: [G_Auto] : £ 1.17 Back bet placed on Beautiful Morning at 6. Entirely unmatched when it initially reached the market. Ref: 103121025251
20/09/2017 15:53:29: Guardian has detected that the market is suspended
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Hi Dallas,
any chance I can attach it to a PM over to you? I've looked and there's definitely nothing obvious.
I did amend the rule and somehow caused lay bets to be placed twice over but have since removed the other betting rules so there's only one now. My last race (18:30) failed to green up accoding to the logs with no mention but seems to have anyway ?! Confusing to say the least
Cheers
any chance I can attach it to a PM over to you? I've looked and there's definitely nothing obvious.
I did amend the rule and somehow caused lay bets to be placed twice over but have since removed the other betting rules so there's only one now. My last race (18:30) failed to green up accoding to the logs with no mention but seems to have anyway ?! Confusing to say the least
Cheers
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
It's happened again and it always seems to be in races affected by the >=6f to <=16f ..... is this some kind of anomaly with race length / range I've used?
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Here you go @Dallas ... thanks
Slightly amended but still exhibiting same issues
Bot removed from post
thanks
Slightly amended but still exhibiting same issues
Bot removed from post
thanks
Last edited by jaipal2004 on Thu Sep 21, 2017 2:30 pm, edited 1 time in total.
-
- Posts: 46
- Joined: Sat Aug 05, 2017 11:33 am
Hi Dallas,
did you spot any errors in the rules? Keep going over what else it could be and nothing sticks out.
Could be one of those times in education where you start copying bits of text to a fresh word document and start again !! Hopefully it won't come to that once you've ran your expert eye over it.
Fingers crossed
did you spot any errors in the rules? Keep going over what else it could be and nothing sticks out.
Could be one of those times in education where you start copying bits of text to a fresh word document and start again !! Hopefully it won't come to that once you've ran your expert eye over it.
Fingers crossed