Author Topic: jockey name  (Read 5240 times)

Tags:
  • All members
  • Posts: 195
jockey name
« on: 10 May 2013, 12:35 »
Hi i am having trouble with the names of jockeys what conditions do i use? When i use trigger expression silk_jockey is equal to or contains Denis O'Regan nothing fires and when i use selections jockey's name is equal to or contains Denis O'Regan nothing fires. Also does the spelling of the jockey's name have a bearing on the conditions for example do i use Denis O'Regan or "Denis_O'Regan". Regards Andrew


  • Moderator
  • Posts: 3509
*
Re: jockey name
« Reply #1 on: 10 May 2013, 12:54 »
Hi
silk_jockey is a string variable, so should be in quotes. See screenshot. Spelling should be exactly as per Betfair data, but you can also use a partial string e.g. contains "Denis".
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.

  • √Člite
  • Posts: 3698
  • Gender: Male
*
Re: jockey name
« Reply #2 on: 10 May 2013, 12:56 »
hi
you can use is in list,
and selections jockey's name is in list
 (but the list must be like this) .

WILLIAM BUICK,Frankie Dettori,Ted Durcan,T. E. DURCAN,J. P. SPENCER,Jamie Spencer,David Allan,D. ALLAN,Adam Kirby,A. KIRBY,Pat Cosgrave,P. COSGRAVE,MARTIN LANE,Pat Dobbs,ADAM BESCHIZZA,P. DOBBS,P. J. BRENNAN,Paddy Brennan

the name has to be exact as betfairs jockey name.
they used to be different than racing post and sporting life, so get the name direct from the horse silks in the full mode.

mcbee
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: 195
Re: jockey name
« Reply #3 on: 10 May 2013, 14:51 »
Thanks Mark and Mcbee very helpfull as always

  • All members
  • Posts: 195
Re: jockey name
« Reply #4 on: 11 May 2013, 17:29 »
Hi im struggling to see what is wrong here  Paul Hanagan is on Ektihaam but condition is false
14:42:56       Condition is: FALSE.
14:42:56   Selection: Ektihaam, initial expr.: "silk_jockey", intermediate: "Paul Hanagan", final: "Paul Hanagan".
14:42:56       Checking condition and Selection's Trigger Expression "silk_jockey" is in list  "Paul Hanagan"  "Richard Hughes" " William Buick".
14:42:56       Condition is: TRUE. valid for 1 selections: Ektihaam.
14:42:56   

  • Moderator
  • Posts: 3509
*
Re: jockey name
« Reply #5 on: 11 May 2013, 18:51 »
Hi
The section of the log you posted shows the condition as TRUE?

The trigger expression is best used for checking a specific value, for example from your first post:
selection's triggers expression "silk_jockey" is equal to "Paul Hanagan"
or selection's trigger expression silk_jockey contains "Hanagan"

Have you tried mcbee's suggestion:

selection's jockey's name is in list
LIST: Paul Hanagan,Richard Hughes,William Buick
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: 195
Re: jockey name
« Reply #6 on: 21 May 2013, 19:43 »
Hi could someone have a look at what im doing wrong i have added quotes and deleted quotes but still cant get either trigger to work

  • Moderator
  • Posts: 3509
*
Re: jockey name
« Reply #7 on: 21 May 2013, 20:42 »
Hi
See attached.
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: 195
Re: jockey name
« Reply #8 on: 22 May 2013, 13:55 »
Cheers Mark

  • All members
  • Posts: 195
Re: jockey name
« Reply #9 on: 25 May 2013, 16:11 »
Hi how can i combine jockey, trainer and course together i have jockey and course but cannot work out how to include trainer

  • √Člite
  • Posts: 3698
  • Gender: Male
*
Re: jockey name
« Reply #10 on: 25 May 2013, 18:12 »
hi
just add a condition the same as for the jockey.
but slightly different.
and selections trigger expression silk_trainer is in list

mcbee
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: 195
Re: jockey name
« Reply #11 on: 25 May 2013, 19:03 »
Thanks mcbee i need a new pair of glasses as i looked in selection variables 3  or 4 times for that and couldnt see it

 

Please note, BetFair is seems to be currently OFFLINE