Hi guys,
Looking for some help with automation. Im effectively trying to say that when a price in Football Handicap Market (Market 1) shortens by 'x' ticks then to set a signal and this signal then triggers a bet in the Match Odds Market (Market 2).
How do I link the signal in Market 1 to activate a bet placement in Market 2? I've had a look on the forum and still not totally clear so any help much appreciated.
So Far I have:
Automation 1 - Handicap market:
1. Use relative odds condition to look for tick difference between SP and current price in the first 40 minutes
2. If x ticks movement achieved then set a signal on the market called 'HandicapSignal' with value of 1
Automation 2 - Match Odds market (where im stuck):
1. Monitor for signal from Automation 1 - (this is the bit I cant do)
2. Place bet with greening options
Signal from Market 1 to trigger bet in Market 2
You need to use Stored Values (Shared) to link markets
viewtopic.php?f=43&t=16230
There are also several ready-made examples which should help;
Lay the Draw if Odds of O2.5 is Greater than 'X' Bot - viewtopic.php?f=50&t=16232
Track Over 1.5 Goals Price to Trigger Bet on Over 2.5 Goals Market Bot - viewtopic.php?f=50&t=16255
Back Win Mkt Movers in Place Mkt Bot - viewtopic.php?f=53&t=16239
Back a Nominated Runner in the Win and Place Mkts if Place Price is 'X' bot - viewtopic.php?f=52&t=17026
Lay the Draw and Green up after a Goal by Checking the 0-0 CS Bot - viewtopic.php?f=50&t=17043
viewtopic.php?f=43&t=16230
There are also several ready-made examples which should help;
Lay the Draw if Odds of O2.5 is Greater than 'X' Bot - viewtopic.php?f=50&t=16232
Track Over 1.5 Goals Price to Trigger Bet on Over 2.5 Goals Market Bot - viewtopic.php?f=50&t=16255
Back Win Mkt Movers in Place Mkt Bot - viewtopic.php?f=53&t=16239
Back a Nominated Runner in the Win and Place Mkts if Place Price is 'X' bot - viewtopic.php?f=52&t=17026
Lay the Draw and Green up after a Goal by Checking the 0-0 CS Bot - viewtopic.php?f=50&t=17043
- jamesedwards
- Posts: 2324
- Joined: Wed Nov 21, 2018 6:16 pm
Dallas, is it possible to store values across markets in separate events?Dallas wrote: ↑Sun Aug 16, 2020 5:26 pmYou need to use Stored Values (Shared) to link markets
viewtopic.php?f=43&t=16230
Hey @Dallas
I have set up file one which stores the value of the pre-match price in another market, I then want to say, 'If that price has shortened by 20+ ticks, place a bet in market 2'.
How do I phrase that in a condition?
I have set up file one which stores the value of the pre-match price in another market, I then want to say, 'If that price has shortened by 20+ ticks, place a bet in market 2'.
How do I phrase that in a condition?
You do not have the required permissions to view the files attached to this post.
Think I may have cracked it but looking for confirmation:
Automation 1 Monitor Handicap price
1. From 60 seconds before until 40 minutes after event goes in play monitor position 3 on market (always looking for the underdog)
2. Look for Position 3 (fav) and see if Back price 65 seconds ago is greater than back price now +15 ticks
3. If item 2 (above) is met, set signal with value of 1
Automation 2 Place trade
1. If signal value =1
2. Back selection - Offset bet with greening
3. Subject to matched bets on market <2 & Volume >10000
Automation 1 Monitor Handicap price
1. From 60 seconds before until 40 minutes after event goes in play monitor position 3 on market (always looking for the underdog)
2. Look for Position 3 (fav) and see if Back price 65 seconds ago is greater than back price now +15 ticks
3. If item 2 (above) is met, set signal with value of 1
Automation 2 Place trade
1. If signal value =1
2. Back selection - Offset bet with greening
3. Subject to matched bets on market <2 & Volume >10000
-
- Posts: 4
- Joined: Fri Aug 21, 2020 12:39 pm
Babrak Ohava here, sirShaung89 wrote: ↑Mon Aug 17, 2020 4:25 pmThink I may have cracked it but looking for confirmation:
Automation 1 Monitor Handicap price
1. From 60 seconds before until 40 minutes after event goes in play monitor position 3 on market (always looking for the underdog)
2. Look for Position 3 (fav) and see if Back price 65 seconds ago is greater than back price now +15 ticks
3. If item 2 (above) is met, set signal with value of 1
Automation 2 Place trade
1. If signal value =1
2. Back selection - Offset bet with greening
3. Subject to matched bets on market <2 & Volume >10000
What asian handicap market selection you set automation for?
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Well I guess I might as well just come out with it because we all know who has the answer … Hi Dallas
From what I can see in all your examples of sharing SV's around Markets within the same Event you always use the SV option of "the Event" but what happens if you use the other options such as "the Current Selection" or "the Market" and 'tick' Shared? I'm asking because I can't get it to work for a field of runners where I want to set an SV for each runner in one market and use that SV in connection with the same runner in another market … do I have to have an individual SV for each runner in the first market (maybe 40 rules!) and likewise another maybe 40 rules in the second market to create the link? I can do that but it's an awful lot of rules!
If I do can you explain when you would use the Shared option for "the Current Selection", "a Nominated Selection" and "the Market" options. I've tried to do it using both "ANY selection" and "EVERY selection" in the General tab but keep getting "invalid value" errors.
From what I can see in all your examples of sharing SV's around Markets within the same Event you always use the SV option of "the Event" but what happens if you use the other options such as "the Current Selection" or "the Market" and 'tick' Shared? I'm asking because I can't get it to work for a field of runners where I want to set an SV for each runner in one market and use that SV in connection with the same runner in another market … do I have to have an individual SV for each runner in the first market (maybe 40 rules!) and likewise another maybe 40 rules in the second market to create the link? I can do that but it's an awful lot of rules!
If I do can you explain when you would use the Shared option for "the Current Selection", "a Nominated Selection" and "the Market" options. I've tried to do it using both "ANY selection" and "EVERY selection" in the General tab but keep getting "invalid value" errors.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
May I bump this one please. Just to confirm what I am trying to do …firlandsfarm wrote: ↑Mon Sep 14, 2020 3:23 pmWell I guess I might as well just come out with it because we all know who has the answer … Hi Dallas
From what I can see in all your examples of sharing SV's around Markets within the same Event you always use the SV option of "the Event" but what happens if you use the other options such as "the Current Selection" or "the Market" and 'tick' Shared? I'm asking because I can't get it to work for a field of runners where I want to set an SV for each runner in one market and use that SV in connection with the same runner in another market … do I have to have an individual SV for each runner in the first market (maybe 40 rules!) and likewise another maybe 40 rules in the second market to create the link? I can do that but it's an awful lot of rules!
If I do can you explain when you would use the Shared option for "the Current Selection", "a Nominated Selection" and "the Market" options. I've tried to do it using both "ANY selection" and "EVERY selection" in the General tab but keep getting "invalid value" errors.
Take an Event with a Market_A and a Market_B. Within those Markets you have say Selection_1, Selection_2 and Selection_3. I want to share an SV calculated for each of the three selections in Market_A and applied those shared SV's with them in Market_B selection by selection but I keep getting "Second value invalid". I'm not sure what the "second value" is but here is a sample extract from the logs …
Market_A:
17/09/2020 15:04:50: [G_Auto] : Store Value (Shared) for Selection_1: Market_A.sv = 3.85 - 1 = 2.85
Market_B:
17/09/2020 15:04:50: [G_Auto] : Store Value (Shared) for Selection_1: Market_B.sv = 1.8 - 1 = 0.8
17/09/2020 15:04:50: [G_Auto] : Unable to : Store: 'CombinedCalc.sv' for current selection. Second value invalid.
Where "CombinedCalc.sv" is …
You do not have the required permissions to view the files attached to this post.
When storing a value on a selection/market the 'shared' option allows it to be passed to other rules, servants, one-click, ladder etc for that market.
The only way to pass information between markets is to store the value on the 'Event', think of it as the top level.
So for what you want you'll need a rule for each ie,
Win market
SV for row 1 on the event
Place market
SV for row 1 on the event
Then add those two together,
and repeat that as you say for upto 40 runners
Before you do though it can get complicated with Win and Place markets in that the row order and certainly the fav order don't always match so there's no easy way of comparing the same runner from each market. We have been looking at ways to simplify this, ie, store the name of a selection on an event which can then be looked up/ tested against the same name in another market.
The only way to pass information between markets is to store the value on the 'Event', think of it as the top level.
So for what you want you'll need a rule for each ie,
Win market
SV for row 1 on the event
Place market
SV for row 1 on the event
Then add those two together,
and repeat that as you say for upto 40 runners
Before you do though it can get complicated with Win and Place markets in that the row order and certainly the fav order don't always match so there's no easy way of comparing the same runner from each market. We have been looking at ways to simplify this, ie, store the name of a selection on an event which can then be looked up/ tested against the same name in another market.
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Thanks for picking this one up Dallas.
I can achieve what I want using Excel and the vlookup() function, I just thought to keep it all within Guardian would be tidier. Oh well, carry on and wait to see what the future brings. Again, thanks for your input.
Yes that's what I was finding so what does the "Share" option do when used with the Current Selection, Nominated Selection or Market options?
Yeah I was hoping to be able to use Sharing to avoid having all those rules and I agree the variances in the list orders makes it unworkable … again I was hoping Current Selection might overcome that. as a solution how about an option to freeze the order of the selection in alphabetical order?Dallas wrote: ↑Thu Sep 17, 2020 4:11 pmSo for what you want you'll need a rule for each ie,
Win market
SV for row 1 on the event
Place market
SV for row 1 on the event
Before you do though it can get complicated with Win and Place markets in that the row order and certainly the fav order don't always match so there's no easy way of comparing the same runner from each market. We have been looking at ways to simplify this, ie, store the name of a selection on an event which can then be looked up/ tested against the same name in another market.
I can achieve what I want using Excel and the vlookup() function, I just thought to keep it all within Guardian would be tidier. Oh well, carry on and wait to see what the future brings. Again, thanks for your input.
When storing a value on a selection/market the 'shared' option allows it to be passed to other rules, servants, one-click, ladder etc for that market.firlandsfarm wrote: ↑Thu Sep 17, 2020 5:46 pmThanks for picking this one up Dallas.
Yes that's what I was finding so what does the "Share" option do when used with the Current Selection, Nominated Selection or Market options?
- firlandsfarm
- Posts: 2720
- Joined: Sat May 03, 2014 8:20 am
Ahhh, OK, didn't realise the difference. So for Current Selection, Nominated Selection and Market it is only shared within that Market but for Event it is shared around other markets for the same Event. Got it, thanks.