Author Topic: list.txt  (Read 735 times)

Tags:
  • All members
  • Posts: 58
list.txt
« on: 19 May 2019, 13:56 »
Hi
I have a list.txt with football teams. I was thinking to make a condition - both teams need to be from ths list.
so I did conditon 
football1_s_1_sel_name is in the list.txt and football1_s_2_sel_name is in the list.txt

team names have I from historical data from site football-data.co.uk

problem is that the MF shows the teams in different formant / names are not the same and without spaces.

do you have any suggestion how to solve it?

  • Moderator
  • Posts: 3597
*
Re: list.txt
« Reply #1 on: 19 May 2019, 16:14 »
Hi
I just tested and it works ok. Spelling must be same as Betfair

your text file should be each selection on a separate line:
Cordoba
Gimnastic
Atletico PR
Orlando City
FC Cincinnati

conditions:
selections trigger expression football1_s_1_sel_name is in file...
and selections trigger expression football1_s_2_sel_name is in file...

OR use quotation marks. text file:
"Cordoba"
"Gimnastic"
"Atletico PR"
"Orlando City"
"FC Cincinnati"

conditions:
selections trigger expression "football1_s_1_sel_name" is in file...
and selections trigger expression "football1_s_2_sel_name" is in file...


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: 58
Re: list.txt
« Reply #2 on: 19 May 2019, 20:00 »
Hi MarkV

sel_name give value Orlandocity
not Orlando City  (with space)
and from this reason it ignores this team

another question - where can I get the list of eagues and teams with the same speling as in betfair. I am looking for it a long time. but without succes.


  • Moderator
  • Posts: 3597
*
Re: list.txt
« Reply #3 on: 19 May 2019, 20:49 »
Hi
use the quotation marks in your text file and in the conditions
"sel_name" will be "Orlando City" and the trigger will work

I cannot answer your second question

  
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: 58
Re: list.txt
« Reply #4 on: 20 May 2019, 17:46 »
Hi
he quotation marks are realy good trick :)
thank you very much

the different spelling of betfair is realy big complication !

 

Please note, BetFair is seems to be currently OFFLINE