Hi All, I am hoping someone can spot what I am doing wrong. I am fixing a market before in-play (doing it 5 times to be sure and writing a stored value each time to confirm) but in many races, the favourite (as fixed at the start) seems to change. For debugging, I added a rule that would write the back price for the favourite every second. You can see it magically changes from 'Hes a Sizzler' to 'Ginger Locks' at about the time 'Ginger Locks' becomes the new favourite.
25/02/2021 15:57:00: [G_Auto] : Store Value (Shared) for event: fix-market = 1
25/02/2021 15:57:01: [G_Auto] : Store Value (Shared) for event: fix-market = 1
25/02/2021 15:57:01: [G_Auto] : $ 1.00 Back bet placed on 2. Hes A Sizzler at 1.46. Fully matched at 1.46. Ref: 2253xxxxxxxx
25/02/2021 15:57:02: [G_Auto] : Store Value (Shared) for event: fix-market = 1
25/02/2021 15:57:03: [G_Auto] : Store Value (Shared) for event: fix-market = 1
25/02/2021 15:57:04: [G_Auto] : Store Value (Shared) for event: fix-market = 1
25/02/2021 15:58:04: Guardian has detected that the market is suspended
25/02/2021 15:58:05: Guardian has detected that the market is in-play
25/02/2021 15:58:05: Guardian has detected that the market is now unsuspended
...
25/02/2021 15:59:07: [G_Auto] : Store Value (Shared) for 2. Hes A Sizzler: odds-on = 1.2
25/02/2021 15:59:08: [G_Auto] : Store Value (Shared) for 2. Hes A Sizzler: odds-on = 1.21
25/02/2021 15:59:09: [G_Auto] : Store Value (Shared) for 2. Hes A Sizzler: odds-on = 1.21
25/02/2021 15:59:10: [G_Auto] : Store Value (Shared) for 2. Hes A Sizzler: odds-on = 1.53
25/02/2021 15:59:11: [G_Auto] : Store Value (Shared) for 2. Hes A Sizzler: odds-on = 1.24
25/02/2021 15:59:12: [G_Auto] : Store Value (Shared) for 2. Hes A Sizzler: odds-on = 1.28
25/02/2021 15:59:13: [G_Auto] : Store Value (Shared) for 11. Ginger Locks: odds-on = 1.61
25/02/2021 15:59:14: [G_Auto] : Store Value (Shared) for 11. Ginger Locks: odds-on = 1.06
25/02/2021 15:59:15: [G_Auto] : Store Value (Shared) for 11. Ginger Locks: odds-on = 1.04
25/02/2021 15:59:17: Guardian has detected that the market is suspended
How does this happen? This isn't an isolated incident and is driving me crazy
cheers
Fix Market not always working
Just a guess but maybe each time you use Fix Market it unfixes and then refixes in the current order rather than preserving the original order? You could try fixing just once but still store the value each second to see if the runner still changes.
Thanks Johnedale, I originally had it only firing once which did the same thing and read a post that suggested a few repeats to 'be sure'. All five occur minutes before the favourites 'switch' so don't think it is a race condition.
Thanks for helping !
cheers
Hey Dallas,
My rules file is a mess at the moment as I try to debug several different strategies in parallel (I am an impatient person!) and a little embarrassed to paste to the main forum, but couldn't find a way to private message you with an attachment.
I have seen this behavior a handful of times today and happy to attach more log files if my screwup isn't obvious.
cheers
The extra logs won't show any more info, but if you've got a lot of rules in the file the first thing i'd do is check each one to ensure you don't have another fix order rule tucked away somewheremoodysrus wrote: ↑Thu Feb 25, 2021 1:03 pmHey Dallas,
My rules file is a mess at the moment as I try to debug several different strategies in parallel (I am an impatient person!) and a little embarrassed to paste to the main forum, but couldn't find a way to private message you with an attachment.
I have seen this behavior a handful of times today and happy to attach more log files if my screwup isn't obvious.
cheers
ie, you might have a rule named 'Lay at 3.0', but rather than it be a 'place lay bet' rule type its actually another 'fix order' rule type which is triggering
I can't see anything obvious wrong with it from a quick look so i've applied it to a few markets while I've got a screen spare
and will keep an eye on it
How often is it 'not' working correctly when you are running it?
One other quick thing to check, when it has been happening were you editing and re-saving the rule or re-applying it to the markets?
Hmm, I have been aggressively editing rules today, often in-play. Maybe that is my issue.Dallas wrote: ↑Thu Feb 25, 2021 1:29 pmI can't see anything obvious wrong with it from a quick look so i've applied it to a few markets while I've got a screen spare
and will keep an eye on it
How often is it 'not' working correctly when you are running it?
One other quick thing to check, when it has been happening were you editing and re-saving the rule or re-applying it to the markets?
In the last 12 hours, I have noticed it a handful of times, but wasn't always staring at the logs as the race unfolded so may have been more.
I will avoid editing rules while a race is in-progress and see if that settles things down...
Thanks !!
Whenever a automation file is resaved if its applied to any markets at that time it will effectively reset itself as though its just been applied.moodysrus wrote: ↑Thu Feb 25, 2021 1:35 pmHmm, I have been aggressively editing rules today, often in-play. Maybe that is my issue.Dallas wrote: ↑Thu Feb 25, 2021 1:29 pmI can't see anything obvious wrong with it from a quick look so i've applied it to a few markets while I've got a screen spare
and will keep an eye on it
How often is it 'not' working correctly when you are running it?
One other quick thing to check, when it has been happening were you editing and re-saving the rule or re-applying it to the markets?
In the last 12 hours, I have noticed it a handful of times, but wasn't always staring at the logs as the race unfolded so may have been more.
I will avoid editing rules while a race is in-progress and see if that settles things down...
Thanks !!
So before I do any further testing run it for a bit this afternoon with no editing
Or if you do need to make any edits and resave make sure you then remove any markets from Guardian where the rules have begun triggering and ignore what happened in those
Hey Dallas,
I think the 'mystery' has been solved. I have been careful to not edit rules while in-play and haven't seen anything bad so far today (Australia). I also added a condition that prevents the 'Fix Market' rule from triggering if the event is 'in-play'. Not sure if that helps but it made me feel better
Thanks very much for your help.
cheers
I think the 'mystery' has been solved. I have been careful to not edit rules while in-play and haven't seen anything bad so far today (Australia). I also added a condition that prevents the 'Fix Market' rule from triggering if the event is 'in-play'. Not sure if that helps but it made me feel better
Thanks very much for your help.
cheers