Author Topic: Plant a lay bet x ticks below the starting price in play  (Read 3714 times)

Tags:
  • All members
  • Posts: 9
  • Gender: Male
Hello

if anybody can help me set this up i would appreciate it.

I'm trying to set up a trigger that,
At the moment of in-play it plants a lay bet a x-amount of ticks bellow waiting to get matched.

i've tried creating a constant(var1 = -10) and adding it to the Price input of the trigger like so:

Trigger: lay_price + var1



but its not working. 
I guess i dont know what im doing. :)


Thanks

  • All members
  • Posts: 9
  • Gender: Male
Re: Plant a lay bet x ticks below the starting price in play
« Reply #1 on: 29 Nov 2019, 17:24 »
Found a way to do it.

with the last_last_traded * var1

var1 = 0.9

If theres other ways of doing it please let me know.

Thanks

  • Moderator
  • Posts: 3654
*
Re: Plant a lay bet x ticks below the starting price in play
« Reply #2 on: 29 Nov 2019, 21:56 »
Hi
check the helpfile for the function r_ticks(original_price, ticks)
so in your example: r_ticks(last_last_traded, -x)

or if your market supports SP:  r_ticks(actual_sp, -x)  
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.

  • All members
  • Posts: 1
Re: Plant a lay bet x ticks below the starting price in play
« Reply #3 on: 17 Dec 2019, 04:17 »
I am very interested in this matter. But still did not get into something

 

Please note, BetFair is seems to be currently OFFLINE