I'm sure this is pretty basic if you know what you're doing, but I don't, so posting here rather than in Automation.
I'd like to make a rules file for football that will monitor three markets in every games prior to KO (price of fav + 2 others) and place back bets on the two others if and only if the fav is below a specified price AND the other two are both at or above specified prices. Any guidance as to where to begin would be appreciated. Thanks.
Making a rule with conditions
- jamesedwards
- Posts: 3919
- Joined: Wed Nov 21, 2018 6:16 pm
You need to look into stored values stored at 'event' level. These stored values will cross between any market in the same match.fishtownraider wrote: ↑Sun Apr 27, 2025 4:30 pmI'm sure this is pretty basic if you know what you're doing, but I don't, so posting here rather than in Automation.
I'd like to make a rules file for football that will monitor three markets in every games prior to KO (price of fav + 2 others) and place back bets on the two others if and only if the fav is below a specified price AND the other two are both at or above specified prices. Any guidance as to where to begin would be appreciated. Thanks.
-
- Posts: 76
- Joined: Mon Feb 20, 2023 3:05 pm
Thanks, James. So something along the lines of Desired Price A/B/C = SV 1/2/3; if SV 1, 2 and 3 all true, then back B and C?jamesedwards wrote: ↑Sun Apr 27, 2025 4:55 pmYou need to look into stored values stored at 'event' level. These stored values will cross between any market in the same match.fishtownraider wrote: ↑Sun Apr 27, 2025 4:30 pmI'm sure this is pretty basic if you know what you're doing, but I don't, so posting here rather than in Automation.
I'd like to make a rules file for football that will monitor three markets in every games prior to KO (price of fav + 2 others) and place back bets on the two others if and only if the fav is below a specified price AND the other two are both at or above specified prices. Any guidance as to where to begin would be appreciated. Thanks.
- jamesedwards
- Posts: 3919
- Joined: Wed Nov 21, 2018 6:16 pm
I would use a separate SV (saved at event level) for each market. One line that makes SV = 0 when criteria is not met, and one that makes SV = 1 when criteria is met.fishtownraider wrote: ↑Sun Apr 27, 2025 5:31 pmThanks, James. So something along the lines of Desired Price A/B/C = SV 1/2/3; if SV 1, 2 and 3 all true, then back B and C?jamesedwards wrote: ↑Sun Apr 27, 2025 4:55 pmYou need to look into stored values stored at 'event' level. These stored values will cross between any market in the same match.fishtownraider wrote: ↑Sun Apr 27, 2025 4:30 pmI'm sure this is pretty basic if you know what you're doing, but I don't, so posting here rather than in Automation.
I'd like to make a rules file for football that will monitor three markets in every games prior to KO (price of fav + 2 others) and place back bets on the two others if and only if the fav is below a specified price AND the other two are both at or above specified prices. Any guidance as to where to begin would be appreciated. Thanks.
Then trigger the relevant trades if SV1 and SV2 and SV3 all = 1.
-
- Posts: 76
- Joined: Mon Feb 20, 2023 3:05 pm
Thanks. That gives me somewhere to start, at least.jamesedwards wrote: ↑Sun Apr 27, 2025 5:52 pmI would use a separate SV (saved at event level) for each market. One line that makes SV = 0 when criteria is not met, and one that makes SV = 1 when criteria is met.fishtownraider wrote: ↑Sun Apr 27, 2025 5:31 pmThanks, James. So something along the lines of Desired Price A/B/C = SV 1/2/3; if SV 1, 2 and 3 all true, then back B and C?jamesedwards wrote: ↑Sun Apr 27, 2025 4:55 pm
You need to look into stored values stored at 'event' level. These stored values will cross between any market in the same match.
Then trigger the relevant trades if SV1 and SV2 and SV3 all = 1.
-
- Posts: 2
- Joined: Wed Mar 26, 2025 3:42 am
Anyone can explain again in 1times for me, pls? I don't understandjamesedwards wrote: ↑Sun Apr 27, 2025 5:52 pmI would use a separate SV (saved at event level) for each market. One line that makes SV = 0 when criteria is not met, and one that makes SV = 1 when criteria is met.fishtownraider wrote: ↑Sun Apr 27, 2025 5:31 pmThanks, James. So something along the lines of Desired Price A/B/C = SV 1/2/3; if SV 1, 2 and 3 all true, then back B and C?jamesedwards wrote: ↑Sun Apr 27, 2025 4:55 pm
@poor bunny You need to look into stored values stored at 'event' level. These stored values will cross between any market in the same match.
Then trigger the relevant trades if SV1 and SV2 and SV3 all = 1.
