Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Consistent intraday growth (grad course project)

Research objective is to identify the pattern when consistent intraday growth/decline leads to subsequent positive/negative returns and to develop a trading algorithm based on research findings.

Currently, I am trying to identify the pattern (if there is one) when consistent intraday growth can lead to positive subsequent return. There are 3 different return periods for analysis: gap (day 0 close price, day 1 open price), open to close (day 1 open price, day 1 close price), and close to close (day 0 close price, day 1 close price). (day 0 is event day)

I am using Apple, date range is from January, 2002 until November, 2016.

Briefly, what I did so far:
1. Regressed daily returns to get b-coefficient and its standard error (volatility). (minutely prices were resampled to 15min bins)
2. Calculated corresponding gap, open to close, and close to close returns.
3. Generated scatter plots (did not tell much).
4. Generated heatmaps.

If you take a look at heatmaps:
In case of gap returns, the lower right part looks interesting. If we take beta larger than 50% decile and volatility lower that 30% decile, there are positive returns in 13 out of 15 observations (~ 86.7%).
In case of open to close returns, beta’s lowest decile look promising. Especially, if we take the lowest 10% decile, the open to close returns are positive across all volatility levels except two (80%).
Finally, in case of close to close returns, the higher left corner draws attention. Consider the section beta lower than 50% decile and volatility higher than 40% decile. Close to close returns are positive in 18 observations out of 24 (75%).

Next steps will be to analyse specific deciles (or ranges) and add filters.

Will be happy to hear any ideas! (how to interpret and visualise results better, what filters might be helpful, etc.)

P.S. It is my first project using Python and Quantopian. Hence, most probably my code is not super-efficient, so I am open to any suggestions.


Being updated.

3 responses

Hello? Would you mind sharing which course this is for? I try to keep vague track of what courses are using Quantopian so we can effectively provide support to educators and professors. If not that's fine but it would be helpful. Thanks!

https://www.quantopian.com/academia

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.

Hello Delaney! Sure, no problem sharing. Here is the link to the page of the course.

Great, thanks for letting me know and good luck with the course. Your professors can reach out to me directly at [email protected] if they have questions during the course.