Author Topic: Delay test bets by how many seconds?  (Read 4540 times)

Tags:
  • All members
  • Posts: 141
Delay test bets by how many seconds?
« on: 02 Jul 2013, 12:22 »
Hi,

I'm testing my triggers in test mode and want to create an environment as close to live as I can.

I have a good internet connection and am delaying test bets by 1.5 seconds but I have no idea how long it would actually take my software and internet connection to place a bet. Is 1.5 seconds average - or is there a way I can find out how long it takes my setup to place a live bet? I don't mind placing a few live small bets to find this information out.

Thanks,

Whitey
Yeah! :p

  • Moderator
  • Posts: 3597
*
Re: Delay test bets by how many seconds?
« Reply #1 on: 02 Jul 2013, 13:40 »
Hi
In Connection Monitor, you can view the statistics for your current bets refresh.
But it will be variable depending on internet connection, country of origin, internet routing path, state of Betfair's servers, time of day (3pm Sat during football season etc.)

You can write a small trigger which will place and cancel bets outside of range e.g lay at 1.01 and cancel, back at 990 and cancel.
Add a second action to the betting trigger to write to action log now_time
and then in the Program Log compare the timestamp for the bet (which indicates if it was matched or not) to the now_time entry.
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: 141
Re: Delay test bets by how many seconds?
« Reply #2 on: 02 Jul 2013, 14:38 »
Hi Mark,

Thanks for your suggestion, I think my bet time is 1 second. This is just with one market refreshing though.

One thing I did notice is that now_time literally shows "now_time" and not the time, is it meant too? Am I meant to be able to use any variable like sel_name, runner_number etc...?

Thanks,

Whitey
Yeah! :p

  • All members
  • Posts: 141
Re: Delay test bets by how many seconds?
« Reply #3 on: 02 Jul 2013, 14:51 »
Sorry Mark...

I should have read the manual before asking you.

"The text to write into the action log. You can include variables and other trigger expressions in square brackets, to distinguish them from plain text. Example:

Last amount won: [last_pl]"

Thanks,

Whitey
Yeah! :p

  • All members
  • Posts: 68
Re: Delay test bets by how many seconds?
« Reply #4 on: 03 Oct 2013, 18:45 »
I missed this one too until I found this post. That's strange since I always read the details.
Life shrinks or expands in proportion to one's courage.

 

Please note, BetFair is seems to be currently OFFLINE