Hi,
I am using a locator to give me matches from Match Odds, OU0.5/1.5/2.5
I create a text file to give me these - simple enough.
I am looking to place a bet on one of the O/U once a certain price has been reached, simple enough
BUT,
I have some criteria, and I want to delete every market I have loaded for that team, based on that criteria...
First off, at the start of the second half, volume on Match Odds needs to exceed 1000, and for O/U 2.5 needs to exceed 500 - I can get these values through a trigger, no problem. BUT, if either of these criteria are not met, I want to delete all 4 of these markets. I don't know how to do that?
Next, if the above is satisfied, I check that the 02.5 has a price equal or lower than 2.0, if not, delete all 4 markets
Next, if the match odds market price on either home or away does not fall between 1.8 and 2.2, delete all 4 markets. I understand how to check the score values, no problem, but deleting all 4 markets is what is confusing me.
My real interest is placing a bet on another goal being scored. So, if the score at half time is 0-1, I place a bet on Over 1.5, (index 2), ONLY once it reaches a set price point. If the score is 1-1, I place a bet on Over 2.5. There is only 1 bet per match, and so, whatever O/U bet is placed, no further bets are placed on that match and the other 3 markets are deleted. I just don't know how to do this.
The criteria I think are selection based, so if it's 0-0, then the market I am interested in is
.5, and if I place my bet on this
.5 market, how do I reference the other 3 markets and delete them?
Is there the availability of referencing another market to say delete this other market if my bet is placed on
.5?
Potentially, I can simply delete the Match Odds market, once the volume and price values are satisfied, so this leaves me confused about the 2 remaining O/U markets. Further, if the score is 1-1, the O/U markets for 0.5 and 1.5 will not be available to me, but if its 0-0, then I need to be able to delete O/U 1.5 and 2.5, and if the score is 1-0, I need to delete O/U2.5
Thanks
Mark.