Author Topic: Setting a variable for each selection  (Read 737 times)

Tags:
  • All members
  • Posts: 35
  • Gender: Male
Setting a variable for each selection
« on: 19 Mar 2021, 18:34 »
Hi,

I am struggling to assign a value to individual selections. 

If i wanted to write all the prices to file before the off - i use "back_price" (all selections) but if i want to write to file "1/back_price" for each selection - i cannot get it working.

What is simplest way or workaround if possible please, I am sure I am missing something very simple but cannot put my finger on it.

Many thanks for any input
Kristo

  • Moderator
  • Posts: 3605
*
Re: Setting a variable for each selection
« Reply #1 on: 19 Mar 2021, 19:13 »
Hi
Put variables and expressions in square brackets and enclose only string variables in quotes:

write to file: text: ["sel_name"] [back_price] [1/back_price]
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