implements stock trade module, removes some console log stuff. fixes something I missed