Pages:
Actions
  • #1 by trader21 on 03 Dec 2015
  • If i wanted to add a condition in a trigger which is like "if the number of horses in the race with odds < 10.0 is greater than 3"  ..then back the favourite.

    How can I do it ?
    I couldn't find a standard variable which shows how to access the number of horses based on a constant odds value.

    Thanks
  • #2 by MarkV on 03 Dec 2015
  • Hi
    It's matching_number. Your example:

    all matching selections
    selections back price is less than 10.00
    and selections trigger expression matching_number is greater than 3
    and selections rank is equal to 1

     

  • #3 by trader21 on 03 Dec 2015
  • Thanks very much for your reply.

    Also..is there a wait to delay a trigger based on a race variable.
    So I am only triggering a bet in-play (market status set to in-play), but I don't want the trigger to start running as soon as the race starts, but want to wait for say 1 minute.
    And this time wait could be different based on the length of the race > i.e a 2mile race may have wait time of 1 minute, but a shorter race may have a wait time of 30secs.

    Would i need to access the Race description to determine this ? e..g 13:45 2m3f Hcap Chase

    Thanks
  • #4 by liltbrockie on 03 Dec 2015
  • You will want to base the time of a calculation based of the market_length value
  • #5 by trader21 on 03 Dec 2015
  • Starting off to keep it simple.

    Say I want a delay of 45 seconds before an in-play trigger starts. would the following condition work ( I found an example in the online help)

    ...and Selection's Trigger Expression (( now-time - event_off)/0.0001157)) is greater than 45

    Thanks.
  • #6 by mcbee on 03 Dec 2015
  • hi
    and markets 'minutes before the off is equal or less than .75
    would be better.
    100/60*45
    and for your first question
    and trigger expression s_4_back_price is less than 10.00
    so the first 3 favs must be less than 10.00
    simple with no complications.


    mcbee
  • #7 by MarkV on 03 Dec 2015
  • Hi mcbee
    much easier, thanks.
    just to clarify, r_4_back_price ?

    please forgive me but I think trader21 was asking in-play so just a minor change to:
    and markets minutes since the off is equal or greater than .75

    and can you confirm this is best way for the original question for a variable to return the number of horses based on a constant odds value, instead of matching_number to previous conditions?

    cheers
    Mark

    ps trader21 if you search the forum for "race length" or "market_length" referred to by liltbrockie you will find some interesting material.
  • #8 by trader21 on 04 Dec 2015
  • Hello .

    Just to clarify what I meant.
    Horse race has 10 runners > back prices between say 3.5 up to 15.0
    As race progresses the prices change as horses drift out..

    So I want to only trigger my bet once there are max of 4 runners below odds of 10.0
    I.e the other 6 runners have drifted to odds past 10.0

    So I am only backing the favourite, but I am keeping tabs on the other runners and only place my bet when there are 4 runners below odds of 10.0
    So I was asking for the condition where I could check how many runners there are with odds less than a certain value.

    Thanks for help so far.
  • #9 by mcbee on 04 Dec 2015
  • hi
    thanks markv, yes it should be r_4_back_price


    mcbee
Pages:
Actions