Storing Value Problem

Advanced automation available in Guardian - Chat with others and share files here.
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

Dabbla wrote:
Wed Jun 19, 2024 8:36 pm
I have had a look and what I think is happening is you trying to multiple a loss.
£-10 * 2 is £-20 and not a valid stake. If this is the case then you can just do the sum 0 - -20 =20

The rules trigger ok. The stored value stake is being sent to the o/u 5.5 as it should. It did place a bet in 5.5market when I set the stake to £100 in the 4.5 market.
Well done. 8-)
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

Dabbla wrote:
Wed Jun 19, 2024 8:36 pm
I have had a look and what I think is happening is you trying to multiple a loss.
£-10 * 2 is £-20 and not a valid stake. If this is the case then you can just do the sum 0 - -20 =20

The rules trigger ok. The stored value stake is being sent to the o/u 5.5 as it should. It did place a bet in 5.5market when I set the stake to £100 in the 4.5 market.
Good find, so hows the best way to get this to work?
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

J21MYC wrote:
Wed Jun 19, 2024 8:46 pm
Dabbla wrote:
Wed Jun 19, 2024 8:36 pm
I have had a look and what I think is happening is you trying to multiple a loss.
£-10 * 2 is £-20 and not a valid stake. If this is the case then you can just do the sum 0 - -20 =20

The rules trigger ok. The stored value stake is being sent to the o/u 5.5 as it should. It did place a bet in 5.5market when I set the stake to £100 in the 4.5 market.
Good find, so hows the best way to get this to work?
Create the SV in two steps. Step 1 = 0 - P&L. Step 2 = Step 1 * 2.
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

can i be cheeky and ask you to edit one of the sv in the files i sent just to show me then ill edit the rest as that sounds a little technical for me, be much appreciated
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

J21MYC wrote:
Wed Jun 19, 2024 9:06 pm
can i be cheeky and ask you to edit one of the sv in the files i sent just to show me then ill edit the rest as that sounds a little technical for me, be much appreciated
I amended the 2-0. Make sure you test it in practise mode first.
You do not have the required permissions to view the files attached to this post.
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

Thank you so much, much appreciated ill give it a go and see how i get on
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

J21MYC wrote:
Thu Jun 20, 2024 4:35 pm
Thank you so much, much appreciated ill give it a go and see how i get on
Of course this will now not work if your P&L happens to be positive at the point of trade-out, eg if the second goal comes very late.

If this is a problem then you will need to create one rule for if the P&L is negative, and another separate one for if the P&L is positive.
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

It doesn't seem to be working I've just used it on the England v denmark game and the trade closes but shows nothing about storing the value
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

J21MYC wrote:
Thu Jun 20, 2024 5:45 pm
It doesn't seem to be working I've just used it on the England v denmark game and the trade closes but shows nothing about storing the value
Post your OU 4.5 file
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

hopefully ive set it up right
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

If I've understood what you want to do correctly then this is how I would do it.

Lay O_U 4.5 V5.baf
Lay O_U 5.5 v5.baf
[attachment edited]


These have NOT been tested. MAKE SURE YOU TEST THESE IN PRACTICE MODE FIRST.
You do not have the required permissions to view the files attached to this post.
Last edited by jamesedwards on Fri Jun 21, 2024 11:33 am, edited 1 time in total.
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

Works perfectly, owe you one, thanks ever so much
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

J21MYC wrote:
Fri Jun 21, 2024 2:49 am
Works perfectly, owe you one, thanks ever so much
Got there in the end! :mrgreen:

You've probably noticed the 5.5 v5 is missing a condition to stop it repeating the lay once a bet is matched.

This version will only lay once.
Lay O_U 5.5 v5.baf
You do not have the required permissions to view the files attached to this post.
J21MYC
Posts: 21
Joined: Sun Feb 18, 2024 6:19 pm

haha yeah i changed that, good job practice mode is a thing :D
Post Reply

Return to “Bet Angel - Automation”