I assume you close trade with greening rule is set to trigger several times?rain91 wrote: ↑Thu Sep 16, 2021 6:27 pmThanks for the reply, this is in line with what Derek also said.
but I would like you to check the stake distribution per runner.
on selection 1: BACK bet at @5 with $1 stake. LAY bet at @5.2 with $0.96 - fully hedged, i want trigger it, for example store a value: "hedged selection 1", ready for the next bet on this selection
on selection 2: BACK bet at @10 with $1 stake. LAY bet at @8 with $0.8 - not hedged yet ($0.45 unmatched), i dont want trigger. I wait for match the remaining stake ifor match.
Is this possible? : ) i think it's already more complicated
Effectively all your looking for then is there to be no unmatched bets on a selection before the back bet rule re-triggers, so on your back bet rule just a
'Unmatched bets condition on selection is = 0'
Or depending on the rest of your file you might want to insert a delay ie, so the back bet triggers if there has been no unmatched bets for more than 3 secs, giving the close trade rule plenty of chance to do its job