Author Topic: Error message  (Read 4100 times)

Tags:
  • All members
  • Posts: 107
Error message
« on: 29 Apr 2013, 20:21 »
Hi all,

Does anybody know why I get the following message in trigger logs,

Error in the trigger expression of price or amount for selection "xxxxxxxx".
All bets will be discarded.

I am sure the error is in the price. I have the expression "lay_price" and if I

change it to, for example, "last_traded" the error message goes, however, I

don't want "last_traded" or anything else for that matter.

It doesn't seem to be affecting the trigger, it's just very irritating.

Thanks for any ideas.

Keith.

  • Moderator
  • Posts: 3605
*
Re: Error message
« Reply #1 on: 29 Apr 2013, 20:42 »
Hi
Is there a lay price being offered at the time of evaluating the trigger expression? If not it will mess up the expression. You can test for a valid lay price with a condition before the condition where the expression is evaluated e.g. selection's lay price is between 1.01 and 500.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 107
Re: Error message
« Reply #2 on: 29 Apr 2013, 21:15 »
 HI MarkV,

I think I understand that. Will have to wait for tomorrows racing to try.

Thanks again.

  • Moderator
  • Posts: 3605
*
Re: Error message
« Reply #3 on: 29 Apr 2013, 21:37 »
if you turn on this setting, it should give some clue as to what is amiss:
Settings > Betting Options > Triggers > Log trigger expressions
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 107
Re: Error message
« Reply #4 on: 29 Apr 2013, 21:55 »
Ok, what program do i use to open the file. Sorry for being so dim.

  • Moderator
  • Posts: 3605
*
Re: Error message
« Reply #5 on: 29 Apr 2013, 23:09 »
Hi
If your trigger expressions are being logged they will appear in the trigger logs with a calculator symbol to the left. See screenshot.

This should be of help in determining the fault with your trigger expression.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Error message
« Reply #6 on: 30 Apr 2013, 05:28 »
hi keith31
it would be a lot easier and quicker for us, if you included your trigger, so that we can see where the problem is.
there are a few reason's why you would get this message.


mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE