Running Daily Profit & Loss Total - Guardian Automation Bot

Post Reply
User avatar
reebed1
Posts: 15
Joined: Sat Apr 05, 2025 9:36 am

Screen Shot 07-24-25 at 02.25 PM.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4237
Joined: Wed Nov 21, 2018 6:16 pm

reebed1 wrote:
Thu Jul 24, 2025 2:23 pm
Hi,

I have seen an image where an automation rule keeps track of the daily P&L. I would appreciate some guidance on how to create it. Could you help me?
That's what the instructions at the beginning of this thread detail how to do.
reebed1 wrote:
Thu Jul 24, 2025 2:23 pm
Is it possible to separate profit and loss for different automation rules? Is this possible
You can create different stored values at Bet Angel level. Use a different SV for each rulesfile to create a cumulative total for each.
User avatar
reebed1
Posts: 15
Joined: Sat Apr 05, 2025 9:36 am

Dear all
I have a lay system which I add in the morning. LSH-1, LSH -2, LSH 3. Screenshot attached. Could someone please help me to add a stop trading point” in the Running Profit and Loss Total automation, written by Dallas. I am happy to stop the system at a pre-determined profit value.
The stop is value is the total of LSH1/2/3 to exceed the predetermined value. Example: stop trading when total profit exceeds £200.
Profit from LSH-1 + Profit from LSH-2 + Profit from LSH-3) >= 200. If true, trigger a "Cancel all unmatched bets" action and disable the automation.
Thank you.
You do not have the required permissions to view the files attached to this post.
Last edited by reebed1 on Sat Aug 09, 2025 8:53 pm, edited 1 time in total.
User avatar
Dallas
Posts: 23569
Joined: Sun Aug 09, 2015 10:57 pm

reebed1 wrote:
Sat Aug 09, 2025 8:45 pm
Dear all
I have a lay system which I add in the morning. LSH-1, LSH -2, LSH 3. Screenshot attached. Could someone please help me to add a stop trading point” in the Running Profit and Loss Total automation, written by Dallas. I am happy to stop the system at a pre-determined profit value.
The stop is value is the total of LSH1/2/3 to exceed the predetermined value. Example: stop trading when total profit exceeds £200.
Profit from LSH-1 + Profit from LSH-2 + Profit from LSH-3) >= 200. If true, trigger a "Cancel all unmatched bets" action and disable the automation.
Thank you.
Just add a 'Stored Value condition' to all the rules you want to stop triggering
https://www.betangel.com/user-guide/stored_value.html

and configure as follows
A Stored Value for Bet Angel
Named Total_Profit
is less than 200
User avatar
reebed1
Posts: 15
Joined: Sat Apr 05, 2025 9:36 am

Hi Dallas,

I have amended your "Running and Profit Loss Total as per the screenshots. Is this correct? Thank you in advance.
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4237
Joined: Wed Nov 21, 2018 6:16 pm

reebed1 wrote:
Mon Aug 11, 2025 5:15 pm
Hi Dallas,

I have amended your "Running and Profit Loss Total as per the screenshots. Is this correct? Thank you in advance.
This would set "Total_Profit" to £200, which isn't what you are trying to achieve.

I think you want to be using it as a condition to add to your bet trigger rule line/s.

eg:
z199.jpg
This way you would be telling Bet Angel to only trigger if the SV "Total_Profit" is below £200.
You do not have the required permissions to view the files attached to this post.
User avatar
reebed1
Posts: 15
Joined: Sat Apr 05, 2025 9:36 am

Dear James,

Thank you for the reply. I have amended - see screenshot attached. Not sure if done correctly?? After two races today I have noticed something different. In the past, using the Running Profit and Loss Total (by Dallas), it showed a total at the end of the report. After two races today the total should be £71.10 but nothing is showing.

How do I restore this function?
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4237
Joined: Wed Nov 21, 2018 6:16 pm

reebed1 wrote:
Tue Aug 12, 2025 4:09 pm
Dear James,

Thank you for the reply. I have amended - see screenshot attached. Not sure if done correctly?? After two races today I have noticed something different. In the past, using the Running Profit and Loss Total (by Dallas), it showed a total at the end of the report. After two races today the total should be £71.10 but nothing is showing.

How do I restore this function?
1. Your <£200 "Total_Profit" condition needs to be on the rule line where you trigger the bet. So you're instructing Bet Angel to only proceed with the bet trigger if the SV "Total_Profit" is below £200. (Note you want this to be less than - you have it set to greater than in your screenshot).

2. Remove the condition you added to the "Store profit/loss each market" line to fix the "Total_Profit" SV issue.
User avatar
reebed1
Posts: 15
Joined: Sat Apr 05, 2025 9:36 am

Dear James,

Apologies for my ignorance, but I'm not sure I understand. All automation rules in Betangel (LSH1, LSH2, LSH3) have a very straightforward set of conditions. Lay the selected horse at a price below 6.2.
The selection work is being done before selecting the race and horse/s to lay.

1. Should I add the rule under the heading Stored Values within each automation rule (LSH1/LSH2/LSH3)? Not all automation rules are triggered during a race, as the conditions need to be met - the price below 6.2.
2. Do I need to add the rule individually to each of the three automation rules?
3. How will it recognize when the total profit combined for all three has been met, and it needs to stop trading and other races?

Would you be able to send me an example (screenshot) of what needs to be done please?
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4237
Joined: Wed Nov 21, 2018 6:16 pm

reebed1 wrote:
Wed Aug 13, 2025 10:03 am
Dear James,

Apologies for my ignorance, but I'm not sure I understand. All automation rules in Betangel (LSH1, LSH2, LSH3) have a very straightforward set of conditions. Lay the selected horse at a price below 6.2.
The selection work is being done before selecting the race and horse/s to lay.

1. Should I add the rule under the heading Stored Values within each automation rule (LSH1/LSH2/LSH3)? Not all automation rules are triggered during a race, as the conditions need to be met - the price below 6.2.
2. Do I need to add the rule individually to each of the three automation rules?
3. How will it recognize when the total profit combined for all three has been met, and it needs to stop trading and other races?

Would you be able to send me an example (screenshot) of what needs to be done please?
1. Yes
2. Yes
3. The SV "Total_Profit" is set at Bet Angel level so can be used as a condition on any rule running in that instance of Guardian.

See my screenshot already posted four posts above.
User avatar
reebed1
Posts: 15
Joined: Sat Apr 05, 2025 9:36 am

Thank you James.

Working 100%. System stopped at a predetermined value.
danielrc33
Posts: 4
Joined: Tue Aug 29, 2023 8:26 pm

reebed1 wrote:
Thu Jul 24, 2025 2:28 pm
Screen Shot 07-24-25 at 02.25 PM.PNG
How do I ensure the 'Market Profit' is displayed correctly in Guardian? I have a column for Market Profit and another one for Total Daily Profit. Total Daily Profit is working fine, but Market Profit is just blank.

I set 'Market Profit column' as a column in Guardian showing SV 'Market_Profit' at 'Bet Angel' level.

Do I need to modify the Original BAF file or add an additional SV?
danielrc33
Posts: 4
Joined: Tue Aug 29, 2023 8:26 pm

danielrc33 wrote:
Sat Aug 16, 2025 7:19 pm
reebed1 wrote:
Thu Jul 24, 2025 2:28 pm
Screen Shot 07-24-25 at 02.25 PM.PNG
How do I ensure the 'Market Profit' is displayed correctly in Guardian? I have a column for Market Profit and another one for Total Daily Profit. Total Daily Profit is working fine, but Market Profit is just blank.

I set 'Market Profit column' as a column in Guardian showing SV 'Market_Profit' at 'Bet Angel' level.

Do I need to modify the Original BAF file or add an additional SV?
NVM I made it work with this other thread:
viewtopic.php?p=379757&hilit=profit+los ... an#p379757
Post Reply

Return to “Bet Angel Automation - General”