Home > Betting Assistant Features > COM Interface > ComClass Reference > Functions > layField

layField

layField(odds:Double,stake:Double):String

Lays every selection in the currently displayed market in Betting Assistant.
The function returns the bet refs in a string array.
If the bet placement fails then each bet ref will contain the error message received from Betfair’s server.


Parameters
odds: odds to lay at for each selection
stake: stake to lay at for each selection




See also