unmached
I'm talking about the real position at that moment. I want to avoid placing first second and third position. in practice bank if a position that is number 5 and while placing the bet that position has become number 3 while placing the bank I want it to cancel it or not to place the bet
You can't cancel a bet once its been placed because a its now moving against (unless its still unmatched)saxsax wrote: ↑Thu Sep 29, 2022 1:23 pmI'm talking about the real position at that moment. I want to avoid placing first second and third position. in practice bank if a position that is number 5 and while placing the bet that position has become number 3 while placing the bank I want it to cancel it or not to place the bet
All you can do is try and close the trade or green up at the current best price and take whatever the current loss
And for unmatched bets when you say position do you mean position as in the favouritism order or in the case of a in-running horse race the actual position they are in on the course at that time?
You'll need a TPD subscription to use there GPS data to know what real time position they are currently in
https://www.tpd.zone/subscribe/
Otherwise you can only use the Betfair data ie, position in order of their current price but the fav might be a hold up horse currently running at the back end of the field
To prevent a bet being placed on a selection in the top three of the betting you'd use a the following condition on your back/lay rule
Relative Odds Condition
Back Price
is greater than
Back Price
of Selection in order of favouritism 3
Relative Odds Condition
Back Price
is greater than
Back Price
of Selection in order of favouritism 3