Author Topic: Customing a betting list  (Read 1697 times)

Tags:
  • Guest
Customing a betting list
« on: 08 Sep 2016, 16:31 »
hi,

I want to use a number on a selections .txt file as a condition of a trigger.

The .txt file looks like this

"Larps Millions" T44

So I want to say
Selections Name is in file etcetc
AND Selections trigger expression  ???????????????? is equal to T44

But I am stuck, any suggestions welcome.


  • Moderator
  • Posts: 3597
*
Re: Customing a betting list
« Reply #1 on: 08 Sep 2016, 18:32 »
Hi Larp
To do that you need to import the text file. See help file auto-trading > import selections for auto-trading
The variable for the imported data will be imported_1
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: Customing a betting list
« Reply #2 on: 08 Sep 2016, 19:28 »
That will do so.

Thanks Marco

Larp

  • Guest
Re: Customing a betting list
« Reply #3 on: 09 Sep 2016, 16:32 »
Hi,

some selections will need to backed more than once i.e. some selections will be in the .txt import list more than once. But the program only reads as far as its first entry.

eg Larps Millions 41
     Larps Millions 97

the program only fires one bet, being the first trigger using the 41 imported_1 condition.

I need it to read further down the list as well and fire with a second (or third) trigger using the 97 imported_1 condition.

I suppose I could use imported_2, but that may involve a lot of trigger conditions writing where I might have imported_3, imported_4 etc etc

How many imported_values can I have ?

  • Moderator
  • Posts: 3597
*
Re: Customing a betting list
« Reply #4 on: 09 Sep 2016, 20:27 »
Hi
You can specify [the market name] in square brackets before the selection name in the text file, but I think it would be better just to add your imported_ values for each selection. I'm not aware of any limit to the number of imported values.

Larps Millions <tab>41<tab>97<tab>26<tab>58

selections trigger expression imported_1 is equal to 41
or selections trigger expression imported_2 is equal to 97
or selections trigger expression imported_3 is equal to 26
or selections trigger expression imported_4 is equal to 58
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: Customing a betting list
« Reply #5 on: 09 Sep 2016, 21:07 »
Thank you Mark. Excellent.

 

Please note, BetFair is seems to be currently OFFLINE