Author Topic: Error in the trigger expression of price or amount for selection  (Read 1110 times)

Tags:
  • All members
  • Posts: 20
  • Gender: Male
Hi.
Found this error in Trigger log. Can't explain why is it like that. The error says - "Error in the trigger expression of price or amount for selection Over 1.5 Goals" Added the trigger so that someone could take a look at it. Worked fine on the test and now getting something like that. 

  • Administrator
  • Posts: 8826
  • Gender: Female
*
Turn on "Log trigger expressions" in Logger Options temporarily, then run this trigger again, to see what the trigger expression has been evaluated to.

Make sure that the back price of the selection you are backing on is not null (e.g. towards the end of the game).
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 20
  • Gender: Male
Trigger should place a bet at the start of the second period so shouldn't be the case of a null. Will turn this on and see what it shows me.

  • All members
  • Posts: 20
  • Gender: Male
This is what I got.

  • Administrator
  • Posts: 8826
  • Gender: Female
*
You created two constants, bet_amount and bet_amount_game. The name of the second constant contains the name of the first, so they are parsed incorrectly. The "bet_amount" bit is replaced with 2, leaving you with "2_game".

The ways trigger expressions parsed is not the same as in conventional language compilers, so avoid creating constants with identical names or with names that contain the full name of any other constant or trigger variable.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

 

Please note, BetFair is seems to be currently OFFLINE