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
Percentage of Profit bet is reporting profit 0 when im in profit
- 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
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
- 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.
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!
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.
..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.
- jamesedwards
- Posts: 5526
- Joined: Wed Nov 21, 2018 6:16 pm
Then you are also completely missing the part that keeps tabs on your daily profit.Blackpowder64 wrote: ↑Wed Apr 08, 2026 7:24 pmThanks 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.
-
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 ..
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 ..
- jamesedwards
- Posts: 5526
- Joined: Wed Nov 21, 2018 6:16 pm
Right, so you are running two separate rulefiles against the same market?Blackpowder64 wrote: ↑Wed Apr 08, 2026 7:47 pmJamesedwards 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 ..
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
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.
- jamesedwards
- Posts: 5526
- Joined: Wed Nov 21, 2018 6:16 pm
You need to use the stored value Total_Profit at Bet Angel level.
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
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.
- jamesedwards
- Posts: 5526
- Joined: Wed Nov 21, 2018 6:16 pm
It's bet angel level.Blackpowder64 wrote: ↑Wed Apr 08, 2026 9:26 pmI 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 need to copy it exactly so capital P on profit.
- jamesedwards
- Posts: 5526
- Joined: Wed Nov 21, 2018 6:16 pm
You do not have the required permissions to view the files attached to this post.
