Don’t wait for the right time, create it.
#bassguitar #bassist #bassplayer
write python to make an image file square by extending one side
write python to make an image file square by extending one side
procmrt.com
procmrt.com
def price_path(Y, steps, mu, sigma, price0):
dY = Y / steps
dW = np.sqrt(dY) * np.random.normal(size=steps)
inc = (mu - 0.5 * sigma**2) * dY + sigma * dW
prices = np.cumprod(np.concatenate([[price0], np.exp(inc)]))
return prices
def price_path(Y, steps, mu, sigma, price0):
dY = Y / steps
dW = np.sqrt(dY) * np.random.normal(size=steps)
inc = (mu - 0.5 * sigma**2) * dY + sigma * dW
prices = np.cumprod(np.concatenate([[price0], np.exp(inc)]))
return prices
stackoverflow.com/questions/85...
stackoverflow.com/questions/85...