Running Daily Profit & Loss Total - Guardian Automation Bot

Post Reply
DanTheMan1
Posts: 55
Joined: Sun Feb 28, 2021 11:12 am

Atho55 wrote:
Wed Feb 28, 2024 12:22 pm
Have you thought about using the P&L sheet that Derek posted to give you a running total?

Daily Cumulative bolted onto Derek`s sheet.png
Is this sheet still available anywhere?
User avatar
Dallas
Posts: 23277
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

DanTheMan1 wrote:
Mon Nov 25, 2024 7:01 pm
Atho55 wrote:
Wed Feb 28, 2024 12:22 pm
Have you thought about using the P&L sheet that Derek posted to give you a running total?

Daily Cumulative bolted onto Derek`s sheet.png
Is this sheet still available anywhere?
viewtopic.php?p=323823
Roobetter
Posts: 50
Joined: Wed Jun 23, 2021 12:48 pm

Reading through this it seems we can calculate total profit IF I BACK A HORSE for a place is this still correct?
User avatar
Dallas
Posts: 23277
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Roobetter wrote:
Mon Dec 16, 2024 11:43 am
Reading through this it seems we can calculate total profit IF I BACK A HORSE for a place is this still correct?
The P/L from a place market come through differently, so this can only be used on outright win markets
smgreyuk
Posts: 67
Joined: Tue Jul 30, 2024 4:20 pm

Does anyone have a Place market version of this baf file?

I tried to set one up myself and I wasn't successful
User avatar
Dallas
Posts: 23277
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

smgreyuk wrote:
Sat Jan 18, 2025 10:05 pm
Does anyone have a Place market version of this baf file?

I tried to set one up myself and I wasn't successful
See my reply above your message
smgreyuk
Posts: 67
Joined: Tue Jul 30, 2024 4:20 pm

Yes I saw that Dallas.

I have tried to have a go myself at doing this for a Two Lay Place File (Done over two BAF files) but have come unstuck. Could you have a look to see where I am possibly going wrong please?
A - Lay 1st Fave.baf
Please see next message for the second file, for some reason I cannot add the second file to this message



The files are laying the first and second fave in the Place Market
N.B. I have set the Odds Condition up to 13 so I can catch more races in order to just test this out, when fuly working I will set this back to its original "Less than 3.80" for combined odds

I feel like I am close but the final calculations are bringing back invalid values for both the Win and Loss Scenarios:

"Horses Lose (as in don't place), I Win" Scenario on both horses
Screenshot 2025-01-21 230435.png
I feel this one is the more problamatic


"Horses Win (as in do place), I Lose" Scenario on both horses
Screenshot 2025-01-21 230705.png
This I feel is much closer, in fact I have made changes since these logs which may have fixed this one


The changes I made since these logs were:

1. To store the Stake Values AFTER the lay bets have been placed (not during as it would appear to store zeros to these and then place the lay bet stakes)

2. Changed "P/L One" and "P/L Two" SVs to be stored for the Market rather than the Current Selection, as these need to be used between the two rules to calculate the "Final P/L" SV
You do not have the required permissions to view the files attached to this post.
Last edited by smgreyuk on Wed Jan 22, 2025 8:35 am, edited 3 times in total.
smgreyuk
Posts: 67
Joined: Tue Jul 30, 2024 4:20 pm

Here is the second file:
B - Lay 2nd Fave.baf
For some reason I couldn't add that to last message together with the first file
You do not have the required permissions to view the files attached to this post.
smgreyuk
Posts: 67
Joined: Tue Jul 30, 2024 4:20 pm

I am pretty sure I have these files working now, I shall post them later on today
smgreyuk
Posts: 67
Joined: Tue Jul 30, 2024 4:20 pm

As promised, here they are:
A - Lay 1st Fave.baf
B - Lay 2nd Fave.baf
Just a few notes for these, they lay the 1st and 2nd horse in the Place market and end up storing the final P/L (combined P/L for both horses) for each race in a SV called "Final P/L" which can be used in a column view

I will post an updated version of these which has a running total SV

Also if you wanted this for:
1. Just laying the one fave horse - Then just don't use file B. By just using file A, it only lays the fave horse in the race, but in this case the final P/L will be stored in a SV called "P/L one"
2. To back fave and 2nd fave instead of lay them - FOR EACH FILE - Change the rule name and rule type to a back bet, remove the Store Liability rule, change the logic of the Horse wins and horse loses rules by doing the following:- For when the horse wins (you win) have the stake multiplied by the odds in one part of the adjustment and then minus the stake in the next adjustment. For when the horse loses (you lose) have the stake multiplied by -1 in an adjustment
3. Only back one horse - do both of the above

If anybody needs any helps with the 3 requirements above, let me know and I can probably create it for you.
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Bet Angel Automation - General”