Author Topic: Importing selections from a file  (Read 2323 times)

Tags:
  • All members
  • Posts: 909
Importing selections from a file
« on: 17 Jan 2025, 13:25 »
I am familiar and have used the Import selections for autotrading button without problems.  I now want to import from a text file but keep the remaining selections available for auto-trading. So I tried Selections Name is in file......, but no selections were backed.  Do the selection names need to be enclosed within quotes?  This is not required if you use the Import selections button.

  • Moderator
  • Posts: 3675
*
Re: Importing selections from a file
« Reply #1 on: 19 Jan 2025, 10:51 »
Hi
The way to do this is to put #all_active# as the last line in the text file but also import a value so the betting trigger fires only for imported selections. This then leaves all other selections available for other triggers.

text file looks like this (tab between selection name and value, and no space or CR after #all_active#):

King Dargent 1
Surrender 1
Environment Ally 1
#all_active#

trigger condition for betting on imported selections:
and selections trigger expression imported_1 is equal to 1

all other selections in the market will be visible for other triggers
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: 909
Re: Importing selections from a file
« Reply #2 on: 21 Jan 2025, 11:13 »
Thanks Mark, surprisingly, just enclosing the names in quotes worked for me and left all selections avaiable for auto-trading.
So using import selections button, quotes not necessary.
Using Selections names in file... quotes required.  This is illustrated in the manual, but I orginally thought the quotes were not required.

 

Please note, BetFair is seems to be currently OFFLINE