buy and sell transactions