Refactors buy/exchange