Market simulator for R