Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Tutorial Lesson 4 - Unable to show graph of portfolio cumulative returns

Hi all

Nice to know you all and great to discover Quantopian, this fantastic platform by chance.
I am new to algo trading and python too. So pardon me if I am clueless to basic programming errors.

So here I am trying to learn the Tutorial Lesson 4 code by writing it on a blank Notebook.

While I could basically get almost everything out, the last portion of graph kept showing some Type Error, of which I have no clue where the problem is.
And by cloning the Tutorial 4 notebook, there was no issue. So here I am scratching my head what went wrong.

Could some one advise me please?

Thanks in advance!