Condition = no bet if existing unmatched bet at same odds
- firlandsfarm
- Posts: 2722
- Joined: Sat May 03, 2014 8:20 am
I'm trying to think of a rule that will allow a back bet to be placed only if there are no unmatched back bets on the selection at the same odds (there will be other conditions but this is the one that has me stumped!).
-
- Posts: 113
- Joined: Sat May 21, 2016 1:43 pm
Download the new version (v1.50) of BA and use the new stored variables feature.
- firlandsfarm
- Posts: 2722
- Joined: Sat May 03, 2014 8:20 am
Thanks Shakespeare, I must admit I haven't yet looked at Stored Values so I'll have a look but I just want to clarify what I'm wanting to do ...
If other Conditions are met I want to place a Back bet on a selection at reverse MP, let's say that is at odds of 3.00
The next time the 'other conditions' are met I want to place another Back bet but only if there is no unmatched bet at the then current reverse MP. So if the reverse MP is then 2.95 a bet is placed, if the reverse MP is 3.00 then it is only placed if the first bet is matched. And so it will continue ... for the third bet if the reverse MP at the time is 3.00 or 2.95 then the third bet will only be placed if there is no unmatched bet at 3.00 or 2.95 but if any other odds the bet would be placed. So I need to monitor the odds requested for any unmatched bets. Or, to put it another way ... if I set a value to flag that a bet has been placed at certain odds I need to be able to cancel the flag when the bet is matched so only unmatched bets/odds are flagged at any time. I can't see there is such a facility but as i said I haven't looked at SV's so will have a look.
I am also wondering if a Servant can be used, again I haven't looked at Servants! (I'm an 'if it works keep using it and don't invent a new one' kinda guy! ). Maybe it's time to expand my horizons.
If other Conditions are met I want to place a Back bet on a selection at reverse MP, let's say that is at odds of 3.00
The next time the 'other conditions' are met I want to place another Back bet but only if there is no unmatched bet at the then current reverse MP. So if the reverse MP is then 2.95 a bet is placed, if the reverse MP is 3.00 then it is only placed if the first bet is matched. And so it will continue ... for the third bet if the reverse MP at the time is 3.00 or 2.95 then the third bet will only be placed if there is no unmatched bet at 3.00 or 2.95 but if any other odds the bet would be placed. So I need to monitor the odds requested for any unmatched bets. Or, to put it another way ... if I set a value to flag that a bet has been placed at certain odds I need to be able to cancel the flag when the bet is matched so only unmatched bets/odds are flagged at any time. I can't see there is such a facility but as i said I haven't looked at SV's so will have a look.
I am also wondering if a Servant can be used, again I haven't looked at Servants! (I'm an 'if it works keep using it and don't invent a new one' kinda guy! ). Maybe it's time to expand my horizons.
- firlandsfarm
- Posts: 2722
- Joined: Sat May 03, 2014 8:20 am
I've had a look at Stored Values but i can't see it, maybe I've a blind spot! I have to nominate a name for value so I would need a name for every odd value (assuming a Stored Value can only be a single value and not an array) so my first blank is how do I associate the creation of the Stored Value to the Odd. In the example above I would need stored values of say "Odd3.00" and "Odd2.95" and I can set them to value "1" when the bet is placed but then how do I clear them (or reset to value "0") when the bet is matched?
How about a table in the Excel worksheet for the race ... am I able to create a single row (or column) table of the unmatched bets odds for a runner and then use Iserror(*Lookup()) functions to check if the current value exists?
How about a table in the Excel worksheet for the race ... am I able to create a single row (or column) table of the unmatched bets odds for a runner and then use Iserror(*Lookup()) functions to check if the current value exists?
-
- Posts: 113
- Joined: Sat May 21, 2016 1:43 pm
I haven't used stored values yet but I think you're missing the point of them. You don't define a different stored value for every odd - that's what signals are for if you wanted to do that. What you do is to define a stored value called Alan (or whatever name you like) and then set Alan to be the value of the back odds or whatever other value you want to store.firlandsfarm wrote: ↑Fri May 04, 2018 3:47 amI've had a look at Stored Values but i can't see it, maybe I've a blind spot! I have to nominate a name for value so I would need a name for every odd value (assuming a Stored Value can only be a single value and not an array) so my first blank is how do I associate the creation of the Stored Value to the Odd. In the example above I would need stored values of say "Odd3.00" and "Odd2.95" and I can set them to value "1" when the bet is placed but then how do I clear them (or reset to value "0") when the bet is matched?
- firlandsfarm
- Posts: 2722
- Joined: Sat May 03, 2014 8:20 am
Shakespeare, thank you for your ongoing input but I think you are missing the point of my request. I think I do understand the principle of Stored Values. But if I don't have an SV for each bet/odd how do I indicate that a bet has been placed for that runner at that odd? Taking your point that to flag I have placed a bet on Dobbin at 3.00 I would set the SV 'Alan'=3.00 and if I then subsequently place another bet on Dobbin at 2.95 I can't reassign the value of Alan to 2.95 until I know that the bet at 3.00 has been matched so I assign an SV, Peter, the value 2.95 and so on ad infinitum for Paul, Matthew, Mark, Luke and John and beyond! Maybe I am having a blind spot but as the events are mutually exclusive I believe I will need a flag for each event i.e. each Runner/odd combination. Remember I'm looking for a flag to be set that a bet is placed on a specific runner at a specific odd, for that flag to remain active while the bet is unmatched and for the flag to be cancelled when the bet is matched (to indicate that event is concluded).shakespeare wrote: ↑Fri May 04, 2018 3:00 pmI haven't used stored values yet but I think you're missing the point of them. You don't define a different stored value for every odd - that's what signals are for if you wanted to do that. What you do is to define a stored value called Alan (or whatever name you like) and then set Alan to be the value of the back odds or whatever other value you want to store.
I can probably set the flags when the bets are placed using one facility or another but how do I then cancel the flag when the bet is matched? (This is the real crux of my question, if I can't relate the matching of the bet to whichever flag I use then I cannot achieve my aim.)
Bet Angel can show you your unmatched bets in the Ladder, on the One Click screen etc. but frustratingly you can't get hold of that info and use it in your Rules/Formulae.
Thanks Dallas but how do you actually store the value of the odds you placed the bet at?
I cannot find anywhere to do this.
I've read all of that and looked in Guardian, all I can do is store the Servant Context Price, but my bet is being placed with automation only, so how can I store the odds it was placed at using automation only?
I cannot find anywhere to do this.
I've read all of that and looked in Guardian, all I can do is store the Servant Context Price, but my bet is being placed with automation only, so how can I store the odds it was placed at using automation only?
Go on to the stored value tab of your back and/or lay rule/ssimonv74 wrote: ↑Fri May 11, 2018 1:49 pmThanks Dallas but how do you actually store the value of the odds you placed the bet at?
I cannot find anywhere to do this.
I've read all of that and looked in Guardian, all I can do is store the Servant Context Price, but my bet is being placed with automation only, so how can I store the odds it was placed at using automation only?
Store a value
named (call it anything you want)
For current selection
With back (or lay) price of a selection
I understand that but if I'm placing an order away from the current back or lay price then it's going to record the wrong price, is it not?
This is what I mean:
11/05/2018 14:49:18: [G_Auto] : Store Value: Backed = 17
11/05/2018 14:49:18: [G_Auto] : £ 12.12 Back bet placed on Grand Inquisitor at 17.5.
This is what I mean:
11/05/2018 14:49:18: [G_Auto] : Store Value: Backed = 17
11/05/2018 14:49:18: [G_Auto] : £ 12.12 Back bet placed on Grand Inquisitor at 17.5.
If your placing bets outside the current price just use the adjustment option a little further down to add or subtract the number of ticks away from the price your rule is placing the bet at
Hello Simon and Dallas,
I have the exact requirement simonv74 has where I want to place a back bet but do not want it to trigger a second time until the first back bet has been completely matched.
I have just downloaded version 1.50.1 of Bet angel so I now have the stored values tab at my disposal.
My question is, if I do as Dallas has said and place a stored value that is plus or minus a certain number of ticks from the current back price, and after this the market shifts price, will the stored value move up or down with the market, or will it remain at the odd it was initially set at when you entered the stored value into the automation rule?
Thank you, I am really intrigued and would love to get this feature working...
Justin
I have the exact requirement simonv74 has where I want to place a back bet but do not want it to trigger a second time until the first back bet has been completely matched.
I have just downloaded version 1.50.1 of Bet angel so I now have the stored values tab at my disposal.
My question is, if I do as Dallas has said and place a stored value that is plus or minus a certain number of ticks from the current back price, and after this the market shifts price, will the stored value move up or down with the market, or will it remain at the odd it was initially set at when you entered the stored value into the automation rule?
Thank you, I am really intrigued and would love to get this feature working...
Justin