Emulate stock trading