Author Topic: Is in List function  (Read 2072 times)

Tags:
  • All members
  • Posts: 347
Is in List function
« on: 26 May 2015, 14:35 »
Hi there I just wanted to check something....

The Is in List function.... can the list be defined as a constant in the constants area... I assume it can... also is there any limit to the number of entries in the list?

  • Moderator
  • Posts: 3597
*
Re: Is in List function
« Reply #1 on: 26 May 2015, 18:37 »
Hi
"is in list" the list can't be defined as a constant.

but you could write a condition like:
selections trigger expression <constant> is in list

I think the list size is limited only by your system resources. If you have a large number of entries perhaps "is in file" might be better for ease of maintenance.
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: 347
Re: Is in List function
« Reply #2 on: 27 May 2015, 13:54 »
This is slowing things down considerably ... with about 25 entries...

Does anyone know if putting it in a file would speed things up?

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Is in List function
« Reply #3 on: 27 May 2015, 14:31 »
This is slowing things down considerably ... with about 25 entries...

I agree with you, so I scheduled the improvement of this function, i.e. adding the option to list variables.
Does anyone know if putting it in a file would speed things up?
Putting it in a file would be an efficient workaround for the time being (although variables are not parsed there either).
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 347
Re: Is in List function
« Reply #4 on: 27 May 2015, 14:48 »
Thats great Oxa ! Look forward to it....

I am using it at the moment as a way of referencing a list of horses for the day I do not want a lay bet to occur on in play so speed is crucial.


  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Is in List function
« Reply #5 on: 29 May 2015, 16:00 »
Why wouldn't you do it through "Import selections for auto-trading"? Much faster and you see at once which horses were imported.
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