betfaiR

This function allows bets to be replaced which were placed via placeOrders

Having logged in using the betfair function and placed any number of bets using the placeOrders function, you may wish to cancel some or all of those bets, the cancelOrders method can help.

usage

bf$replaceOrders(...,
                 marketId = NA)

arguments

param details
... specific details about bets to replace, use replace_inst function to target specific bets via their id
marketId the unique id for the market in which bets should be replaced

details

marketId and replace instructions (via replace_inst) are required.