Generating graphs that look like stock charts
observablehq.com
observablehq.com
Functions to generate normally distributed variates exist in many languages. Why not use them instead of using uniform variates? For even greater realism, generate Student-t variates with say 5 degrees of freedom to account for fat tails in the return distribution.