Hi Mark,
I tried that. I think it is a little bit more complicated. Let me explain.
Example
I load all today MO, CS, OU markets via the market locator.
A first trigger deletes alll markets except those whose names contain "Match Odds - Match Odds" or "Over/Under 2.5 goals" or "Correct Score - Correct Score"
A second trigger (with 2 actions):
First action
Sets a uservar mydeletedmarkets=market_parent_id, individually for each market
Second action
Deletes markets where the following conditions are not met:
Market names contain "Match Odds - Match Odds"
and s_1_back_price is equal or less than 1.65
or s_2_back_price is equal or less than 1.65
or Market names contain "Over/Under 2.5 goals"
and s_2_back_price is equal or less than 1.8
or Market names contain"Correct Score - Correct Score"
A third trigger deletes all markets where:
market_parent_id = mydeletedmarkets
Let's suppose that in a market_parent_id
1. The MO s_1_back_price and s_2_back_price are greater than 1.65
2. The OU s_2_back_price is greater than 1.8
After the 2nd delete trigger in "Mymarkets" I have only the "Correct Score - Correct Score" market, as everything else has been deleted via the 1rst and 2nd delete trigger.
I would like the third delete trigger to delete also the CS market.
But, as the MO and OU markets have been deleted (via the 2nd delete trigger), the uservar mydeletedmarkets has also deleted accordingly the MO and OU informations for each deleted market.
So, when the third delete trigger is trying to compare the expression market_parent_id and mydeletedmarkets, mydeletedmarkets is not defined for the CS market, and, it is not deleted.
Any ideas?
Regards,
Theo
Hi let me see if can help
"A first trigger deletes alll markets except those whose names contain "Match Odds - Match Odds" or "Over/Under 2.5 goals" or "Correct Score - Correct Score""
** This part you can solve in market locator, and load only this especific markets.
"First action
Sets a uservar mydeletedmarkets=market_parent_id, individually for each market
Second action
Deletes markets where the following conditions are not met:
Market names contain "Match Odds - Match Odds"
and s_1_back_price is equal or less than 1.65
or s_2_back_price is equal or less than 1.65
or Market names contain "Over/Under 2.5 goals"
and s_2_back_price is equal or less than 1.8
or Market names contain"Correct Score - Correct Score""
** If you use a remember triggers one for each scenario, you can later delete all market_parent id that are set in here.
"A third trigger deletes all markets where:"
*** Like i say before i believe whith individual cenario remembers u can solve that
pcal72