Author Topic: Why is my trigger not repeating  (Read 1202 times)

Tags:
  • All members
  • Posts: 185
Why is my trigger not repeating
« on: 22 Jul 2019, 13:32 »
Hi,

i have added the `close block` function to the attached but its not reqeatung when the greenup lay is matched or the scratch lay is matched could you let me know why?

  • Moderator
  • Posts: 3597
*
Re: Why is my trigger not repeating
« Reply #1 on: 22 Jul 2019, 20:31 »
Hi
in the copy I downloaded:
block repeat was set to just once, I set it to no more often than 5 sec

betting triggers were not logged so difficult to check what's happening

close block trigger was set to repeat, not sure this is needed, set it to once per market

in the backing trigger there is:
trigger backing number of the runs in the market is equal to bm_laynum
you can remove this condition

also noted the scratch trigger will only work once as there is a condition:
and selections lay matched is equal to 0 (there will always be lay matched after 1st trade)
you are cancelling a lay and scratching so you can use instead:
and selections lay unmatched is greater than 0
 

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: 185
Re: Why is my trigger not repeating
« Reply #2 on: 23 Jul 2019, 13:44 »
Thanks Mark,

trigger more stable but still not repeating any other ideas why?

  • Moderator
  • Posts: 3597
*
Re: Why is my trigger not repeating
« Reply #3 on: 23 Jul 2019, 20:03 »
Hi
made a few edits, please try this in test mode or time machine, it should be repeating now
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: 185
Re: Why is my trigger not repeating
« Reply #4 on: 24 Jul 2019, 10:30 »
Great thanks Mark

one last question how do i write there must be 30% more money on lay_price and lay_price2 than back_price and back_price2?

  • Moderator
  • Posts: 3597
*
Re: Why is my trigger not repeating
« Reply #5 on: 24 Jul 2019, 18:41 »
and selections trigger expression lay_amount+lay_amount2 is greater than (back_amount+back_amount2)*1.3 
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