Pages:
Actions
  • #1 by MarkV on 23 Jul 2012
  • Hi
    I am making some mods to the recently added Over/Under trigger example.

    The trigger requires all OU0.5 to max OU8.5 markets to be loaded. This is simple enough to do in the locator. However, I am only interested in those soccer games that have up to OU8.5 markets. What properties do I require for a Market Locator template to load OU0.5 to OU8.5 for those games only?

    For example 23rd July:
    Deportivo Pereira v Valledupar FC has OU markets 0.5 to 6.5
    I want to exclude all the OU markets of this game and do not want to bet on it

    Rosenborg v Lillestrom has OU markets 0.5 to 8.5
    I want to include all the OU markets of this game and bet on it

    Optionally, if all OU markets are loaded, what conditions would be needed for a delete markets trigger to delete all markets for games which do not have an OU8.5?
  • #2 by rubold on 23 Jul 2012
  • remember OU8.5_market_parent_id

    Condition: Markets Name Contains "8.5 goals"
                      Markets min before off is between 2 & 3


    Delete
    Once per Market

    Conditions
    User variable OU8.5_market_parent_id are not set
                          Markets min before off is between 1 & 2
  • #3 by MarkV on 23 Jul 2012
  • Thank you rubold. That will do the job nicely. Cheers also for the lesson in using uservar ‘are set’ or ‘are not set’ as a filter.
  • #4 by rubold on 23 Jul 2012
  • Actually Mark, I find ver 7 use of these variables slightly confusing.

    In V6 you can use the remember trigger and create a new list every time and then: User Variable(s)  xxx_market_parent_id are not set

    But in V7 the only option is Global User Variable(s) are ........    and it seems to me that these are not global, but specific to each market, so global is not the correct adjective.  What do others think of this?

    I usually write these in V6 and load the .xml file into v7.
  • #5 by MarkV on 23 Jul 2012
  • Hi
    I guess it depends how you look at it. In the example above I agree the uservars are market specific. But applying what I have just learned from you, I could for example, change refresh rates to a group of markets, or not, in which case it would be ‘global’
Pages:
Actions