added symbol lookup and some buy/sell logic