Author Topic: lay trigger log error: All bets will be discarded.  (Read 3995 times)

Tags:
  • Guest
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.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: lay trigger log error: All bets will be discarded.
« Reply #1 on: 21 May 2013, 08:54 »
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.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Guest
Re: lay trigger log error: All bets will be discarded.
« Reply #2 on: 21 May 2013, 09:12 »
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.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: lay trigger log error: All bets will be discarded.
« Reply #3 on: 21 May 2013, 09:34 »
Selection's Lay Price is equal or less than 1000

but it didnt work.

Because 0 is equal or less than 1000 too.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Guest
Re: lay trigger log error: All bets will be discarded.
« Reply #4 on: 21 May 2013, 09:47 »
ah.. I understand, thx.

 

Please note, BetFair is seems to be currently OFFLINE