help on auto calc please

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

I am trying to do a simple formula want use small amounts at moment
work out a stake for another market using stored values but betangel defaults the calculations to 1.01 even though its not a odds amount

1. 0/05/2020 12:23:00: [G_Auto] : Store Value (Shared) for event: htamount8 = 0.5
2. 10/05/2020 12:23:00: [G_Auto] : Store Value (Shared) for event: htodds8 = 2.02
3. 10/05/2020 12:23:00: [G_Auto] : Store Value (Shared) for event: htwin8 = 2.02 * 0.5 = 1.01
4. 10/05/2020 12:23:00: [G_Auto] : Store Value (Shared) for event: htprofit8 = 1.01 - 0.5
5. 10/05/2020 12:23:00: [G_Auto] : Store Value (Shared) for event: csbet8 = 1.01 - 0.2

above is betangel workings yet what i want is
1. bet amount =£0.5 (entered value)
2. bet odds = 2.02 (actual odds of event stored)
3. win amount= 2.02*£0.5=1.01
4. ht profit = win amount - stake = 1.01-0.5 =0.51
5. csbet8 =£0.51-£0.2=£0.31

I should then transfer the £0.31 to an insurance bet
but betangel transfers :-
Store Value (Shared) for event: csbet8 = 1.01
so it puts my insurance bet on for £1.01 instead of the £0.31

bet angel dosnt seem to be able to calculate step 4 or 5 because it defaults anything below 1.01 to 1.01 even though im not working out a price im working out a value

can anyone explain what im doing wrong as i cant work it out

thanks
User avatar
Dallas
Posts: 22731
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Why not just store the value of the profit / loss of a selection whick will remove steps 1-3 if your actually betting on that first market?
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

ill look at that dallas but im interested in why my calcs dont work why does betangel default anything below 1.01 even when a value as my calc may be done a different way but i see this as a flaw am i wrong ?

still wouldnt work profit is under 1.01 so only transfers 1.01
thanks for quick reply dallas much appreciated
User avatar
Dallas
Posts: 22731
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

The first stored value (named odds) needs to stored the price minus an entered amount of 1
the second stored value then uses the SV named (odds) multipled by an entered amount (your stake)
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

ok thanks i changed it to cut out the 3 lines
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

Dallas can you please tell me how to store a profit under 1.01

i changed first 3 lines to just store the profit


0/05/2020 14:06:22: [G_Auto] : Store Value (Shared) for event: htprofit3 = 0.23 = 1.01

again betangel changes it to 1.01
User avatar
Dallas
Posts: 22731
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

facefish1 wrote:
Sun May 10, 2020 2:14 pm
Dallas can you please tell me how to store a profit under 1.01

i changed first 3 lines to just store the profit


0/05/2020 14:06:22: [G_Auto] : Store Value (Shared) for event: htprofit3 = 0.23 = 1.01

again betangel changes it to 1.01
Either of the two ways above will do it.

Here's the log from the second (longer way) of doing it

SV.jpg
You do not have the required permissions to view the files attached to this post.
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

dosnt work dallas youve put odds over 2 to 1 my odds are 1.36 to 1 so again would send 1.01 please try it again with odds less than 2
User avatar
Dallas
Posts: 22731
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

facefish1 wrote:
Sun May 10, 2020 2:34 pm
dosnt work dallas youve put odds over 2 to 1 my odds are 1.36 to 1 so again would send 1.01 please try it again with odds less than 2
Still works the same way

SV1.jpg
You do not have the required permissions to view the files attached to this post.
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

thanks game comming up soon ill try again
facefish1
Posts: 68
Joined: Tue Aug 07, 2018 10:40 pm

yep transfered the correct amount thanks dallas still dont understand why didnt work straight forward way but thats fine

10/05/2020 15:17:31: [G_Auto] : Store Value (Shared) for event: cs7 = 0.24

thanks again Dallas
Post Reply

Return to “Bet Angel - Automation”