simple stock emulate