Pages:
Actions
  • #1 by yorkiemac08 on 10 May 2013
  • 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

  • #2 by MarkV on 10 May 2013
  • 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".
  • #3 by mcbee on 10 May 2013
  • 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
  • #4 by yorkiemac08 on 10 May 2013
  • Thanks Mark and Mcbee very helpfull as always
  • #5 by yorkiemac08 on 11 May 2013
  • 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   
  • #6 by MarkV on 11 May 2013
  • 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
  • #7 by yorkiemac08 on 21 May 2013
  • 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
  • #8 by MarkV on 21 May 2013
  • Hi
    See attached.
  • #9 by yorkiemac08 on 22 May 2013
  • Cheers Mark
  • #10 by yorkiemac08 on 25 May 2013
  • Hi how can i combine jockey, trainer and course together i have jockey and course but cannot work out how to include trainer
  • #11 by mcbee on 25 May 2013
  • hi
    just add a condition the same as for the jockey.
    but slightly different.
    and selections trigger expression silk_trainer is in list

    mcbee
  • #12 by yorkiemac08 on 25 May 2013
  • 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
Pages:
Actions