"Unmatched bets on MARKET = 0"

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
Woolfold
Posts: 23
Joined: Tue May 12, 2015 8:27 am

There may be a simple solution to this situation, but I can't see it...
To set the scene, I want my rule to fire 100 times during the in-running period, but only if there are no unmatched bets ANYWHERE!
If I have a rule to switch to favourite #1 whenever it changes in-running, how can I ensure no unmatched bets are left open on the previous favourite after the switch?
I can set an "Unmatched Bets on Selection = 0" condition, which could leave many bets open over the several minutes of a race with many switches of favourite.
To solve my problem, I would need an "Unmatched Bets on MARKET = 0" which doesn't exist.
Is there a solution that would work for me?
I sincerely thank, in advance, anyone who replies with any useful nuggets of information.
User avatar
Dallas
Posts: 23489
Joined: Sun Aug 09, 2015 10:57 pm

You can use the fill or kill option in parmeters and set it to 1 sec less than your re-arm trigger time, this will kill any unmacthed before the next trigger - if its still the same fav it will still be killed but then replaced back on that selection as soon as it re-triggers 1 sec later.
User avatar
Woolfold
Posts: 23
Joined: Tue May 12, 2015 8:27 am

Dallas, you are one crafty chap.
Thank you kindly. I was worried about the Fav changing 4 or 5 times, which happens, and then I would have many positions open.
Thank you!
User avatar
Woolfold
Posts: 23
Joined: Tue May 12, 2015 8:27 am

Another question...

I am greening up with each of many trades within an in-running race.
Is it possible, when a target figure (or pecentage of stake) is met or exceeded, to Close the Market, or in the colloquial, "Cut and Run."?
I currently seem to reach a figure I deem to be good, then the market, rather than go against me, reduces this figure to my frustration.
I accept I could intervene, hit the green-up button and cancel the Rule, but I want this to be 100% automation.

To recap, can I close the trade and cancel all rules when a set amount, or percentage of the stake, is met?
User avatar
Dallas
Posts: 23489
Joined: Sun Aug 09, 2015 10:57 pm

You can use a few rule types - close trade/close trade with greening or Green all selections
Depending on the general set up of your overall rule and how many selections bets are being placed and if one selection is achiving your green figure or a combination of a few selections etc which of the above will work best for you then add one of the following conditions

"Close trade profit condition"
"Green all profit condition"

and set the amount greater than £X on either of these - again depending on the general set up of your rule and how many selections are having bets places depends which will work best for you.

Finally on the on the part of the rule thats placing the bets make sure to add add the following condition

"Green all profit condition" and set to less than your target profit (this will only allow bets to be triggered providing your green profit has not yet been reached and once your target profit is reached will prevent the rule firing any more bets)
User avatar
Woolfold
Posts: 23
Joined: Tue May 12, 2015 8:27 am

Yes, I shall study and implement that.
I was just thinking I am coming from the wrong way. I will use your rules, but from the other direction.
Logically, rather than close a trade on reaching a target, I should stop the main rule firing once the target is reached, so it will be conditional on being less than the target figure. Doh!
Now I am rambling! Thanks for your time, Dallas.
Post Reply

Return to “Bet Angel - Automation”