Author Topic: greenup unequal profit variation help  (Read 5716 times)

Tags:
  • All members
  • Posts: 829
greenup unequal profit variation help
« on: 08 Jan 2014, 09:47 »
hi,
I'd like to design a single trigger that will green up with an unequal profit that will service both a back and lay trigger.
If possible to include the following.
greenup with bias towards the favourite.
example:
Murray  1.80  1.81
Nadal    2.40  2.42
Back trigger places a bet on Nadal at 2.40
attempt to green up for a one tick profit using the constants
pr_profit1     Profit of the selection to bet on, in %   for the first favourite    80%
pr_profit2     Profit of the selection to bet on, in %   for all other favourite's 20%
Is it possible for one trigger to do that? or do I need one trigger for each player ?
I'm just trying to make triggers run more efficiently.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: greenup unequal profit variation help
« Reply #1 on: 08 Jan 2014, 20:21 »
hi
this trigger will do what you require
in the constants you can set
bet amount
Amount of profit for the selection       %
Minimum offset in price ticks

one trigger
the example trigger will place a bet on the second fav and place a lay bet ready to be matched at your set tick amount

please use test mode until you are happy with your results

mcbee

download the trigger below
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: 829
Re: greenup unequal profit variation help
« Reply #2 on: 09 Jan 2014, 00:15 »
Thanks mcbee,
I'll test it out and come back to you in a few days
having visitors over and busy for the rest of this week.
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: greenup unequal profit variation help
« Reply #3 on: 12 Jan 2014, 23:50 »
Hi mcbee,
I have to take a little longer to test this trigger as had family commitments this past week, but expected to be back on deck from Monday onwards.
Cheers
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: greenup unequal profit variation help
« Reply #4 on: 13 Jan 2014, 06:14 »
Hi mcbee,
Referring to the trigger you sent   greenup unequal.mft
Can I just duplicate it for a second player ?
Plus add another constant 80% for fav ?
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: greenup unequal profit variation help
« Reply #5 on: 13 Jan 2014, 07:22 »
hi
all you have to do is change the selections to All matching selections, then add the condition
and selections rank is equal or less than 2
for the first 2 favourites.
or add the conditions to select different selections


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: 829
Re: greenup unequal profit variation help
« Reply #6 on: 14 Jan 2014, 00:44 »
Hi mcbee,
I think you meant.   and selections rank is equal or less than 3
So how can I green up with unequal profit on two selections
with say 80% going on the fav and 20% on others. Do I need
2 greenup triggers ?
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: greenup unequal profit variation help
« Reply #7 on: 14 Jan 2014, 07:08 »
hi
Quote
I think you meant.   and selections rank is equal or less than 3
fo 2 favourites it is equal or less than 2
here is a trigger that will give a higher percentage to the favourite.
due to there been 2 seperate greenups, you will have to play about with the percent values to get exactly what you want.
in the constants you can set
Bet amount
Amount of profit for the favourite
Minimum offset in price ticks
Amount of profit for the second favourite   

please use test mode until you are happy with your settings

mcbee

download the trigger below
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: 829
Re: greenup unequal profit variation help
« Reply #8 on: 16 Jan 2014, 01:16 »
Hi mcbee,

Testing the trigger on tennis and playing around with the percentages re unequal profit,
however the result is generally opposite having set as follows: I set 80% for pl1 and 20% for pl2  could it be the variance in price between the two favourites ? The other problem could be betting on two favourites !!

I'd like to change the back amount to balance up the bets a little and proffer the following solution if you could check it and modify where necessary.

" IF(r_ticks(back_price-1, mot)*5>5,5/r_ticks(back_price-1, mot),default_backa) "

The idea is to show max profit of $5.00
Thanks if you could guide me once again
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: greenup unequal profit variation help
« Reply #9 on: 16 Jan 2014, 12:03 »
Hi mcbee,

I am having a problem with this formula you supplied:
errors appear in the logs

"11:52:40   Error in the trigger expression of price or amount for selection "Marin Cilic". "

here are the settings:

lay  Price     r_ticks(bm_backp,-mot)

(bm_backa*(1 + ((100-pl)/pl)*bm_backp - ((100-pl)/pl)))/(1 + ((100-pl)/pl)*r_ticks(bm_backp,-mot) - ((100-pl)/pl))

where 'pl' is set to 80 and 'mot' is set to 1 in constants

If you can help, greatly appreciated as always.
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: greenup unequal profit variation help
« Reply #10 on: 16 Jan 2014, 13:18 »
hi
i have just tried it again and no problems.
what have you got your update list of bets set at, in the betting options.

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: 829
Re: greenup unequal profit variation help
« Reply #11 on: 16 Jan 2014, 17:37 »
Hi mcbee,

To answer your question:
The update list of bets is set to 3 secs and the update bets individual is not ticked.

I have been trying to put the formula you supplied in a new trigger, but somehow I can't get it to green up. I still get the log errors re bet amount or trigger expression.

can you please check attached to see where I'm going wrong.
many thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: greenup unequal profit variation help
« Reply #12 on: 20 Jan 2014, 17:06 »
hi
looking at your triggers.
it could be your lay trigger has no selection to bet on.
you need to tell the trigger which selection that you want to use the bm_backp and bm_backa, or else the trigger will try to bet on a selection with no bet placed and will return an error in the amount/price.
add the condition to the lay trigger
and selections back matched is greater than 0


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: 829
Re: greenup unequal profit variation help
« Reply #13 on: 20 Jan 2014, 17:29 »
Thanks mcbee,
Problem now solved
Cheers
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE