Author Topic: flat turf, flat AW, national hunt. How do I differentiate in triggers?  (Read 1747 times)

Tags:
  • All members
  • Posts: 32
Hi,
some triggers are better suited to different codes,flat turf, flat AW, national hunt. How do I differentiate in triggers?

  • All members
  • Posts: 905
This information is not directly available on the API, so you need to use conditions such as:

Markets name does not contain Hrd
and Markets name does not contain Chs
and Markets name does not contain NHF

These conditions will ensure the trigger only fires with flat races.
IF you want NH races then change the conditions to;

Markets name contains Hrd
or Markets name contains Chs
or Markets name contains NHF

If you only want to bet AW races then just use the Betfair abreviation for the racecourses in the conditions

eg.
Markets name contains Sthl
or Markets name contains Wolv
etc.

You may need to combine the last conditions with the conditions to exclude NH races at courses where there are several codes eg. Southwell and Kempton.

A lot of this filtering can be performed in Market Locator.

  • All members
  • Posts: 32
Hi Rubold, thanks. That's what I'm doing, using course abbreviations for AW tracks. wouldn't it be easier if MFP had the different codes (maybe in cell K1)?
Regards
Moose

 

Please note, BetFair is seems to be currently OFFLINE