broken adding functionality

will fix at home
lies in the buy/sell function at the bottom