Percentage of Profit bet is reporting profit 0 when im in profit

We were all new to Bet Angel once. Ask any question you like here and fellow forum members promise not to laugh. Betfair trading made simple.
Post Reply
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

Hi
Im trying to get a percentage of total profit working via automation Dallas gave me instructions how to do it but i cant get it working ..

I looks to me as though it is not placing the bet because it is reporting my profit is 0 ...which is not true
I set stored value as 'profit' for the market with the profit and loss of a selection
then made adjustment for 13%

Then in parameters set stake as stored value stake Name 'profit' for current selection
im my log reports
08/04/2026 18:33:11: [G_Auto 2] : Store Value (Shared) for Bet Angel: profit = 0 - 13%
My profit was over £100 yet reporting £0
I cant figure how to do it

Please help
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

If you attach your .baf file to your posts then people can look at exactly what you are doing.
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

Hi thanks here is the baf
You do not have the required permissions to view the files attached to this post.
eatyourgreens
Posts: 290
Joined: Sun Feb 18, 2018 12:53 am

hi,
just a thought, are you in practice mode?
I rarely use practice mode, so not too sure of the following :-

I think it has a starting balance of 1000 ? if you are starting with that, maybe it does not go past 1000......therefore, no profit will be showing.

I am probably barking up the wrong tree, but that is not unusual for me!!

woof, woof
goodluck
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

A couple of issues.

Firstly you need to be storing the 'profit' stored value first, in a line somewhere before the back bet trigger.

Secondly where is the profit or loss for that selection going to come from? Or have you already placed bets on it? Without any bets already placed then 'profit' will = 0 and so no further back bet will be placed.

Be careful using a stored value as a stake, as a small mistake could lead to an unintended huge bet being placed. I recommend you are trying this out in Practise Mode first so that any mistakes do not end up costing you.
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

Thanks eatyourgreens but im not using practice mode i just have confirm bets ticked so i cant make an error..
i have tried editing the baf changing settings and values just wont work!
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

Thanks jamesedwards
..What im trying to do is when i have a profit i want to be able to bet a % of that profit..So when you ask where is the stake coming from its my total running profit of the day? I am using confirm bets while testing the baf.
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

Blackpowder64 wrote:
Wed Apr 08, 2026 7:24 pm
Thanks jamesedwards
..What im trying to do is when i have a profit i want to be able to bet a % of that profit..So when you ask where is the stake coming from its my total running profit of the day? I am using confirm bets while testing the baf.
Then you are also completely missing the part that keeps tabs on your daily profit.
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

Jamesedwards i dont understand what you are saying?
I use a baf which gives me my profit loss displayed on guardian
so i can see my profit, i bet manually then when im in profit i want to bet a % of the winnings using automation file..
I cant figure out how to do it ..
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

Blackpowder64 wrote:
Wed Apr 08, 2026 7:47 pm
Jamesedwards i dont understand what you are saying?
I use a baf which gives me my profit loss displayed on guardian
so i can see my profit, i bet manually then when im in profit i want to bet a % of the winnings using automation file..
I cant figure out how to do it ..
Right, so you are running two separate rulefiles against the same market?

Upload the other .baf as well.
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

Jamesedwards here is the baf

It gives running total daily profit
i have tried using the Total_Profit stored value(in the set total profit sv) but i cant get it to work
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

You need to use the stored value Total_Profit at Bet Angel level.
z105.jpg
You do not have the required permissions to view the files attached to this post.
Blackpowder64
Posts: 92
Joined: Sat Oct 22, 2022 2:33 am

ImageI was hoping that would work but nope .. also In the parameters section i have tried

stake stored value stake name Total_profit for current selection then betangel then the market then the event no luck? still wont work
You do not have the required permissions to view the files attached to this post.
Last edited by Blackpowder64 on Wed Apr 08, 2026 9:40 pm, edited 1 time in total.
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

Blackpowder64 wrote:
Wed Apr 08, 2026 9:26 pm
I was hoping that would work but nope .. also In the parameters section i have tried

stake stored value stake name Total_profit for current selection then betangel then the market then the event no luck? still wont work
It's bet angel level.

You need to copy it exactly so capital P on profit.
User avatar
jamesedwards
Posts: 5526
Joined: Wed Nov 21, 2018 6:16 pm

upload2L- v2.baf
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Bet Angel for newbies / Getting started”