51
Triggered betting / Re: Importing selections from a file
« Last post by MarkV 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
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