What could cause that behaviour and that log message : "Position closed therefore no offset/stop required" ?
I have a rule for lay bet placing with Offset bet and Stop and Fill and Kill option. But when lay bet is filled then neither Stop or Offset bet is placed and position stay open and there is such log message. Greening rule is set up to close position far from time when bet is placed.
Position closed therefore...?
That message usually means Bet Angel has detected the position has already been closed by the time it tried to place the offset or stop. A few things could cause this:
Another rule (like your greening rule) might have closed the trade earlier than expected, even if it's not time-based – for example, if it’s triggered by price or profit conditions.
Manual intervention – if you manually closed the trade or cancelled unmatched bets, it could trigger that log.
The Fill or Kill setting might be removing the main bet if it isn’t matched within the time window, preventing the offset/stop from ever triggering.
Try checking the full log sequence to see exactly what happened before that message.
Another rule (like your greening rule) might have closed the trade earlier than expected, even if it's not time-based – for example, if it’s triggered by price or profit conditions.
Manual intervention – if you manually closed the trade or cancelled unmatched bets, it could trigger that log.
The Fill or Kill setting might be removing the main bet if it isn’t matched within the time window, preventing the offset/stop from ever triggering.
Try checking the full log sequence to see exactly what happened before that message.
Thanks for detailed answer,Peter!
I've removed greening rule with profit conditions and it seems solved the problem. I really have a rule for cancelling unmatched bets,but it's not struggle with placing offset or stop.
My thoughts at first were that if I have a condition (matched bets on selection = 0) in a rule of placing bet so that could prevent placing the offset or stop bet, cause there is already matched bets (that 1st bet if it's matched).
I've removed greening rule with profit conditions and it seems solved the problem. I really have a rule for cancelling unmatched bets,but it's not struggle with placing offset or stop.
My thoughts at first were that if I have a condition (matched bets on selection = 0) in a rule of placing bet so that could prevent placing the offset or stop bet, cause there is already matched bets (that 1st bet if it's matched).