buy, sell via command-line