Question about green all selections in tennis. how to incorporate closed markets losses into the now overall profit

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Ryanolifelix
Posts: 129
Joined: Fri Feb 12, 2021 2:06 pm

hi all, hope someone can help me on this.

if i have multiple selections with a bet on in tennis automated, and if i want to close trade and green all selections if the overall market profit on all selections has reached say 100 pounds.

what about the trades that have lost and are now closed, how can i incorporate the losses into the overall profit in play now so that when i choose to green all selections i know i am still in profit.

so say ten selections have reached an overall profit of 100 but i have 1 selection that lost and is in 200 negative, this 200 loss doesn't show up in the overall market profit.

hope that makes sense, thankyou.

ryan
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

Ryanolifelix wrote:
Sun Jul 24, 2022 4:29 pm
hi all, hope someone can help me on this.

if i have multiple selections with a bet on in tennis automated, and if i want to close trade and green all selections if the overall market profit on all selections has reached say 100 pounds.

what about the trades that have lost and are now closed, how can i incorporate the losses into the overall profit in play now so that when i choose to green all selections i know i am still in profit.

so say ten selections have reached an overall profit of 100 but i have 1 selection that lost and is in 200 negative, this 200 loss doesn't show up in the overall market profit.

hope that makes sense, thankyou.

ryan
That's easily possible in Excel/VBA if you have a sheet for each market and a summary sheet totalling your P/L. I'll leave it to one of the rule file gurus if it can be done in rule files.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Here you go,
viewtopic.php?f=56&t=25455

Just apply that to all your Tennis markets and add a green up rule to them with a Stored Value Condition to test the Stored Value named 'Total_Profit' for Bet Angel is greater than £X

Then add a stored value condition to your existing back/lay rules to test the Stored Value named 'Total_Profit' is less than £X
and enter the same amount as your profit target, and that will stop your rules placing further bets
Ryanolifelix
Posts: 129
Joined: Fri Feb 12, 2021 2:06 pm

Dallas wrote:
Sun Jul 24, 2022 6:02 pm
Here you go,
viewtopic.php?f=56&t=25455

Just apply that to all your Tennis markets and add a green up rule to them with a Stored Value Condition to test the Stored Value named 'Total_Profit' for Bet Angel is greater than £X

Then add a stored value condition to your existing back/lay rules to test the Stored Value named 'Total_Profit' is less than £X
and enter the same amount as your profit target, and that will stop your rules placing further bets
Thankyou!
Post Reply

Return to “Bet Angel - Automation”