Author Topic: Odds Range Trigger  (Read 8626 times)

Tags:
  • All members
  • Posts: 16
Odds Range Trigger
« on: 12 Jul 2011, 01:07 »
Hi,

I need a little help with a trigger. I want to import my own selections from an excelsheet or text file into marketfeeder. I know how to do that.
These selections shall be layed at the best price available 1 minute before the OFF. But I want to be able to define the odds range.
I.e. the selection shall only be layed when odds are > 3.5 and < 6.
I have 4 different odds ranges for my selections.

In some races I have more than one selection but only one of them should be layed.
It should be the selection with the best possible odds in that odds range.

I have problems to define that trigger.
Can anyone help me with this problem?

Thanks.

Fizz

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Odds Range Trigger
« Reply #1 on: 12 Jul 2011, 06:55 »
hi
in your betting trigger, use OR block conditions.
so conditions
block set to or with conditions
and selections lay price is between 3.5 and 6.0
block set to or with conditions
and selections lay price is between 7.0 and 11.0
etc, etc

set the trigger to once per market, this will place 1 bet on the selection that meets the first best condition
if you have a different betting amount per odds range, then in the amount box you put , IF(AND(lay_price>=3.5,lay_price<=6),2,IF(AND(lay_price>=7,lay_price<=11),1,.50))
this will place a bet on 3.5 to 6 , 2€
7.0 to 11 , 1€
any other .50€
so just add the odds range to the IF(AND(


mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 16
Re: Odds Range Trigger
« Reply #2 on: 12 Jul 2011, 23:24 »
Hi again,

I'm trying hard to understand. I'm a complete newbie to this.
Can you please have a look at this?

Repeat: just once

Action: lay
Price:
Amount: default_laya
At In-Play: Cancel
Markets: All Markets
Selections: All matching selections

Market Status: All markets
Trigger Name: LAY1
Execute: once per market

Conditions: are met
Selection's Lay Price is between 3.5 and 6


But what do I enter in the box "Price"? "best"?


And I still have another question: can I have 2 or more triggers
for one market?
Example:
I import a text file with selections I want to be layed at odds of 3.5 to 6.
But only the selection with the best price should be layed.
I make a trigger for this and call it trigger "LAY1".

And than I import a text file with selections I want to be layed at odds of 5 to 9.
And here again the selection with the best price should be layed.
I make a trigger for this and call it trigger "LAY2".

And than I import a text file with selections I want to be backed at odds > 3.
I make a trigger for this and call it trigger "BACK1".

What if there is a race that has three of the selections but all with different triggers?
Are all of them executed?



Fizz.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Odds Range Trigger
« Reply #3 on: 13 Jul 2011, 07:05 »
hi
i will answer your last questions for now.
you can only import one lot of selections.
if you want to use different selections per trigger, then you will have to save these in the note pad and name them say trigg1, trigg2 etc.
then you have the trigger condition
and selections name is in list (the name and location of your list)
to stop mulitiple bets on one selection.
and trigger expression bm_laynum is equal to 0
so 1 bet per selection.

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 16
Re: Odds Range Trigger
« Reply #4 on: 13 Jul 2011, 18:04 »
Hi McBee,

thank you very much for your help...you can believe me that I really try to understand. At the moment I'm working myself through the manual.

Maybe one last little question?

I want the odds of the selection not more than 4 points ahead of the second favourite and I added:

And Second's Favorite's Lay Price is equal or less than lay_amount+4

Is this correct?

Fizz

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Odds Range Trigger
« Reply #5 on: 13 Jul 2011, 18:20 »
hi
i am not sure what you meen by 4 points.
a point is usualy money.
do you meen 4 ticks greater than the 2nd fav lay price.
if it is 4 ticks then.
and second favourites lay price is equal or less than r_ticks(lay_price,-4)
so if the 3rd fav is 4.00 and the 2nd fav is 1.01 to 3.80, then place the bet


mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 16
Re: Odds Range Trigger
« Reply #6 on: 13 Jul 2011, 19:14 »
Hi,

sorry, I meant the odds for the lay price.

I just see that my example I've given is wrong:

And Second's Favorite's Lay Price is equal or less than lay_amount+4

"lay_amount" is money, right?

I meant:

Selection has odds of 4.4
2nd Favourite has odds of 8.8
=> No Bet

Selection has odds of 4.4
2nd Favourite has odds of 8.2
=> Bet

=> And Second's Favorite's Lay Price is equal or less than lay_price+4

So this must be correct, or?

Jake



  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Odds Range Trigger
« Reply #7 on: 13 Jul 2011, 19:58 »
hi
yes.
if the 2nd fav lay price is 5.00 then your selection will have to be 9.00 plus to place a bet.
you will learn quicker by down loading some triggers from the Trigger Examples, then work out how and why they work.

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 16
Re: Odds Range Trigger
« Reply #8 on: 13 Jul 2011, 20:20 »
I don't see why this shouldn't be right...

My selection has a lay price of 5.
I want my bet to be placed if the lay price for the second favourite is < 9

And second favorite's lay price is equal or less than lay_price+4

In the manual is stated that "lay_amount" is the BEST lay amount.
Therefore it's 5.
I add 4 to that 5 = 9.

If the lay price for the 2nd favourite is < 9 my bet should be placed.
If the 2nd's favourite lay price is > 9 my selection should not be layed.

...maybe I have a knot in my head.

Yes, I already downloaded some triggers and had a look at them.

But at the moment I have another problem. I made the trigger with "once per market" but MF bets on two selections...how can this be?

Please, can you have a look McBee? What is wrong?

lay
best
2
cancel

Win Markets
All matching selections
Not In-Play
LAW

once per market

any selection´s name is in list ...
AND
trigger expression bm_laynum is equal to 0
AND
second favourite´s lay price is equal or less than lay_price+4
AND
minutes before the off is equal or less than 1.2
AND
market's number of selections is equal or greater than 8
AND
selection's lay price is between 4 and 9

Thanks,

Fizz.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Odds Range Trigger
« Reply #9 on: 13 Jul 2011, 20:38 »
hi
it is difficult to know where the problem is, because sometimes we write different to what is actualy in the trigger.
include your trigger or email to me  [email protected]
then i can test the trigger.
if you want to do it yourself.
then in trigger options (settings at the top right of the bot screen)
tick log info about triggers
then whilst monitoring the market
press the info line at the bottom of the bot screen
then press the triggers that have 0 next to them
this will give you the info as to why it has not activated

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 16
Re: Odds Range Trigger
« Reply #10 on: 13 Jul 2011, 21:31 »
Thanks.

I already had a look at the log file but I can't find the fault.
I tested it again and this time it wasn't executed at all.
Something must be wrong with it.
I will send you the trigger...

I just understand what you meant with this:
"if the 2nd fav lay price is 5.00 then your selection will have to be 9.00 plus to place a bet."

I misinterpreted "lay_price" / best lay price offered.

Thanks,

Fizz.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Odds Range Trigger
« Reply #11 on: 13 Jul 2011, 22:02 »
hi
i re- read your post
you are betting on the fav if the second fav is x odds greater.
do you have a condition of x days last ran.


mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE