Hi there. I want to build a trigger that places a lay bet on an in play horse racing win market. The lay price has a condition that is decided on a formula that involves the win market BSP, the place market BSP and the market commission. If the last traded price is less than the outcome of the formula then place a lay bet at the best back price minus 1 tick at a pre-determined liability (eg $10). Other conditions for the lay bet are market volume pre-off is over $200,000 AUD (or 100,000 pounds, I'm from Australia), minimum win BSP is a set constant and maximum win BSP is a set constant.
I'm not asking for anyone to build this for me, I would like to do it myself. I have previously used Bet Angel and have built a number of automation so I'm not a completely newbie but I am a bit stuck and would really appreciate a nudge in the right direction.