Pending Over-ride

Please post any questions regarding the program here.

Moderator: 2020vision

Pending Over-ride

Postby Spike » Tue May 26, 2009 5:15 pm

Is there any way fire more bets whilst earlier bets are still showing "PENDING" (in excel)?

I'd like to make a really psychotic rapid fire IR bot that doesn't care whether bets are already waiting, I tried just clearing "PENDING" from the bet ref cell as soon as it appears and firing another bet but that doesn't seem to work- the bets are still held up.

If this is not possible via excel is it possible via the COM?
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby GaryRussell » Tue May 26, 2009 5:35 pm

It waits for the bet result before allowing another Excel refresh so you won't be able to trigger another bet until after the 1 second delay. The COM function also waits for the result unfortunately. I could add a COM function to place a bet without waiting. Please leave it with me.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Spike » Tue May 26, 2009 6:00 pm

Great thanks Gary. It'll take me a little while to learn how to use the COM so there's no great rush.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby Spike » Wed Jun 23, 2010 10:28 pm

Hi Gary,

I know your busy at the moment but is there any chance you could have a look at this some time? I'm making an effort to rationalise my setup a bit and having the ability to get refreshes and fire new bets in whilst others are pending would allow me to combine a whole bunch of bots onto one sheet.

Via the COM would be just the ticket. I imagine being able to put more triggers into the same row whilst others are still pending in adjacent cells (hope that makes sense)- either that or some other way. I'm not all that bothered about getting a bet ref so if that's a necessary sacrifice that's fine.

Thanks,

Michael
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby greenfingers » Thu Jun 24, 2010 7:19 am

The version 66x beta allows you to open the same market in several tabs without incurring any more requests to betfair. You can then link each of the tabs to seperate sheets and trigger bets with differing criteria on the same horse(s) simultaneously. 8)
User avatar
greenfingers
 
Posts: 214
Joined: Mon Mar 23, 2009 3:10 pm

Postby Spike » Thu Jun 24, 2010 8:26 am

I know that, but I'd still rather use one sheet 5 times a second than have to set up and run 5 instances of excel.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby GaryRussell » Thu Jun 24, 2010 9:31 am

Spike wrote:Hi Gary,

I know your busy at the moment but is there any chance you could have a look at this some time? I'm making an effort to rationalise my setup a bit and having the ability to get refreshes and fire new bets in whilst others are pending would allow me to combine a whole bunch of bots onto one sheet.

Via the COM would be just the ticket. I imagine being able to put more triggers into the same row whilst others are still pending in adjacent cells (hope that makes sense)- either that or some other way. I'm not all that bothered about getting a bet ref so if that's a necessary sacrifice that's fine.

Thanks,

Michael


Since you're not bothered about getting the result I've made a quick amendment. The COM function placeBet has a new parameter: waitForResult. The parameter is optional, if it's not supplied then it waits for a result by default. To place a bet without waiting for a response use something like the following.
Code: Select all
placeBet(0, "B", 500, 2, False)

It's included in the latest Beta which is not officially released yet. See http://www.gruss-software.co.uk/forum/v ... php?t=4992
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Spike » Thu Jun 24, 2010 9:38 am

Fantastic!

Just the job, thanks Gary.

Michael
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby Spike » Thu Jun 24, 2010 11:03 pm

Sorry to keep bothering you Gary but just another thought (then I promise to leave you alone for a while)- would it be complicated to add a non-COM excel trigger modifier to do the same thing? I mean like "LAY-NR" or something like that. If it would be a bind then forget it, but if it would be easy to implement it I'd really appreciate that too.

New site looks great by the way.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby Spike » Thu Jun 24, 2010 11:19 pm

Actually maybe "LAY-DW" would be better, I was thinking "No Result" but I've just realised that it looks like "Non Runner", DW would be "Don't Wait". Not that it matters, anything would do.
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby GaryRussell » Fri Jun 25, 2010 6:45 am

I'm afraid it isn't that easy to implement. It's not impossible though so I will consider it as a suggestion for a future release.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Spike » Fri Jun 25, 2010 7:53 am

No problem, I was just being lazy and wondering if I could avoid shifting some things onto COM sheets.

Thanks again,

Michael
Spike
 
Posts: 223
Joined: Tue Feb 24, 2009 8:42 pm

Postby keesbart » Fri Jun 25, 2010 9:49 am

Hi Gary,

Do I understand correctly that during pending of a bet the system comes to a halt (stops data transfer from and to Betfair?) and that processing resumes after 1 second or untill the program receives a trigger from Betfair that the bet is accepted for matching?

If Excel is firing, let's say, 5 bets at the same time, how are this bets processed and in which order?

Sometimes I fire 2 or 3 bets (In Play) in the Place Market. I noticed that in most of these cases only the first bet fired, is matched.
Yesterday the response times of the bets were between 1234 and 1594.
Is this the "Pending" time?
The transaction log of yesterday showed that I fired in 1 race to bets:
- 15:22:02 (response time 1250)
- 15:22:09 (response time 1266)
Can you tell me how I have to interpret this numbers?

The new Forum program looks great.
keesbart
 
Posts: 153
Joined: Tue Mar 23, 2010 1:06 pm

Postby GaryRussell » Fri Jun 25, 2010 11:20 am

Do I understand correctly that during pending of a bet the system comes to a halt (stops data transfer from and to Betfair?) and that processing resumes after 1 second or untill the program receives a trigger from Betfair that the bet is accepted for matching?

This is not strictly true. It is only Excel updating that is halted. Price refreshes will still happen, but will not be updated in Excel.

If Excel is firing, let's say, 5 bets at the same time, how are this bets processed and in which order?

If they are triggered on the same refresh then they are all placed at exactly the same time in one request to Betfair.

Sometimes I fire 2 or 3 bets (In Play) in the Place Market. I noticed that in most of these cases only the first bet fired, is matched.
Yesterday the response times of the bets were between 1234 and 1594.
Is this the "Pending" time?

Yes, it's the pending time.

The transaction log of yesterday showed that I fired in 1 race to bets:
- 15:22:02 (response time 1250)
- 15:22:09 (response time 1266)
Can you tell me how I have to interpret this numbers?

They are the response times. ie. the bet request was sent to Betfair and a response was received 1250 milliseconds later. 1000 milliseconds of the response time is the 1 second delay that Betfair impose.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby keesbart » Fri Jun 25, 2010 6:30 pm

Gary,

Thanks for your quick response.
keesbart
 
Posts: 153
Joined: Tue Mar 23, 2010 1:06 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 42 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.