Hi all,
In Guardian, what is the easiest way to close up all positions on a market once one bet has been fully matched?
Currently I have a rule set that closes up all my positions once I have one bet matched, but as you would expect often the full amount is not taken before Guardian closes up.
Even better if I can close up all other positions as soon as any money has been partially taken on a selection leaving the remainder of money on that selection to be taken if market allows.
Thanks in advance for any advice.
Guardian rule that closes all positions when a bet fully matched
- jamesedwards
- Posts: 4928
- Joined: Wed Nov 21, 2018 6:16 pm
- jamesedwards
- Posts: 4928
- Joined: Wed Nov 21, 2018 6:16 pm
Thats what I currently use but doesnt work 100% as it cancels all remaining unmatched as soon as any proportion of my stake on one selection is matched. Therefore I end up with lots of bets closed for much less stake than I want. I can't use cancel all remaining based on a value of matched either as my stake is based on book%. What I want to do is cancel all unmatched bets in the market apart from the selection that has been partially matched.
eg rule sets off a back for £100 on 10 selections in a market, selection A gets matched for £20 out of the £100 and currently it closes down all remaining unmatched including the remaining £80 on selection A. I want it to cancel all remaining unmatched on the other 9 selections, leaving the remaining £80 on selection A still up to be matched.
You could create a seperate 'Cancel All Unmatched Bets on Selection' rule for each selection, with two conditions: Condition1 Number of Matched bets on selection = 0, Condition2 Number of Matched bets on Market is Greater than 0
(it easy to copy a rule as many times as you want and then just change the selection number)
Or you could create a single 'Cancel All Unmatched Bets on the Selection rule,use for ANY Selection, Conditions 1and 2 as above plus condition3 Number of Unmatched bets on the selection is greater than 0, Allow rule to trigger multiple times with just a second or less between firings.
In both case the rule will sit dormant until something gets matched and then cancels unmatched bets on all selections except the one with the match.
(it easy to copy a rule as many times as you want and then just change the selection number)
Or you could create a single 'Cancel All Unmatched Bets on the Selection rule,use for ANY Selection, Conditions 1and 2 as above plus condition3 Number of Unmatched bets on the selection is greater than 0, Allow rule to trigger multiple times with just a second or less between firings.
In both case the rule will sit dormant until something gets matched and then cancels unmatched bets on all selections except the one with the match.
- jamesedwards
- Posts: 4928
- Joined: Wed Nov 21, 2018 6:16 pm
Thanks. The first one would work best although will be a pain to set up as I have many selections.Jukebox wrote: ↑Wed Jan 08, 2020 11:36 pmYou could create a seperate 'Cancel All Unmatched Bets on Selection' rule for each selection, with two conditions: Condition1 Number of Matched bets on selection = 0, Condition2 Number of Matched bets on Market is Greater than 0
(it easy to copy a rule as many times as you want and then just change the selection number)
Or you could create a single 'Cancel All Unmatched Bets on the Selection rule,use for ANY Selection, Conditions 1and 2 as above plus condition3 Number of Unmatched bets on the selection is greater than 0, Allow rule to trigger multiple times with just a second or less between firings.
In both case the rule will sit dormant until something gets matched and then cancels unmatched bets on all selections except the one with the match.
Its not that bad set up selection 1 carefully complete with all conditions and then use the duplicate function as many times as required, then its just a matter of changing the selection on each one.jameegray1 wrote: ↑Thu Jan 09, 2020 12:02 amThanks. The first one would work best although will be a pain to set up as I have many selections.
