A stock simulator