Author Topic: Enter only 1 race at a time  (Read 2107 times)

Tags:
  • All members
  • Posts: 52
  • Gender: Male
Enter only 1 race at a time
« on: 22 Aug 2017, 13:08 »
Good Morning.
I have used the following code for the trigger to enter only one run at a time:
Trigger <trigger_name> number of runs is equal to 0 overall
Or
Previous

This works most of the time, but in some cases this triggers the trigger, because it is "waiting" for a result to come out that has already gone out.

I'm trying to use the following idea, but I'm not hitting the setup:
Create a variable, which it receives the values "YES" if the input has been made, and receives the value "NO" when the result comes out.

Could you help me with the parameters?

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Enter only 1 race at a time
« Reply #1 on: 22 Aug 2017, 21:23 »
Hello!

Please explain in more details what you mean by this:

Quote
because it is "waiting" for a result to come out that has already gone out.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 52
  • Gender: Male
Re: Enter only 1 race at a time
« Reply #2 on: 23 Aug 2017, 01:50 »
Hello!

I noticed that part of the code ...

Trigger <trigger_name> number of runs is equal to 0 overall
Or
Previous triggered status is settled


For some reason I do not know, the result of the previous race leaves and this part of the code does not "perceive" that the result has left, and is waiting for the result to leave. With that he stops making entries.

To try to work around this, I'm trying to control this with a variable. Then I check the value of this variable before making the entry, to know if the result of the previous entry has already left.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Enter only 1 race at a time
« Reply #3 on: 24 Aug 2017, 13:12 »
Do you delete the previous finished/settled markets? If yes, you should not do this and turn OFF the option "Delete finished/settled events automatically" in "General Options", because if the market is deleted its status cannot be checked, and so the condition will not be satisfied.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 52
  • Gender: Male
Re: Enter only 1 race at a time
« Reply #4 on: 24 Aug 2017, 22:52 »
Hello,

No, I do not delete it and this option is demarcated.
This problem does not always occur. Taking into account that there are around 90-100 races a day, and every day has race, this problem occurs about once a week.
I use theft in a VPS, so I do not have problems with my notebook or my internet at home.

So I'm looking for a different way. I thought I try a variable to register NOT for the 'result has not yet left' and YES for the 'output left' should solve this type of problem.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Enter only 1 race at a time
« Reply #5 on: 25 Aug 2017, 07:20 »
You can add another condition that just ignores the other two if too much time has passed since the start of the previous triggered event:

or Previous Triggered Event's Minutes Since Start is greater than X
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 52
  • Gender: Male
Re: Enter only 1 race at a time
« Reply #6 on: 25 Aug 2017, 12:48 »
Hmmm ... that should solve
I will do this.
thank you so much

 

Please note, BetFair is seems to be currently OFFLINE