Re-enabled buy and sell functions