Fortune 500: Data Visualizing stock performance

Posted on Jun 17, 2018
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Shiny App:Β  https://isgitlevich.shinyapps.io/StockExplorer/

Introduction.Β 

Stock Explorer is an interactive dashboard that provides an easy interface to visualize data on Fortune 500 companies’ stock performance over time in relation to major market indicators and indices.Β  This application uses Yahoo Finance on the back-end to download the up-to date stock price information.Β  This dashboard is implemented using Shiny in conjunction with dyGraph library.

Fortune 500: Data Visualizing stock performance

Functionality and Data

The Fortune 500 companies are grouped by industrial sectors, such as Energy, Technology, Financials, etc.Β  The corresponding revenues, assets, income, and shares information for all companies in a given sector can be found by clicking on the Data tab.

Fortune 500: Data Visualizing stock performance

Leveraging dyGraph charting library, we can select the time period either by using a Range Selector on the bottom of the graph or by explicitly entering the Date Range on the dashboard’s side bar.Β  We can also visualize the long-term trends for a given stock by invoking Period Roller and entering the rolling period, for example, if we want to see monthly or annual trends, we would enter 30 or 365 into the rolling period window, respectively.

The major market indicators such as Dow Jones, SP500, and NYA can be plotted with our stock to see the relative performance.Β  This analysis can be done enhanced by invoking the Period Roller, that would allow to look closer at the comparative analysis period of interest.

Another useful tool for analyzing the stock performance is the Relative Strength Index (RSI).Β  It is a momentum oscillator that measures the speed and change of stock price movements.Β  The RSI can take values from 0 to 100.Β  The rule of thumb is that when the RSI is over 70 the stock is overbought, and oversold when below 30.Β  By entering the number of RSI periods, we can visualize it on the same graph with the stock Closing price.

Future work.Β 

The dashboard currently provides only descriptive functionality.Β  However, it can be enhanced by adding a predictive task component.Β  We can use the stock data to implement ARIMA or ARMA predictive models and place the resulting visualization under the Predictor tab.Β  The user will be able to interactively enter the prediction time period and model parameters.

About Author

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