update with buying and selling through command line

Signed-off-by: jonnyhsy <jonnyhsy@foxmail.com>