Author Topic: Condition "Selection's name in file" not working  (Read 2285 times)

Tags:
  • All members
  • Posts: 6
I'm trying to load Horse Selection names from simple txt file, but it works only for names made of single word, if its 2+ words separated by single space, trigger doesn't catch those.
For instance, txt looks like this:

Tectonic
Wishing Tree
Draco
Go Amber Go

It works for Tectonic and Draco, but not for other 2. It works for all 4 if I import them manually by "Import Selections for auto-trading", but that's not an option for me, as I'm updating list constantly.

Any ideas?

  • Moderator
  • Posts: 3597
*
Re: Condition "Selection's name in file" not working
« Reply #1 on: 14 Jul 2016, 20:22 »
Hi
Try the txt file like this:

"Tectonic"
"Wishing Tree"
"Draco"
"Go Amber Go"
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.

  • Guest
Re: Condition "Selection's name in file" not working
« Reply #2 on: 14 Jul 2016, 21:06 »
I use the txt file like this

"Two Word Horsenames"  = brackets

Onewordhorsenames        = no brackets

being doing it like that for weeks with no issues

larp


  • All members
  • Posts: 6
Re: Condition "Selection's name in file" not working
« Reply #3 on: 15 Jul 2016, 09:43 »
thanks guys, that works perfectly!

  • All members
  • Posts: 490
  • Gender: Male
Re: Condition "Selection's name in file" not working
« Reply #4 on: 07 Mar 2017, 06:47 »
I'm having trouble.
My text file has "Noble Ethics"
MFPro reads "noble ethics" and responds FALSE

It won't recognize the capitals??
Improvise Adapt Overcome

  • All members
  • Posts: 490
  • Gender: Male
Re: Condition "Selection's name in file" not working
« Reply #5 on: 08 Mar 2017, 07:19 »
It seems I am not the only one having problems with this process.
https://community.welldonesoft.com/marketfeeder-triggered-betting/problems-reading-jockey-name-from-a-text-file/msg56276/#msg56276

The 'is in file' function of MFPro does not work from a trigger looking for a Selections Name

Improvise Adapt Overcome

  • Moderator
  • Posts: 3597
*
Re: Condition "Selection's name in file" not working
« Reply #6 on: 08 Mar 2017, 08:55 »
Hi londolozi
just tested and looks ok, see screenshot attached
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: 490
  • Gender: Male
Re: Condition "Selection's name in file" not working
« Reply #7 on: 08 Mar 2017, 12:13 »
...?? No idea then
Improvise Adapt Overcome

  • Moderator
  • Posts: 3597
*
Re: Condition "Selection's name in file" not working
« Reply #8 on: 08 Mar 2017, 12:39 »
Hi
The only thing I can think of is you linked to similar topic from another user earlier, where the problem was the wrong quotation marks.
Did you confirm you are ok on this?
 
”Selection Name” in the text file will be FALSE
"Selection Name" in the text file will be TRUE
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: 490
  • Gender: Male
Re: Condition "Selection's name in file" not working
« Reply #9 on: 08 Mar 2017, 12:48 »
Really? The Italic ones will make a difference. I don't know how to use different types.

I got it working.
I moved the in the file to the first condition and now it works.
But I checked the program logs and they had the equal value but the result was FALSE.
A mystery to me but perhaps it was the different quotation marks.

Thanks
Improvise Adapt Overcome

 

Please note, BetFair is seems to be currently OFFLINE