Author Topic: Links to Text Files  (Read 2430 times)

Tags:
  • Élite
  • Posts: 431
*
Links to Text Files
« on: 29 Jan 2017, 15:00 »
Hi,

Can anyone please tell me, having upgraded to 8.3.0.1 yesterday to overcome the lack of statements caused by the change to the API over the Australian/UK wallets - does this latest version still support links to names in text files?

Something in the back of my mind tells me it doesn't and that platform which relies on those links keeps failing today.

Thanks

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Links to Text Files
« Reply #1 on: 30 Jan 2017, 12:45 »
Hi!

Sorry, I'm not sure I understand. Please provide some examples of "links to names in text files".
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Élite
  • Posts: 47
*
Re: Links to Text Files
« Reply #2 on: 30 Jan 2017, 13:47 »
Hi Oxa
I did the same as Alfaman yesterday - was previously using a (very) old version of mf pro which was great until the Statement stopped updating at the start of last week.

I have a simple trigger - lay selections if they are in a text file i.e. Selection's Name is in File..and then linked to a text file.

C:\Users\Andew\Alert_Fav.txt

First race today, 1:30pm, and should have placed a bet on Start Seven.


13:29:38 Checking market "Horse Racing / GB / Sthl 30th Jan / 13:30 Sthl 30th Jan - 1m6f Hcap".
13:29:38 Checking condition and Selection's Back Price is greater than 0.
13:29:38 Condition is: TRUE. valid for 1 selections: Start Seven.
13:29:38 Checking condition and Market's Minutes Before the Off is less than 0.40.
13:29:38 Condition is: TRUE. valid for 1 selections: Start Seven.
13:29:38 Checking condition and Market's Minutes Since the Off is less than 0.1.
13:29:38 Condition is: TRUE. valid for 1 selections: Start Seven.
13:29:38 Checking condition and Selection's Name is in file C:\Users\Andew\Alert_Fav.txt.
13:29:38 Condition is: FALSE. 


Please can you help?

thanks a lot.








  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Links to Text Files
« Reply #3 on: 30 Jan 2017, 13:57 »
But did you put each name on a separate line and enclosed them in double quotation marks, like this:

"Horse 1"
"Horse 2"
"Horse 3"
...
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Élite
  • Posts: 47
*
Re: Links to Text Files
« Reply #4 on: 30 Jan 2017, 14:42 »
Oxa
Re applied the links to the text files. Have another version of mf pro running in test, and should fire back bets in based on selections in text files.

Could it be...if there is a space between the selection's name there is a problem?

Start Seven - no, not recognised
Retrieve - yes, bet fired in

Ditto for the back bets; the only ones placed are single word names i.e. yes to Athassel, Alhajjaj but no, not recognised for e.g. Big Amigo

In answer to your questions

1. yes, separate line per selection
2. no, no double quotation marks

In older versions of mf pro the double quotation marks were not needed - are they required now?

Thanks for your help.


  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Links to Text Files
« Reply #5 on: 30 Jan 2017, 15:29 »
hi
the only way round this is to use
and selections trigger expression sel_name is in list

the problem i that and selections name compresses the name so there are no spaces but trgger expression sel_name is what is on the screen.

mcbee
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.

  • Élite
  • Posts: 47
*
Re: Links to Text Files
« Reply #6 on: 30 Jan 2017, 17:37 »
Hi mcbee
thank you for your help; have amended my trigger for tomorrow, such that

Selection's    Trigger Expression    sel_name     is in file     << link to text file >>

Can you clarify if we need to use the double quotation mark at the start and end of the selecton's name in the text file?

Thanks again.


  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Links to Text Files
« Reply #7 on: 30 Jan 2017, 18:23 »
hi
you can use or leave them out.

mcbee
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.

  • Élite
  • Posts: 431
*
Re: Links to Text Files
« Reply #8 on: 30 Jan 2017, 21:02 »
thanks guys and gals - I'll try that - probably no more than a hundred or so to change.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Links to Text Files
« Reply #9 on: 30 Jan 2017, 21:26 »
Like I said above, you do need to enclose the names of selections in double quotes, like any string value in the program actually. In case there is a space in a particular selection's name, it won't be recognizes without the quotes.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Élite
  • Posts: 431
*
Re: Links to Text Files
« Reply #10 on: 30 Jan 2017, 21:45 »
Well i edited them with a global replace in word pad.

Quote:"like any string value in the program actually"

well it was fine without quotes up until this last update so i'll try without tomorrow.

 

Please note, BetFair is seems to be currently OFFLINE