Use Stored Value on next market

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Hi,

Is it possible to set up a stored value on one market and make it available for use on the next market?

So, if I wanted a rule on the current market to trigger only if the stored value set on the previous market was set to "1", for instance, could that be done?
User avatar
Dallas
Posts: 23120
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

fingers21 wrote:
Mon Jul 11, 2022 1:02 pm
Hi,

Is it possible to set up a stored value on one market and make it available for use on the next market?

So, if I wanted a rule on the current market to trigger only if the stored value set on the previous market was set to "1", for instance, could that be done?
Yes, when stetting the stored value store it at 'Bet Angel' level
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Thank you Dallas for your prompt reply! I will give it a go.
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

I have an automation file that is using stored values and runs 24/7. There is a specific stored value within this file that I would like to have it cleared once every 24 hours at midnight. Can this be done?
User avatar
Dallas
Posts: 23120
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

fingers21 wrote:
Sat Apr 20, 2024 9:58 am
I have an automation file that is using stored values and runs 24/7. There is a specific stored value within this file that I would like to have it cleared once every 24 hours at midnight. Can this be done?
Yes, just add a 'Set/Modify Stored Value' rule armed at midnight to clear the name of the stored value you want
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Thanks Dallas. I tried to do it the way I thought you suggested but I am getting the following error.
Screenshot 2024-04-20 161542.png
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 3138
Joined: Wed Nov 21, 2018 6:16 pm

fingers21 wrote:
Sat Apr 20, 2024 4:20 pm
Thanks Dallas. I tried to do it the way I thought you suggested but I am getting the following error.

Screenshot 2024-04-20 161542.png
Probably need to use 00:00:00

23:59:59 is after 01:00:00
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Thanks for your help jamesedwards. That seems to have done the trick! :)
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Hello again,

I have another stored values questions that has been bugging me for a couple of weeks now and i am no closer into solving it.

I have two stored values on two separate automation rules that are applied to football matches. Both stored values are doing the same thing. In this case they store a cumulative p/l after the market is settled and are set for Bet Angel.

The problem is that even though the stored values have different names and are on different rules the both are assigned the same value even though the cumulative p/l on rule one is, lets say, -£10 and on rule two is +£10. I believe this is due to them being set for Bet Angel.

So, my question is this. How can I set the stored values to store the cumulative p/l for each rule independently and be able to apply it to the automation rule, if need be, on later games?

tia
User avatar
jamesedwards
Posts: 3138
Joined: Wed Nov 21, 2018 6:16 pm

SVs with different names will store values independently of each other. Perhaps you have something wrong with your rule/calculation?

Rereading your post, perhaps you mean you want to split out the profit from one rule and the profit from another rule on the same market? If so this will be very tricky to do as if you use profit from the winning selection this will be your final net position on the market including all rules and trades.
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Thanks for your response jamesedwards.

My rule works fine when applied on its own. i.e apply the same rule to all football games in Automation Rule 1. However if applied to the same games via Automation Rule 2, the cumulative p/l stored value seems to be the same on both rules.

To be more specific, only one rule can trigger on a market. If there is already a matched selection in a market the other rule will check for another qualifying market. therefore, depending on the result, cumulative p/l 1 could be the same or different to cumulative p/l 2.
The p/l figure is used to calculate the stake on the following qualifying market and it should apply to its "own" rule but in my case it seems to apply to all automations applied to the same markets.

As only one rule only can trigger on a market I would have thought the stored values calculating the same thing but with different names would apply their value to the same rule i.e cum p/l 1 to rule 1 and cum p/l 2 to rule 2.
User avatar
jamesedwards
Posts: 3138
Joined: Wed Nov 21, 2018 6:16 pm

fingers21 wrote:
Sat May 04, 2024 4:15 pm
Thanks for your response jamesedwards.

My rule works fine when applied on its own. i.e apply the same rule to all football games in Automation Rule 1. However if applied to the same games via Automation Rule 2, the cumulative p/l stored value seems to be the same on both rules.

To be more specific, only one rule can trigger on a market. If there is already a matched selection in a market the other rule will check for another qualifying market. therefore, depending on the result, cumulative p/l 1 could be the same or different to cumulative p/l 2.
The p/l figure is used to calculate the stake on the following qualifying market and it should apply to its "own" rule but in my case it seems to apply to all automations applied to the same markets.

As only one rule only can trigger on a market I would have thought the stored values calculating the same thing but with different names would apply their value to the same rule i.e cum p/l 1 to rule 1 and cum p/l 2 to rule 2.
You need to tell the rule that produces the cumulative SV at BA level whether it should apply the profit to cumulative SV1 or SV2. Probably right now both SV1 and SV2 are being triggered whatever rule applies.

eg you could set a signal at market level when rule 1 has been triggered. Then make a condition that profit is applied to your cumulative SV1 if that signal needs to have been set, and a condition that profit is applied to your cumulative SV2 if the signal has NOT been set.
fingers21
Posts: 42
Joined: Sat Nov 03, 2018 2:41 pm

Thanks jamesedwards. That seems to have done it!

The funny thing is that my automation rule was set up exactly the way you suggested I do it but somehow I neglected to ask the cumulative p/l rule to test for the signal. :evil:

Thanks again for your help!
Post Reply

Return to “Bet Angel - Automation”