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

updateBet

updateBet(ref:String, oldOdds:Double, oldStake:Double, newOdds:Double, newStake:Double,exchangeId as Integer)

Update stake or odds of a bet (both cannot be updated at the same time).
exchangeId is optional, if not provided it will default to 1 for UK exchange, specify 2 for Australian exchange.
Returns UpdateBetResult object.




See also