Pages:
Actions
  • #1 by markoone11 on 17 Feb 2022
  • Hi,

    I am using a locator to give me matches from Match Odds, OU0.5/1.5/2.5
    I create a text file to give me these - simple enough.
    I am looking to place a bet on one of the O/U once a certain price has been reached, simple enough

    BUT,

    I have some criteria, and I want to delete every market I have loaded for that team, based on that criteria...

    First off, at the start of the second half, volume on Match Odds needs to exceed 1000, and for O/U 2.5 needs to exceed 500 - I can get these values through a trigger, no problem. BUT, if either of these criteria are not met, I want to delete all 4 of these markets. I don't know how to do that?

    Next, if the above is satisfied, I check that the 02.5 has a price equal or lower than 2.0, if not, delete all 4 markets
    Next, if the match odds market price on either home or away does not fall between 1.8 and 2.2, delete all 4 markets. I understand how to check the score values, no problem, but deleting all 4 markets is what is confusing me.

    My real interest is placing a bet on another goal being scored. So, if the score at half time is 0-1, I place a bet on Over 1.5, (index 2), ONLY once it reaches a set price point. If the score is 1-1, I place a bet on Over 2.5. There is only 1 bet per match, and so, whatever O/U bet is placed, no further bets are placed on that match and the other 3 markets are deleted. I just don't know how to do this.

    The criteria I think are selection based, so if it's 0-0, then the market I am interested in is O0.5, and if I place my bet on this O0.5 market, how do I reference the other 3 markets and delete them?

    Is there the availability of referencing another market to say delete this other market if my bet is placed on O0.5?

    Potentially, I can simply delete the Match Odds market, once the volume and price values are satisfied, so this leaves me confused about the 2 remaining O/U markets. Further, if the score is 1-1, the O/U markets for 0.5 and 1.5 will not be available to me, but if its 0-0, then I need to be able to delete O/U 1.5 and 2.5, and if the score is 1-0, I need to delete O/U2.5

    Thanks

    Mark.
  • #2 by LiAlH4 on 17 Feb 2022
  • I would probably create a separate trigger for each type of market and specify under which conditions the market should be deleted.

    For match odds criteria I would define a user variable and set it to 1 if satisfied and 0 if not satisfied. Then each trigger would have a criterion if trigger_expression user_variable equals to 0 then delete market. Other conditions for deleting market can be set as alternatives using OR in the same triggers
  • #3 by MarkV on 17 Feb 2022
  • Hi
    To reference the other markets use cross market prefixes.
    Delete Match Odds last of all.

    e.g. to delete OU2.5 and then it's Match Odds if Match Odds traded volume is less than 1000

    delete market
    markets betting code is Over/Under (Soccer) 2.5
    and selections trigger expression football1_market_volume is less than 1000

    then to delete Match Odds test a criteria in OU 2.5 which will fail because it has been deleted by above:

    delete market
    markets betting code is Match Odds (Soccer & Tennis) or Moneyline (Basketball)
    and selections trigger expression football8_runner_number is not equal to 2

    could be worth putting is a safety condition to check markets have no matched or unmatched bets before being deleted  
  • #4 by markoone11 on 18 Feb 2022
  • Many thanks for the help and advice. I shall take on board what has been advised, and perhaps rethink what I need to do.

    Thanks again

    Mark
Pages:
Actions