Basically, if the weight of money on the Back side of the favoured player drops to under 15%, I want to place a £10 back bet 2 ticks above the current price, then place a corresponding lay bet 2 ticks down from where I get matched. Correspondingly, if the weight of money on the Lay side of the favoured player drops to under 15%, I want to place a £10 lay bet 2 ticks below the current price, then place a corresponding back bet 2 ticks up from where I get matched.
It seems to work at first then stop, I also had a lot of problems with it triggering repeatedly but I think that was because of the 5 second delay on in-play trading, I set a 10 second delay on triggering again which seems to have fixed that. However after placing a couple of trades, I will watch the game play out and the criteria will happen but no bet is triggered, even if there are no unmatched bets waiting.
The rules file is attached, any pointers in the right direction would be appreciated.
