Author Topic: Is in File - file format  (Read 1092 times)

Tags:
  • All members
  • Posts: 13
Is in File - file format
« on: 26 Nov 2019, 16:10 »
Hi

Setting up my first few triggers from scratch and I'm scraping relevant data from a couple of websites. One of these is Beaten Favourite LTO.
I've been through the manual and forum and can't find a reference to the file format required. Do I need a csv or column of horse names for this to work or can I just copy the entire web page to a text file and the Is in File condition will pick it up, as long as the string exists somewhere ?
I can reformat the text if required but will save some work if I don't need to.

Also, what if the horse name in MF Pro has spaces in it ? Will it pattern match in the file correctly ? I'm trying to only lay if Selections name is Not in File

  • All members
  • Posts: 13
Re: Is in File - file format
« Reply #1 on: 26 Nov 2019, 18:53 »
Found an entry in the manual re each selection name per row in the file so think I've solved that one. Will adjust my scraped output

Would still like to know about spaces in selection names though...

  • Moderator
  • Posts: 3597
*
Re: Is in File - file format
« Reply #2 on: 26 Nov 2019, 20:12 »
Hi
The text file selection names should be in "quotation marks", example below for football but applies to all selection names, and the spelling must be exactly as on Betfair.

"Cordoba"
"Gimnastic"
"Atletico PR"
"Orlando City"
"FC Cincinnati"

and the condition:
selections trigger expression "sel_name" is not 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: 13
Re: Is in File - file format
« Reply #3 on: 26 Nov 2019, 20:30 »
Hi
The text file selection names should be in "quotation marks", example below for football but applies to all selection names, and the spelling must be exactly as on Betfair.

"Cordoba"
"Gimnastic"
"Atletico PR"
"Orlando City"
"FC Cincinnati"

and the condition:
selections trigger expression "sel_name" is not in file
 
Thats great, thanks Mark. Will make the adjustment
I assume the "re-read file" tick box means the file will be re-read each time the condtion is assessed, as opposed to reading once and holding in memory ? So I can update it dynamically ?

  • Moderator
  • Posts: 3597
*
Re: Is in File - file format
« Reply #4 on: 26 Nov 2019, 20:42 »
yes that is correct
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.

 

Please note, BetFair is seems to be currently OFFLINE