Add handler to open and close a buyOrder