Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
About set Gap-on-Open strategy question

Hi,I'm a beginner on python. I keep learning python related knowledge to create my trading strategy but now I feel frustrated about it.

I want to use some of the website's trading strategies to combine with my trading strategy on Quantopian.

Mainly to develop a "spread trading strategy", I decide whether to go long or short by comparing the opening price or closing price of the past two days or other ways.

Below is the website I found related to this strategy:
1. http://www.quantatrisk.com/2014/08/05/gap-on-open-profitable-trading-strategy/
2. http://www.pythonforfinance.net/2017/02/20/intraday-stock-mean-reversion-trading-backtest-in-python/
3. https://www.quantconnect.com/forum/discussion/2296/getting-historical-closing-price/p1

Thank you very much for your help and thanks Quantopian :)