Pages:
Actions
  • #1 by Kevin R on 29 Nov 2018
  • Hi,

    Is there anyway to check if a particular type of marlet exists in your list?

    So my betting starts on the OU 0.5 so if i load markets that are inplay and goals are scored then that market doesnt exists anymore when refreshed, so i want to be able to delete the rest if its not there to save system resources.

    Any help appreciated guys

    kev
  • #2 by mcbee on 29 Nov 2018
  • hi
    you would have to use the market prefixes to check each market has no matched and unmatched bets , then record the market parent ID using a variable after a certain time limit to give any bets that might have been sent out chance to record and if there has been a goal scored.
    then in your delete trigger you would have a condition to delete any market with the parent ID that was recorded by the first trigger.
    it will only delete monitored markets of the same market parent ID

    mcbee
  • #3 by Kevin R on 29 Nov 2018
  • Hi mcbee,

    As i was reading this what i could do is check if market_score1+market_score2 is greater than 0, but then add condition that sees football6_market_settled_pl is equal 0, but i dont want it to delete an event if there has been betting in the 0.5, that solves 1 side but it doesnt really do what i want it to do.

    So could i employ something like this but for markets where the variable football6_market_settled_pl is not set, will global user variables work here? As if the 0.5 dont exist then that particular var doesnt exists.

    Thanks
    Kev
  • #4 by mcbee on 29 Nov 2018
  • hi
    Quote
    it doesnt really do what i want it to do.

    what do you want it to do

    mcbee
  • #5 by Kevin R on 30 Nov 2018
  • Hi mcbee,

    Basicaly when the markets load, and the 0.5 market doesn't exist and there was no betting in the 0.5 then I want to remove all the markets in that event group rather than have them refresh all the time which kills resources because no betting will take place at all so pointless having them on there.

    kev
  • #6 by Oxa (WellDoneSoft) on 02 Dec 2018
  • Hi Kevin,

    Just make this trigger:


    The idea is to check any parameter of the Over/Under 0.5 market in the current football match. If the O/U 0.5 market is missing, the condition will always be false, so any market from this match will be automatically deleted.
    The second condition is needed to wait for a few refreshes just to make sure that O/U 0.5 starts refreshing before the markets are deleted (otherwise they might be deleted before the program could realise that the market does exist).
  • #7 by Kevin Rooney on 03 Dec 2018
  • Hi,

    Sorry for delay, thanks for that!

    kev
Pages:
Actions