Pages:
Actions
  • #1 by ifyesthenno on 21 May 2013
  • hi,

    I have a simple lay trigger to lay all selections at any price in horse races. when there is a selection where no lay price is available (or because the back price is already 1000 or because there is no offer), all lay-bets of all selections are be discarded.
    in the trigger log there is the error: All bets will be discarded.
    and: Error in the trigger expression of price or amount for selection "..."

    how can I avoid that ALL bets are discarded? it doesnt matter that these bets are not placed where no lay-price is available, but all other bets should be placed.
    • ifyesthenno
  • #2 by Oxa (WellDoneSoft) on 21 May 2013
  • You may need to add a condition that filters out selections with null lay price:

    Selection's Lay Price is greater than 1.0

    This way the trigger will act on selections with valid prices only.
  • #3 by ifyesthenno on 21 May 2013
  • oxa,

    your solution works (of course), fine and thx.

    I thought already the same and so I added the condition

    Selection's Lay Price is equal or less than 1000

    but it didnt work.
    • ifyesthenno
  • #4 by Oxa (WellDoneSoft) on 21 May 2013
  • Selection's Lay Price is equal or less than 1000

    but it didnt work.

    Because 0 is equal or less than 1000 too.
  • #5 by ifyesthenno on 21 May 2013
  • ah.. I understand, thx.
    • ifyesthenno
Pages:
Actions