buy/sell framework