Hi Folks,
I'm trying to set up a system in the soccer - correct score markets,
that will lay a selection at a certain price, then if the game is getting close
to the end and the bet isn't won, to spread the losses.
I have the lay part of the bet triggering perfectly, but the spread loss is
throwing up some weird problems.
I tried simply, spread loss if the price reaches X, this was unreliable as even after
the score passes the selection, there are still back odds being offered, usually wildly
fluctuating between 1.02 and 1000, the trigger was firing when it shouldn't have.
After this I added a check to see if the score had changed, this was unreliable as
the score doesn't always update correctly. After this I thought I had it cracked by
adding that the selection should be ranked 1, before the spread loss would fire,
but I had one game where something strange happened and even though the score
was past, it ended up ranked 1 and the spread loss fired at odds of 1.02, spending almost £800 to spread the loss of a bet that was winning, thankfully was using test
funds or I'd still be screaming..

Are there any foolproof ways to cover this ?