Author Topic: Over / Under trigger example  (Read 3952 times)

Tags:
  • Moderator
  • Posts: 3631
*
Over / Under trigger example
« on: 23 Jul 2012, 14:25 »
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?
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 905
Re: Over / Under trigger example
« Reply #1 on: 23 Jul 2012, 15:04 »
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

  • Moderator
  • Posts: 3631
*
Re: Over / Under trigger example
« Reply #2 on: 23 Jul 2012, 15:45 »
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.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 905
Re: Over / Under trigger example
« Reply #3 on: 23 Jul 2012, 17:02 »
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.

  • Moderator
  • Posts: 3631
*
Re: Over / Under trigger example
« Reply #4 on: 23 Jul 2012, 18:48 »
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’
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE