Author Topic: Help with drawing a bet  (Read 2521 times)

Tags:
  • All members
  • Posts: 7
Help with drawing a bet
« on: 17 Dec 2010, 11:15 »
Hi all,

Can you help me writing a trigger like this sql-code:

'Soccer

'Place a laybet on draw 1 minute before off

(If any selection' Lay Price < 5 and sel_index = 3
 Then
 Place a best lay bet
)

In Play:
'cover the lay bet

(If market_score1 = 0 and market_score2 = 0 and best lay bet <= 2
 then
 place a best back bet)
 
 or
 
 (if market_score1 = 0 and market_score2 =1
  then
  place best back bet)
 )

I cannot find out to create  conditions and blocks

Thanks

 

Please note, BetFair is seems to be currently OFFLINE