Author Topic: Race types  (Read 1298 times)

Tags:
  • All members
  • Posts: 110
Race types
« on: 17 Nov 2016, 21:50 »
I want to trigger in selected horse races eg Nov Chs. If I use 'Market Name contains Nov Chs' it doesn't seem to work, nor does 'Market Name contains NovChs'. I could use 2 selection lines looking for Nov AND Chs but the trouble then is I get a false positive in races in the month of November, (also Nov). Any suggestions? Thanks

  • Moderator
  • Posts: 3597
*
Re: Race types
« Reply #1 on: 18 Nov 2016, 08:43 »
Hi
MarketFeeder uses TDateTime format, i.e. number of days since December 30th 1899. The fractional part is the time of day. Details of this are in the help file.

so ball park conditions for November 2016 would be:
selections trigger expression event_start is between 42674 and 42704
and markets name contains "Chs"

or you could use variations of the above and, markets name does not contain ...

Also you can try the FIND function:
selections trigger expression FIND("Nov Chs", "market_name") is greater than 0

...or greater than x where x is the start character number in the string "market_name" if that makes sense.
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: 110
Re: Race types
« Reply #2 on: 18 Nov 2016, 10:24 »
The Find function should do the trick - thanks

 

Please note, BetFair is seems to be currently OFFLINE