I am trying to pass the following to ql.TimeGrid(), but getting an error:
ql.TimeGrid()
ndays = 52 step = ndays length = ndays/252 times = ql.TimeGrid(length,