Author Topic: test mode- why are bets matched more slowly in test mode than in real mode  (Read 9883 times)

Tags:
  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
i am not sure that you are correct, as betfair will always give you the best price available.
i used to place fixed lay bets of 1.44 odds, very early in the morning, but many were matched well below my odds, because if the odds jump (as they do) from 1.55 to 1.33 then you will be matched at 1.33 not 1.44.
now this was before inplay, when inplay the odds jump even more, because of panic bettors.

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: 15
The penny has dropped.

We're going backwards and forwards because Test Mode doesn't distinguish between:
 
                 the existing bets (bets placed prior to a test bet being made)

                and new bets       (bets placed after a test bet is made)

Distinguishing between the two will solve 99.7% of Test Modes' problems.


A time reference should do the trick.

e.g.                 bu_laytime & bu_backtime

i.e.

MAXV(last_traded,back_price) >= bu_backp = bet matched @
IF((now_time-bu_backtime)/0.00001157<3,MAXV(last_traded,back_price),bu_backp)

MINV(last_traded,lay_price) <= bu_layp = bet matched @
IF((now_time-bu_laytime)/0.00001157<3,MINV(last_traded,lay_price),bu_layp)

(Don't be scared the above formulas are pretty simple)

In English,

if a test bet is less than 3 seconds old (a new bet)then it is matched to existing bets
and the matching price will be last_traded,back price or lay price.

once a test bet is older than 3 seconds (an old bet) it is matched to new bets
and the matching price will be bu_backp or bu_layp


So the above formulas or something similar should resolve nearly all problems
with Test Mode.

Tim(WellDoneSoft support) could you please ensure that the programmer
 responsible for Test Mode gets a copy of this message please.

 Then hopefully we'll get a patch for Test Mode relatively quickly.


regards

Apples999

N.B the 3 seconds is an arbitrary value feel free to bench test other values.

  • All members
  • Posts: 15
5 months now

Welldonesoft,
 How much longer before we have a fix?




Happy punting

Apples999



 

Please note, BetFair is seems to be currently OFFLINE