Jan-03-2018, 05:14 AM
I am trying to create a multiple dimension array with predefined index:
Thank you!
Ted
returns = [] for s in context.securities: returns[s] = [] print(returns)but the above code returns
Quote:IndexError: list assignment index out of range
Thank you!
Ted