Trigger Help

Please post any questions regarding the program here.

Moderator: 2020vision

Trigger Help

Postby mak » Thu Aug 06, 2009 7:09 pm

I don't know if this is possible & every help or idea is more than welcome

after some calculations I am using this trigger "BACK-TL40-F120" with a CLEAR option

the problem is that at the time the back bet is submitted sometimes the 40 ticks for laying are not available but there are 20 or 10 ticks (even 80!)

Do I need to add somewhere the update trigger in order to match my lay bet? (always IF the back bet is matched already).

thanks in advance
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Re: Trigger Help

Postby doris_day » Fri Aug 07, 2009 9:35 am

mak wrote:
the problem is that at the time the back bet is submitted sometimes the 40 ticks for laying are not available but there are 20 or 10 ticks (even 80!)



Can you clarify what you mean by this...
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Re: Trigger Help

Postby mak » Fri Aug 07, 2009 10:17 am

Can you clarify what you mean by this...[/quote]

Hi,
I mean that at the time the back bet is submited (right after the market turns in play after suspension the market isn't "clear" yet so the odds may differ a lot at the first 2 minutes.

So what I need is to "find" (I would prefer without a macro") what are the best odds for my lay trigger.

Always if the Back bet is matched
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Re: Trigger Help

Postby doris_day » Fri Aug 07, 2009 10:40 am

mak wrote:So what I need is to "find" (I would prefer without a macro") what are the best odds for my lay trigger.



Well this surely depends on the strategy you're using. If in the long term you will maximise your return by a 40 tick offset or a 10% offset then that is what you should use. The fact that the market hasn't reached (or is beyond) your target offset price is neither here nor there. If the market hasn't reached your price then you have to hope that it will and/or build in a sliding stop (if that is needed by your strategy) and if its beyond your target price then you will gain the extra value automatically.
If on the other hand your strategy is dependent on the size of the spread between the Back and the Lay prices then this would need to be added to your code but is quite trivial to do, depending on what rules you have.
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby mak » Fri Aug 07, 2009 11:31 am

Doris
first let me thank you for your time

I think what I need is somehow simple (besides it is for test proposes now)

I want my lay bet to get matched (at whatever best lower odds are available

I am asking about the trigger ("BACK-TL40-F120") & especially the UPDATED one (I have to clarify that I use BA only for a month)

for example if I have this trigger "BACK-TL40-UPDATE-F120" will it update only my lay odds & stake or should I use UPDATESTAKE or nothing will happen each way so I am totally wrong about this and should try it from a different angle....
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby doris_day » Fri Aug 07, 2009 12:34 pm

TL40 will Lay at 40 ticks lower than that matched with your BACK command and at a stake which will give you the same profit if the selection wins or loses, assuming you get matched. PL40 would create a Lay at a price 40% lower, rather than 40 ticks. If you simply want to get matched at the best price possible, I'd suggest you look at the data to see if this is a winning proposition as I doubt it will be.
I'm not certain if you quite understand the commands available correctly. That or I don't understand your strategy.
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby mak » Fri Aug 07, 2009 1:03 pm

doris_day wrote:TL40 will Lay at 40 ticks lower than that matched with your BACK command and at a stake which will give you the same profit if the selection wins or loses, assuming you get matched. PL40 would create a Lay at a price 40% lower, rather than 40 ticks. If you simply want to get matched at the best price possible, I'd suggest you look at the data to see if this is a winning proposition as I doubt it will be.
I'm not certain if you quite understand the commands available correctly. That or I don't understand your strategy.


I think I understand correct most of the triggers (except UPDATE) so let me say it in another way

1.Say for example that I BACK 1€ at 300 odds & get matched then when the market settles down my selection is backed at 80 odds and it is layed at 90
How to determine my lay bet & if yes in what way?

2."BACK-TL40-UPDATE-F120"

UPDATE trigger
" Update odds of unmatched bet.
If the odds column is different to the current odds of the unmatched bet then the bet will be updated and the bet reference will be replaced.
When using this trigger there is an option to have N appended to the new bet ref which you set prior to logging to Excel.


If I use this trigger will it update my LAY bet?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby doris_day » Fri Aug 07, 2009 1:40 pm

1.Say for example that I BACK 1€ at 300 odds & get matched then when the market settles down my selection is backed at 80 odds and it is layed at 90
How to determine my lay bet & if yes in what way?




Well, you need to determine what price you're willing to trade out at. If you want to trade out at a given number of ticks or a given percentage. You have to decide that, before you code your algorithm. For instance, in this case if you'd used PL50, you would have offered a lay at 101.0 and if the 90.0 was in the market before you, you would have traded out at 90.0 but if you came in before the 90.0, you would have been matched at 101.0.

An alternative would be to trade out manually using the 'Level or AltLevel Profit' columns.
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby doris_day » Fri Aug 07, 2009 1:43 pm

I dont think the UPDATE will affect the offset bet because in your case you've asked to trade out at 40 ticks lower than your 300.0 and this will stay as is, as far as I'm aware...
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby mak » Fri Aug 07, 2009 1:54 pm

Thanks doris
I normally do this manually & would like to automate it :D

Any ideas form anyone?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby doris_day » Fri Aug 07, 2009 2:16 pm

You're asking an impossible question without stating what sort of profit you want to lock in after your bet is matched.
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby mak » Fri Aug 07, 2009 2:41 pm

doris_day wrote:You're asking an impossible question without stating what sort of profit you want to lock in after your bet is matched.


I don't think is impossible (when I find out I will let you know)

Regarding the profit I don't care as long is a profit !
Just looking for the best possible odds...
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby doris_day » Fri Aug 07, 2009 2:58 pm

Well its impossible if you can't state the criterion required to trade out.

If you don't care what the profit is then simply use TL1...
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby mak » Fri Aug 07, 2009 6:00 pm

Possible solution (I am testing it)

Gary posted this code http://www.gruss-software.co.uk/forum/v ... ight=ticks


There is also the trigger

TFn = Submits a Tick Offset bet where n represents the odds to use for the offset bet.

You can monitor this way the available odds & request some ticks plus

So the trigger goes BACK-AB5-F60
In cell aa5 i have the formula plusTicks(f5;3)
In cell AB5 i have the following concatenate formula ="BACK-TF"&AA5&"-F60"

bets are submitted & canceled (haven't got anyone matched yet) & my only question (probably Gary can answer this) BA reads every trigger order once by time?
Meaning that the odds are always changing so when BA reads the -AB5-?

Gary?
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby GaryRussell » Sat Aug 08, 2009 7:46 am

Yes, it will always read the odds from cell AB5 first.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 49 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.