Hi. I want to be able to place a bet and either have it hit the profit target or the stop loss, and when it is finished I want the bot to try again. I want to do this repeatedly until either the loss is too much or it is 1 minute before a race.
I have tried using the "Repeat Until" bot but that does not wait until back side and lay side are completed, and I end up having several bets running simultaneously.
Maybe pseudo-code explains it better:
Place back bet
Back bet matched
Place lay bet with stop loss
Lay bet matched or stop loss triggered
Wait 10 seconds
Until Loss>=10 or time<=-0:01:00
I hope that makes sense