Author Topic: Total number of unsettled/unvoided/unlapsed bets ordered by trigger  (Read 3950 times)

Tags:
  • All members
  • Posts: 32
  • Gender: Male
In my trigger I only want to go ahead and put next bet if all my previous bets are either settled or cancelled at the off / voided / lapsed.

How can I check such a condition in my trigger?

Regards,
Anton

  • Moderator
  • Posts: 3605
*
Hi
I am not sure if you saw this recent topic
http://community.welldonesoft.com/triggered-betting-10/using-'normal'-formulas-in-conditions/

there are a number of different conditions suggested there.
the trigger expression which checks the balance and funds are equal is a good idea
the example is for test mode, you would use the appropriate wallet variables for real mode.
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: 32
  • Gender: Male
Interesting idea.
What if there are some other bets staked manually directly on Betfair website, will it fail?

  • Moderator
  • Posts: 3605
*
The manual bets will be included in your real mode exposure figure.
If your exposure amount is greater than 0, the balance and funds will not be equal.
If you know the "manual" exposure figure you could factor that in.

Suggestion:
previous event's status is settled
or
previous triggered event's status is settled
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: 32
  • Gender: Male
Mark, is it suggestion for me or for MF developers?

>>> Suggestion:
previous event's status is settled
or
previous triggered event's status is settled

  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
if you use the condition
and selections trigger expression IF(test_mode=0,uk_funds,test_funds) is equal to IF(test_mode=0,uk_balance,test_balance)
if you have an unsettled bet/bets then the funds will be less than the balance so no other bet will be placed, when all bets are settled the funds and balance are the same


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.

  • All members
  • Posts: 32
  • Gender: Male
Ok, so looks like for now there is no way to do it.

OK, I'll make a feature request.

Regards,
Anton

  • Moderator
  • Posts: 3605
*
Mark, is it suggestion for me or for MF developers?

>>> Suggestion:
previous event's status is settled
or
previous triggered event's status is settled
Hi
Yes - for you.
If previous event's status is settled, surely all bets will be settled/cancelled/lapsed or voided?
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