Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Help Please Moving Average Robinhood

Hi,

I know this is not very realistic yet. I need help improving it. I am knew to Quantopian so I do not understand python yet. How do I fix the line errors on lines 34 and 35. Also, how would I make this algorithm work with my robinhood account.

3 responses

What errors? It works in my hands and seems to work in yours too, at least to the extent that it generated complete backtest output.

Depreciation warnings on lines 34 and 35. I want to create an algorithm that will trade stocks based on a 5 day moving average and that will also be compatible with Robinhood.

Follow the "learn more here" links in the warning messages.

Those warnings ought to be irrelevant to Robinhood compatibility, though.