I am trying to make an automation but I am not sure whether it can be done and wondered if anyone could help.
The first part of my bet is to place a lay bet 30 mins before the off only if the price is lower than it was 30 seconds ago- This bit i have done.
Then I want to place a back bet only if the odds drift a couple of ticks higher than the odds I got matched on my lay bet- This is the bit i don't know how to do

Thanks
brunty122