• Home
  • The MeDCaVE - Research
  • Teaching
    • Teaching
    • BMED444
    • BMED-310-Bisignals&Systems
    • BMED-110-IntrotoProgramming
    • BIOENG-2385 Spring 2015
    • BIOENG-1330-2330
    • BIA Fall 2014
    • Engineering Pittsburgh's High School Curriculum
    • Communicative English
    • Prospective Student?
    • Passing Thoughts
  • Students
    • Students-NoLinks
    • Graduated Degree Students
  • Press
    • Community outreach
    • The MeDCaVE / QuantMD Press
    • FF2Israel2014
    • CIRC Review May 2014
  • Personal
    • The Menon Blog
    • Fiverr.com Gigs
    • Need a 2nd Opinion..?
  • Contact me!
    • Contact me!
    • Jobs
Prahlad G Menon, Ph.D Associate Professor -The MeDCaVE Lab

On Predictability and IntraDay Trading: The Value of a Candlestick

2/8/2016

16 Comments

 
PictureFigure 1. Intraday forecastability analysis.
Typically algorithmic traders attempt to leverage historical stock prices, price movements and functions of price or volume of trades, including Twitter or Stocktwits based sentiment to predict the direction of future stock prices. Such models are often supplemented by a money management strategy which is implemented in the form of a trade execution engine that uses the historical success of predictions made by a trained model or identified pattern to determine the amount of capital to invest (i.e. in the long or short direction) on future predictions. However, all inputs to an algorithmic trading model - machine learning based or simple pattern recognition - are not made equal.  In this blog post, I example the forecast-ability of intraday and end-of-day candlesticks by examining open, high, low, close and volume data, independently as well as in combination.

The approach for this analysis was inspired by Goerg 2012 [1] which presents an adaptation of principal component analysis i.e. a novel dimension reduction technique for temporally dependent signals, utilizing a new forecastability measure, Omega. Omega is an uncertainty metric defined based on the Shannon entropy [2] of the Fourier transform of the autocovariance function of a given univariate time series (i.e. open, high, low, close or volume, in this study). In this manner, Omega therefore forms a quantitative means to separate a multivariate time series into a forecastable (Omega >> 0) and an orthogonal white noise space (i.e. Omega ~ 0).  My analysis of SPY (S&P500 ETF) are presented below.

A look into 5, 10 and 60 minute intraday candlesticks of SPY between 1 Jan 2016 and 5 Feb 2016 led to a rather surprising revelation that intraday "volumes" are a better predictor of its future value than any of the other tested univariate time series' viz. open, high, low and close series'. Surprisingly, close prices - the often recommended gold-standard price that is supposedly least affected by end-effects, instabilities and such was found to be the "least" predictable series!

PictureFigure 2. EOD candlestick forecastability.
Au contraire, and slightly disappointingly so, volume wasn't as forecastable and index using end-of-day (EOD) candlestick data (see Figure 2), while the relative ly poor predictability of close and adjusted-close prices didn't cease to disappoint!

As expected, confidence in the reported forecastability, as evidenced by the p-value for the reported series-specific Omega, reduced as the lag for time series forecasting incremented further and further into the future (owing to perhaps a lesser amount of data being available at 10x5 minute intervals than 1x5 minute intervals, for instance). That said, all reported Omega data in Figure 1 (i.e. 5, 10 and 60 minute intraday candlestick analysis) and Figure 2 (EOD candlestick analysis) were statistically significant. 

Some lessons learned here, perhaps: a) Never underestimate the value of intraday candlesticks; and b) If you're an algorithmic traders attempting to leverage historical stock prices alone to predict prices, think again! Intraday volumes may serve your algorithm some pleasant surprises and improved predictive performance.  

Also of interest might be that an analysis of FCX (Freeport McRoran) and WTI (i.e. a Crude Oil metric - W&T Offshore Inc.) revealed similar results except that WTI adjusted-close prices were classified (based on the Omega / entropy analysis) as "white noise"!  


In principle, it is possible to leverage univariate Omega values as a maximizable objective function to design an optimal function of a time series (or a linear combination of time series') which are more forecastable than any independent univariate time series. Although this so-called optimal time series is likely to be highly stock and tick-interval / candlestick frequency specific, a truly forecastable truth is out there for every ticker! 

Oh, and in case you were wondering what the "blue dotted / dashed lines" were on the plots in Figures 1 and 2 - they represent the heightened level of predictability (i.e. Omega) of a multi-variate index determined as a linear combination of open, high, low, close and volume and open, high, low and close, respectively. In my experiments, so far, a 60% to 70% improvement in predictibility is possible to achieve using a combination of the univariate variable which constitute a standard candlestick time-series dataset.


References:
[1] Goerg GM. Forecastable Component Analysis (ForeCA). arXiv preprint arXiv:1205.4591. 2012 May 21.
[2] 
Shannon, C. E. (1948). A Mathematical Theory of Communication. Bell System Technical Journal 27, 379–23, 623–656.

16 Comments
check it out link
3/10/2016 03:32:24 pm

Hmm, that seems very interesting! You are able to explain some complicated things in simple enough words.
Thank you for posting this article. Lots of inspiration to you!

Reply
Stock Premium Tips link
4/22/2016 02:16:41 am

This blog made me your crazy follower. I am adding you in my favorite list so that next time I could read you again.

Reply
Blackmagic Specialist link
4/26/2016 04:46:12 am

This post is awesome. Thanks a ton

Reply
Mohini Vashikaran Mantra link
4/27/2016 03:08:59 am

Thanks author for this post.

Reply
Mcx crude tips link
4/28/2016 03:27:27 am

It's very creative blog I have really enjoyed keeping up with you on this blog.This is very helpful and attractive post for everyone. Thank you so much for this post.

Reply
Intraday Stock Cash Tips link
4/29/2016 01:31:22 am

I must say very helpful article you shared for intraday traders. I read you blog and found very informative. Keep updating....

Reply
term paper writing service link
7/4/2016 09:08:24 pm

I think, that this article will be useful for many people. Thank you very much for your perfect job. It was a pleasure for me to read it and to visit you site. Thank you again.

Reply
How to Hire Assignment Provider link
2/9/2017 01:10:20 am

I like this superb post your are great.

Reply
Essay Help for Good Grades link
5/3/2017 10:45:10 pm

You have great insight. Keep up the good work.

Reply
UK Dissertation Analysis Online link
5/4/2017 04:36:45 am

Get professional analysis for your dissertation by #1 UK site.

Reply
Assignment Help for Good Marks link
5/6/2017 02:57:34 am

Get good grades by hiring an assignment writer from Australia.

Reply
First Class Essay Help Reviews link
5/10/2017 03:16:14 am

This company hires professional writers for a preparation of insightful essay help reviews so that it could be easier for students to find reliable services.

Reply
Assignment Writing for A Grades link
5/12/2017 05:48:37 am

It is an extraordinarily professional assignment writing company that always provides matchless services to clients and students.

Reply
My Assignment Help link
8/26/2017 12:18:51 am

coolest work, you have put lots of time here I love this.

Reply
Online Economics Help link
9/9/2017 04:27:25 am

What a great information you shared with us, I am inspired by the method for the stage. It kept joined me regularly. Keep doing awesome. Thanks for sharing this blog article.

Reply
how to hack a facebook account link
10/2/2017 09:24:06 pm

Facebook is my favorite social media and know about almost every facts of facebook hacking, I am read various post about hack facebook account and one content that suits me about facebook hacking is that myfbhacker is the best way to how can i hack fb id easily, facebook hacker can be found using myfbhacker and know about how to hack fb account and more things to know for facebook hack.

Reply



Leave a Reply.

    Personal thoughts on Imaging, IoT, Megatrends, Technology & Travel - 
    The "New" Menon Blog

    Picture

    Prof. Prahlad G Menon, PhD

    Dr. Menon is an Associate Professor of Mathematics with appointments in Bioengineering at University of Pittsburgh and Biomedical Engineering at University of Texas at San Antonio.  He was previously a tenure-track, early-career assistant professor with the department of biomedical engineering at Duquesne University (Pittsburgh, PA) and until May 2015 on the faculty of the electrical and computer engineering (ECE) department in Carnegie Mellon University joint institute of engineering with Sun Yat-sen University (Pittsburgh, PA, USA and Guangzhou, China), where he currently maintains an adjunct professor appointment. He has served as adjunct faculty with the Dept of Biomedical Engineering at Carnegie Mellon University as well as the Heinz College of Information Science at Carnegie Mellon University. Dr. Menon's research group, The MeDCaVE, has its interests in the broad area of AI / data science applied to medical imaging analysis for biomarker discovery and more specifically in computational simulation of vascular flows and cardiovascular biomechanics, with application to diagnostics, surgical planning and interventional guidance.

    Also see the Prospective Student blog if you are a prospective student wishing to become affiliated with The MeDCaVE research group.


    Archives

    March 2023
    November 2020
    September 2017
    August 2017
    May 2016
    February 2016
    December 2015
    November 2015
    February 2015
    October 2014
    August 2014
    July 2014
    June 2014
    May 2014

    Categories

    All
    Chess
    Cloud Computing
    Condition Based Monitoring
    Daily Price Predictions
    Daily Price Predictions
    Data Science
    Education
    Healthcare
    IBM Bluemix
    IoT
    Market Sentiment Analysis
    Market Sentiment Analysis
    Medical Imaging
    Megatrends
    Nature
    Outreach
    Pacs
    Poetry
    Predictive Maintenance
    Radiology
    Real Estate
    Social Work
    Stock Market
    Stock Market
    Supercomputing
    Travel

    RSS Feed

Copyright 2012-14, Prahlad G. Menon
Free Domains