31
Triggered betting / Re: Limiting number of markets open
« Last post by MarkV on 15 May 2023, 11:47 »Hi
It depends on what markets your trigger needs to be available for each event.
to delete markets with no bets:
delete market
markets number of matched back bets is equal to 0
and markets number of matched lay bets is equal to 0
and markets number of unmatched back bets is equal to 0
and markets number of unmatched lay back bets is equal to 0
plus any conditions needed for time (match_ minute) and current score
It depends on what markets your trigger needs to be available for each event.
to delete markets with no bets:
delete market
markets number of matched back bets is equal to 0
and markets number of matched lay bets is equal to 0
and markets number of unmatched back bets is equal to 0
and markets number of unmatched lay back bets is equal to 0
plus any conditions needed for time (match_ minute) and current score