add support to cancel a buy

https://github.com/chenpc/bandon/issues/3