How to trade binary operations