Pages:
Actions
  • #1 by ifyesthenno on 23 May 2013
  • my trigger condition doesnt work:

    Selections Trigger Expression pdif_3/(back_price-pdif_3) is outside -0,19 and 0,19

    the trigger should do:
    record the back-price difference about the last 3 minutes and wenn the percent of the difference is more than 20%, then place a bet.

    why it doesnt work?
    • ifyesthenno
  • #2 by mcbee on 23 May 2013
  • hi
    i am not sure what you are trying to do with the  is outside -0,19 and 0,19
    but if you use   is between  0 and 19 
    then there is no problem

    mcbee
  • #3 by ifyesthenno on 23 May 2013
  • thx, you are right, I corrected it into "more than 0.1"

    but anyway, it doesnt place bets. there are selections on which the prices changed much more than 10%, but no bet is placed. trigger log says always: FALSE.

    any idea?
    • ifyesthenno
  • #4 by mcbee on 23 May 2013
  • hi
    can you include your trigger so that i can see why it is giving a false.
    i tested the between and it placed bets ok.

    mcbee
  • #5 by ifyesthenno on 23 May 2013
  • mcbee,

    the trigger has no other condition than:

    Selections Trigger Expression pdif_3/(back_price-pdif_3) is equal or greater than 0.1

    back, back_price, 0.01, cancel
    all matching selections, horse races, once per selection, idle or suspended

    I have the formula from the manual, see page 122, example 1, only that my trigger is much easier.
    I tried now some hours and no bet is placed. of course there were some selections that within 3 minutes had a changing of over 10%.
    example: 4:00 minutes before the off the back_price was 8.4
    0:20 seconds before the off the back_price was 6.2
    formula:
    pdif_3: -2.2
    back_price: 6.2
    back_price-pdif_3: 6.2 -(-2.2) = 8.4
    pdif_3/(back_price-pdif_3): 2.2/8.4 = 0.26
    0.26 is > 0.1, condition is TRUE

    in the settings I turned on the function "trigger expression" to understand whats going on. here is an example:

    Selection: Dragon City, initial expr.: pdif_3/(back_price-pdif_3), intermediate: 0/(9.40-0), final: 0.

    it seems that the trigger does NOT record any changing of the price, its 0 on all selections and so the result of the formula is 0 and so FALSE.
    • ifyesthenno
  • #6 by mcbee on 23 May 2013
  • i have just checked again and after about half a minute it placed 4 bets.
    make sure that you have set your bot to bet below the betfair limit.
    make sure that you have set the default history to at least 10 minutes
    i have included my basic test trigger

    mcbee
  • #7 by ifyesthenno on 23 May 2013
  • oh mcbee,

    thx for your super quick reply and SORRY that I am so un-intelligent: the market depth will be the problem, its set to only 1 min for other reasons......................

    yes, it was the problem, logical clear easy. now everything is ok.
    again sorry.
    • ifyesthenno
Pages:
Actions