Author Topic: Previous market is finished  (Read 3980 times)

Tags:
  • All members
  • Posts: 157
Previous market is finished
« on: 28 Oct 2018, 23:22 »
Hi,

I have a trigger which repeats no more often than 0.2 seconds.

Is there a way that it doesn't begin until the previous market is finished or its the first time the trigger has run. Not sure how to-do it as the trigger has a repeat option etc.

Thanks,

  • Administrator
  • Posts: 8819
  • Gender: Female
*
Re: Previous market is finished
« Reply #1 on: 29 Oct 2018, 15:39 »
Hello!

There is a standard condition block for this:

AND
  Previous Triggered Event's Status is Settled
  or Trigger {insert trigger name here} Number of runs is equal to 0   Overall
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 157
Re: Previous market is finished
« Reply #2 on: 29 Oct 2018, 19:51 »
Hi,

But that will only work if your trigger is set to execute once per market wont it, mine repeats every 0.2 seconds which I need it too if its the first market of the day etc ?

Cheers,

  • Administrator
  • Posts: 8819
  • Gender: Female
*
Re: Previous market is finished
« Reply #3 on: 30 Oct 2018, 09:14 »
Why exactly do you need to repeat it every 0.2 sec?
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Élite
  • Posts: 3694
  • Gender: Male
*
Re: Previous market is finished
« Reply #4 on: 30 Oct 2018, 16:12 »
hi
if you put the block before all your other conditions that oxa gave you , the trigger will wait until the previous events status is settled before checking any other condition.

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