-1
I am new to python and I am trying to define a formula to determine price paths for a stock using GBM. The problem is that when i hard code the inputs the loop is running fine.However, when I use the same code as a part of formula it's not looping beyond row-2. Please help:
def gbm (S,r,sigma,T,...