Added outline of sell and buy functionality to trader.
Added sell and buy actions to trader update function.