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.
bf$replaceOrders(...,
                 marketId = NA)| param | details | 
|---|---|
| ... | specific details about bets to replace, use replace_instfunction to target specific bets via their id | 
| marketId | the unique id for the market in which bets should be replaced |