New article released provides introduction to analyzing stock data with R
This article, the first in a two-part series, describes how to load stock data into an R environment and how to properly visualize stock data using the R library quantmod.
The article provides some basic background knowledge on how stocks work along with a brief history of mathematics and computer science in finance. It describes how to use the Yahoo! Finance API and the R library quantmod for storing and visualizing stock data.
Most of the article describes how to properly visualize stock data. Japanese candlestick charts are covered, and issues about how to create informative charts for stock data are discussed.
The article contains extensive code examples. All code is heavily commented to ease understanding.
The series was originally a lecture given by Curtis Miller at the University of Utah for a class on data science, using Python. It became a series of blog posts that since have become immensely popular, having been viewed thousands of times and even being translated into Russian and Chinese. The new series "translates"
The article is available at https://ntguardian.wordpress.com/