This is worth looking at since it is free for two months. I have tried the code for Quantopian and it works well after changing the sid parameter to proper one in the two lines context.security = sid(8554) and context.xtl = sid(8554) Download page
Useful program. I have tested a dozen of models in Quantopian and I use two for real trading. Robustness is very good but won;t be reached in a few days of trying. Some playing around is required. Simple program yet very powerful.