Have you thought about using the P&L sheet that Derek posted to give you a running total?
Running Daily Profit & Loss Total - Guardian Automation Bot
There are P/L storing rules in that file too.I've posted earlier screenshots from other file,but so implemented P/L SV rules too.
You do not have the required permissions to view the files attached to this post.
There were no P/L storing rules in the file you postedjtrader wrote: ↑Wed Feb 28, 2024 2:58 pm
There are P/L storing rules in that file too.I've posted earlier screenshots from other file,but so implemented P/L SV rules too.
Екранна снимка (810).png
Of the 7 rules only the first named 'Balance' stored any values - and they were just three percentages of your balance
Dallas wrote: ↑Wed Feb 28, 2024 4:29 pmThere were no P/L storing rules in the file you posted
Of the 7 rules only the first named 'Balance' stored any values - and they were just three percentages of your balance
I'm sorry,Dallas! It's my mistake

I didn't knew that if I change a .baf file by Guardian it doesn't change itself in that folder (except if you didn't replace the old one by exporting to directory the created new .baf ) where it was saved.
That's new .baf with implemented SV's
I hope that you could solve that now

You do not have the required permissions to view the files attached to this post.
That file and upper (LayStraightMaria) have same rules implemented for storing P/L,but (LayStraightMaria) is not triggering when P/L is < 0 (the tiggers' log of 'Winner' rule when P/L <0 is - 1(0)/1 - what does it mean?).
This file (Predicted Goals...) is OK - triggering when P/L > 0 and P/L < 0 and saves balance right.What could be the problem?
And another question (off topic) - if there are SV stored for BetAngel are they conflicted between if they are working in different BA instances?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 17
- Joined: Thu Apr 06, 2023 12:55 am
I've been using this guardian whilst trialling some automations and noticed a problem yesterday. Some races that I had made a profit on were being recorded as £0.00.
I managed to catch it again today and have posted the log below.
16/06/2024 14:37:35: Guardian has detected that the market is suspended
16/06/2024 14:37:36: Guardian has detected that the market is now unsuspended
16/06/2024 14:54:50: [G_Auto 1] : £ 10.00 Back bet placed on Pumalin Park at 100. Entirely unmatched when it initially reached the market. Ref: 10020
16/06/2024 14:54:56: [G_Auto 1] : Modify bet persistence 10020 from 'Cancel' to 'Take SP'
16/06/2024 14:55:37: Guardian has detected that the market is suspended
16/06/2024 14:55:39: Guardian has detected that the market is in-play
16/06/2024 14:55:40: Guardian has detected that the market is now unsuspended
16/06/2024 14:55:43: [G_Auto 1] : £ 10.00 Lay bet placed on Pumalin Park at 3.5. Entirely unmatched when it initially reached the market. Ref: 10021
16/06/2024 14:56:53: [G_Auto 1] : Greened up Pumalin Park by Laying 9.79 at 1.59
16/06/2024 14:57:04: Guardian has detected that the market is suspended
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Beau Jardine: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Pumalin Park: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Sayifyouwill: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Bantry: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Twilight Dancer: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Saturnalia: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Snuggle: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Vinaka: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Powerdress: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Store Value (Shared) for Pumalin Park: Market_Profit = 0
16/06/2024 15:01:38: [G_Auto 2] : Store Value (Shared) for Bet Angel: Total_Profit = 0 + 0.52 = 0.52
It was showing on the odds screen that I had made £9.79 on this race?
I was using an older version of Bet Angel yesterday so upgraded to v1.62.0_b3 last night to rule that out.
I managed to catch it again today and have posted the log below.
16/06/2024 14:37:35: Guardian has detected that the market is suspended
16/06/2024 14:37:36: Guardian has detected that the market is now unsuspended
16/06/2024 14:54:50: [G_Auto 1] : £ 10.00 Back bet placed on Pumalin Park at 100. Entirely unmatched when it initially reached the market. Ref: 10020
16/06/2024 14:54:56: [G_Auto 1] : Modify bet persistence 10020 from 'Cancel' to 'Take SP'
16/06/2024 14:55:37: Guardian has detected that the market is suspended
16/06/2024 14:55:39: Guardian has detected that the market is in-play
16/06/2024 14:55:40: Guardian has detected that the market is now unsuspended
16/06/2024 14:55:43: [G_Auto 1] : £ 10.00 Lay bet placed on Pumalin Park at 3.5. Entirely unmatched when it initially reached the market. Ref: 10021
16/06/2024 14:56:53: [G_Auto 1] : Greened up Pumalin Park by Laying 9.79 at 1.59
16/06/2024 14:57:04: Guardian has detected that the market is suspended
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Beau Jardine: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Pumalin Park: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Sayifyouwill: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Bantry: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Twilight Dancer: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Saturnalia: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Snuggle: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Vinaka: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Powerdress: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Store Value (Shared) for Pumalin Park: Market_Profit = 0
16/06/2024 15:01:38: [G_Auto 2] : Store Value (Shared) for Bet Angel: Total_Profit = 0 + 0.52 = 0.52
It was showing on the odds screen that I had made £9.79 on this race?
I was using an older version of Bet Angel yesterday so upgraded to v1.62.0_b3 last night to rule that out.
Did you get a screenshot of the matched bets?Wonkydonkey wrote: ↑Sun Jun 16, 2024 6:12 pmI've been using this guardian whilst trialling some automations and noticed a problem yesterday. Some races that I had made a profit on were being recorded as £0.00.
I managed to catch it again today and have posted the log below.
16/06/2024 14:37:35: Guardian has detected that the market is suspended
16/06/2024 14:37:36: Guardian has detected that the market is now unsuspended
16/06/2024 14:54:50: [G_Auto 1] : £ 10.00 Back bet placed on Pumalin Park at 100. Entirely unmatched when it initially reached the market. Ref: 10020
16/06/2024 14:54:56: [G_Auto 1] : Modify bet persistence 10020 from 'Cancel' to 'Take SP'
16/06/2024 14:55:37: Guardian has detected that the market is suspended
16/06/2024 14:55:39: Guardian has detected that the market is in-play
16/06/2024 14:55:40: Guardian has detected that the market is now unsuspended
16/06/2024 14:55:43: [G_Auto 1] : £ 10.00 Lay bet placed on Pumalin Park at 3.5. Entirely unmatched when it initially reached the market. Ref: 10021
16/06/2024 14:56:53: [G_Auto 1] : Greened up Pumalin Park by Laying 9.79 at 1.59
16/06/2024 14:57:04: Guardian has detected that the market is suspended
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Beau Jardine: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Pumalin Park: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Sayifyouwill: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Bantry: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Twilight Dancer: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Saturnalia: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Snuggle: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Vinaka: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Automation Signal for Powerdress: triggered = 1
16/06/2024 15:01:38: [G_Auto 2] : Store Value (Shared) for Pumalin Park: Market_Profit = 0
16/06/2024 15:01:38: [G_Auto 2] : Store Value (Shared) for Bet Angel: Total_Profit = 0 + 0.52 = 0.52
It was showing on the odds screen that I had made £9.79 on this race?
I was using an older version of Bet Angel yesterday so upgraded to v1.62.0_b3 last night to rule that out.
-
- Posts: 17
- Joined: Thu Apr 06, 2023 12:55 am
I've finally managed to capture some images and learn how to upload them. I need a lie down now!
It first showed that Tareefa had a profit of £2.15

This then changed when betfair closed the market:

and this figure of £0.00 is recorded in the profit and loss log.
27/06/2024 14:21:07: Guardian has detected that the market is suspended
27/06/2024 14:21:09: Guardian has detected that the market is now unsuspended
27/06/2024 15:59:58: [G_Auto 1] : £ 2.00 Lay bet placed on Heart Of The City at 11. Fully matched at 11. Ref: 10091
27/06/2024 15:59:58: [G_Auto 1] : £ 1.38 Lay bet placed on American Fashion at 15.5. Fully matched at 15.5. Ref: 10092
27/06/2024 15:59:58: [G_Auto 1] : £ 1.25 Lay bet placed on Swiss Cabaret at 17. Fully matched at 17. Ref: 10093
27/06/2024 16:00:15: Guardian has detected that the market is in-play
27/06/2024 16:00:15: Guardian has detected that the market is suspended
27/06/2024 16:00:16: Guardian has detected that the market is now unsuspended
27/06/2024 16:01:35: [G_Auto 1] : Greened up Swiss Cabaret by Backing 0.02 at 1000
27/06/2024 16:01:35: [G_Auto 1] : Greened up American Fashion by Backing 0.02 at 1000
27/06/2024 16:01:35: [G_Auto 1] : Greened up Heart Of The City by Backing 2.44 at 9
27/06/2024 16:01:40: Guardian has detected that the market is suspended
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Tareefa: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for American Fashion: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Heart Of The City: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Swiss Cabaret: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Old Grey Whistle: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Thundering Breeze: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Explosively: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Hallie Angel: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Cmon Pompey: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Store Value (Shared) for Tareefa: Market_Profit = 0
27/06/2024 16:04:56: [G_Auto 2] : Store Value (Shared) for Bet Angel: Total_Profit = 0 + 11.34 = 11.34
It does not do this for every race, I can't find a pattern for why it does this?
It first showed that Tareefa had a profit of £2.15

This then changed when betfair closed the market:

and this figure of £0.00 is recorded in the profit and loss log.
27/06/2024 14:21:07: Guardian has detected that the market is suspended
27/06/2024 14:21:09: Guardian has detected that the market is now unsuspended
27/06/2024 15:59:58: [G_Auto 1] : £ 2.00 Lay bet placed on Heart Of The City at 11. Fully matched at 11. Ref: 10091
27/06/2024 15:59:58: [G_Auto 1] : £ 1.38 Lay bet placed on American Fashion at 15.5. Fully matched at 15.5. Ref: 10092
27/06/2024 15:59:58: [G_Auto 1] : £ 1.25 Lay bet placed on Swiss Cabaret at 17. Fully matched at 17. Ref: 10093
27/06/2024 16:00:15: Guardian has detected that the market is in-play
27/06/2024 16:00:15: Guardian has detected that the market is suspended
27/06/2024 16:00:16: Guardian has detected that the market is now unsuspended
27/06/2024 16:01:35: [G_Auto 1] : Greened up Swiss Cabaret by Backing 0.02 at 1000
27/06/2024 16:01:35: [G_Auto 1] : Greened up American Fashion by Backing 0.02 at 1000
27/06/2024 16:01:35: [G_Auto 1] : Greened up Heart Of The City by Backing 2.44 at 9
27/06/2024 16:01:40: Guardian has detected that the market is suspended
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Tareefa: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for American Fashion: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Heart Of The City: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Swiss Cabaret: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Old Grey Whistle: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Thundering Breeze: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Explosively: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Hallie Angel: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Automation Signal for Cmon Pompey: triggered = 1
27/06/2024 16:04:56: [G_Auto 2] : Store Value (Shared) for Tareefa: Market_Profit = 0
27/06/2024 16:04:56: [G_Auto 2] : Store Value (Shared) for Bet Angel: Total_Profit = 0 + 11.34 = 11.34
It does not do this for every race, I can't find a pattern for why it does this?
Wonkydonkey wrote: ↑Thu Jun 27, 2024 4:41 pmI've finally managed to capture some images and learn how to upload them. I need a lie down now!
It first showed that Tareefa had a profit of £2.15
This then changed when betfair closed the market:
and this figure of £0.00 is recorded in the profit and loss log.
That now explains what's happening, you need the 'Retain matched bets at market settlement' box ticking on your automation page in the main settings
https://www.betangel.com/user-guide/bas ... tings.html
Thank you for posting this, it has been very helpfulDallas wrote: ↑Fri Apr 01, 2022 1:47 pmThis is a basic Guardian automation rule for use any and all types of markets
The purpose of the bot is to record your Profit/loss after each market once Betfair closes and settles the market, it will then keep a running total of your profit/loss throughout the day and write those to you Bet Angel log after each market closes
Here is an example of how it would look in your log after each race, there is a stored value for the profit/loss from that market, and below that a stored value with the total profit and loss for all todays markets so far
01/04/2022 13:30:04: [G_Auto 1] : Store Value (Shared) for Ami Desbois: Market_Profit = 15.78
01/04/2022 13:30:04: [G_Auto 1] : Store Value (Shared) for Bet Angel: Total_Profit = 15.78 + -6.53 = 9.25
I've created this as a bare template so it only goes as far as recording those values, its then up to you how you want to use those values.
For example if you just wanted to see what your daily total was so far you could just check on them in your log as shown above or you could display them on your One-Click, Ladder, Guardian trading screens etc (i'll be adding some ladder and one-click settings files to do this over the weekend)
Or you can use them as part of your parameters and/or conditions of other rules
NB; to use this settings profile you will need to be using the new Bet Angel v1.59 which can be downloaded from the following page which also contains full details of all new options and features which have been added
viewtopic.php?f=46&t=25251
How it works and using the Rules File
Once you have it imported into your Guardian you can edit those (or any other parts of the file) anyway you want or remove them and add your own rules to use the recent form very easily by clicking on "Edit Rules File".
Please refer to the 'Note' tab for a more detailed explanation on how each rule works and how it may be connected/linked to other rules within the file
Notes.JPG
Downloading and Importing the Files
To use the file just click on the 'Running Profit and Loss Total.baf' link below and that will download it to your computer, then with guardian open on the "Automation" tab click on a rules file as shown in the image, once imported it will now appear in the pick list area just above, you can now apply it to any markets you have added into guardian.
To see a video tutorial on how to download and import an automation file into your Bet Angel please see this link
https://www.youtube.com/watch?v=g7Im4pj683g
ᵗᑋᵃᐢᵏ ᵞᵒᵘ*
- firlandsfarm
- Posts: 3304
- Joined: Sat May 03, 2014 8:20 am
Multiply the Value by "-1"RogerTaurus wrote: ↑Mon Sep 05, 2022 8:26 pmI have been experimenting with this bot and I would like to know if you can turn a negative in to a positive.
For example lets say that the last bet made a loss of -£10. This £10 would then be in the Market_Profit at -10. is there a way to create another stored value automtically by using the £10 value changing the minus into a plus and doubling it?