Author Topic: Lay_price  (Read 1081 times)

Tags:
  • All members
  • Posts: 211
Lay_price
« on: 04 Feb 2016, 02:41 »
Hi,


I am trying to define the lay price as ...r_ticks(lay_price, -1), but this doesn´t allow me to place bets when the lay price is 1.01.


So i tried to create a condition if(lay_price=1.01, 1.01, r_ticks(lay_price, -1)),
but or because i can´t use the "if" in the price or due to some mistake i gave, it gives origin to an error. Therefore the bets aren´t placed.


Anyone knows another way of doing this?




Thanks

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Lay_price
« Reply #1 on: 04 Feb 2016, 05:28 »
hi
you need to use a capital IF .
IF(lay_price=1.01,1.01,r_ticks(lay_price,-1))




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.

 

Please note, BetFair is seems to be currently OFFLINE