Data Visualization on Stocks Earnings Announcements

Posted on Feb 24, 2019
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Few financial events garner as much attention as stock earnings announcements, and for good reason. They are the time in which a company discloses its sales, profits and its outlook for the near future. Traders are interested because data shows the announcements have the potential for large price movements.

Of course, big fluctuations happen all the time; however, in this case, the date is known well in advance. Given that, it is possible to capitalize on this event in ways in which may not be possible for more sudden events.As with any trading strategy, the analysis should be rigorous. The Earnings Analysis Tool I built can help bring important stock valuation factors to light. It can be seen here: https://mks212.shinyapps.io/earnings_shiny.


What Does It Show?

The app provides visual summary statistics for the prior 9 earnings announcements for each company in the S&P 500. Starting on the left, you find the stock selector by ticker and the slider to choose the number of trading days to analyze. Five days is one week’s worth of prices, and 22 is approximately one month.



On the top are 3 boxes, showing the average return after the selected number of days, the number of times the return was positive and the number of times it was negative, respectively.


 

Data

Moving to the charts, the top left shows the most popular statistic usually quoted, how the stock performed after its announcement.

Data Visualization on Stocks Earnings Announcements

On the bottom left, we can see how Apple performed leading up to each event. There are traders who prefer to trade during this period as stocks tend to be more stable than afterwards.

Data Visualization on Stocks Earnings Announcements

The final chart checks for seasonality. Before we go any further, it is crucial to point out that only 9 events have been considered, so any conclusions based on this chart will need to be confirmed with more data. With that being said, the chart indicates that Apple has been up in each announcement in the 2nd and 3rd quarters in the time period examined. This type of analysis can be helpful for stocks that we expect to have seasonal patterns. We no longer need to simply guess; we can look and see if the pattern actually plays out.

Data Visualization on Stocks Earnings Announcements

Case Study 1: Tiffany

The financial news is abuzz with retail stocks doing well in the 4th quarter due to holiday sales. Is it true? Let’s have a look at Tiffany’s performance 1 day after its earnings announcements:

The graph does not support this view. However, it does appear that TIF can do well in the 3rd quarter announcement. Why? Maybe most of the company’s orders come in the 2nd quarter, so when profits are announced in the summer, investors are happy. This is only one possible explanation, though. Again, it is worth mentioning, about two years of data is analyzed, so making full conclusions at this point is premature. Instead, this is only meant to serve as the basis for further research.

Case Study 2: IBM

To move outside the boundaries of seasonality, let’s look at a stock that seems to be moving in a similar direction regardless of season.

Looking at this chart, one can see that IBM tends to disappoint traders after most earnings announcements. While this may not be compelling enough to take a short position on IBM, it should make a trader think twice before betting that the stock will go up.

Next Steps

As mentioned before, this tool does not have enough data to reach strong conclusions; therefore, the first step will be to provide more data and statistically robust analysis along with it. Second, trading around earnings is often done in the options markets which adds another dimension to the positions that one can take. Therefore, incorporating this information will be very helpful. Lastly, it would be useful to tie in the actual earnings announcement data and how it relates to estimates. There are many instances when a stock announces a strong report only to drop, even when accounting for estimates. For this reason, an earnings report’s value may be limited, though it is certainly worth investigating.

 

 

About Author

Michael Sankari

Michael is a Certified Data Scientist with experience in R, Python and SQL. Furthermore, he has a strong background in the finance and real estate industries and loves using analytics to make better decisions.
View all posts by Michael Sankari >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI