Author Topic: Sum of lay prices for selections  (Read 451 times)

Tags:
  • All members
  • Posts: 347
Sum of lay prices for selections
« on: 31 Aug 2022, 18:39 »
Hi guys what is the most efficient way of doing this?

I am reading selections from a txt file....There will be about 2 or 3

How can I SUM the selections lay prices to a variable?



  • Moderator
  • Posts: 3597
*
Re: Sum of lay prices for selections
« Reply #1 on: 31 Aug 2022, 20:04 »
Hi
Trigger 1 initialise variable
set user variable, name: laysum, value: 0, individually for each market, selections: fav, once per market. no conditions

Trigger 2 sum lay prices
set user variable, name: laysum, value: laysum+lay_price, individually for each market, all matching selections, once per selection
condition: selections 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.

 

Please note, BetFair is seems to be currently OFFLINE