Author Topic: [TR] trigger to delete football markets  (Read 2235 times)

  • All members
  • Posts: 41
[TR] trigger to delete football markets
« on: 16 May 2017, 19:56 »
hi
i want to load match odds and over/under 2.5 goals markets
then i want to delete both the match odds and the over/under 2.5 goals markets for those games where the home fav in the match odds is over 2.0, 
just leaving the match odds markets and associated over/under 2.5 goals markets where the home fav is odds on before kick off 
could you help please
cheers

  • All members
  • Posts: 41
Re: trigger to delete football markets
« Reply #1 on: 19 May 2017, 12:02 »
hi any news on this trigger request?
thanks

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: trigger to delete football markets
« Reply #2 on: 22 May 2017, 13:50 »
Hello!

Please see your triggers attached. Use the max_fav_price constant to adjust the maximum price of the favourite.

You can also use the attached Market Locator search template.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 41
Re: [TR] trigger to delete football markets
« Reply #3 on: 11 Dec 2018, 15:00 »
hi i am having a look at this trigger again trying to understand it and wonder what the significance of the following line is:-

selection's trigger expression football1_r_1_sel_id is equal to football1_s_1_sel_id

what does this mean exactly?
cheers

  • Moderator
  • Posts: 3597
*
Re: [TR] trigger to delete football markets
« Reply #4 on: 11 Dec 2018, 18:00 »
Hi
football1_ = match odds
r_1_        = rank 1 (fav)
sel_id       = selections unique ID in betfair's database
s_1_        = selection index 1 (home team in MO markets)

if you put them together, the condition is saying:
in match odds market the favourite's ID is equal to home team ID
this is your first stipulation for your trigger (home favourite)
and this condition checks the home team is indeed the favourite

the next condition in the trigger then determines the home favourite price is greater than 2.0 
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.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: [TR] trigger to delete football markets
« Reply #5 on: 14 Dec 2018, 07:37 »
Brilliant explanation Mark!
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE