Start Learning for Free

Join over 1,000,000 other Data Science learners and start one of our interactive tutorials today!

Placeholder

DataCamp course: Importing and managing financial data

June 22nd, 2016 in Announcements

Guest post by Joshua Ulrich - This article was first published on Foss Trading

The team at DataCamp announced a new R/Finance course series in a recent email:

Subject: Data Mining Tutorial, R/Finance course series, and more!

R/Finance - A new course series in the works

We are working on a whole new course series on applied finance using R. This new series will cover topics such as time series (David S. Matteson), portfolio analysis (Kris Boudt), the xts and zoo packages (Jeffrey Ryan), and much more. Start our first course Intro to Credit Risk Modeling in R today.

I'm excited to announce that I'm working on a course for this new series! It will provide an introduction to importing and managing financial data.

If you've ever done anything with financial or economic time series, you know the data come in various shapes, sizes, and periodicities. Getting the data into R can be stressful and time-consuming, especially when you need to merge data from several different sources into one data set. This course will cover importing data from local files as well as from internet sources.

The tentative course outline is below. I'd really appreciate your feedback on what should be included in this introductory course! So let me know if I've omitted something, or if you think any of the topics are too advanced.

Introduction to importing and managing financial data

  1. Introduction and downloading data
    1. getSymbols design overview, Quandl
    2. Finding and downloading data from internet sources
      1. E.g. getSymbols.yahoo, getSymbols.FRED, Quandl
    3. Loading and transforming multiple instruments
    4. Checking for errors (i.e. summary stats, visualizing)
  2. Managing data from multiple sources
    1. Setting per-instrument sources and default arguments
      1. setSymbolLookup, saveSymbolLookup, loadSymbolLookup, setDefaults
    2. Handling instruments names that clash or are not valid R object names
  3. Aligning data with different periodicities
    1. Making irregular data regular
    2. Aggregating to lowest frequency
    3. Combining monthly with daily
    4. Combining daily with intraday
  4. Storing and updating data
    1. Creating an initial RData-backed storage
    2. Adjusting financial time-series
    3. Handling errors during update process

Comments

ilnurmak
Hi! When will this course be available?
12/13/16 1:45 AM |
alonsoquinones
Hi. I think it would be highly appreciated to also have a chapter covering how to use R for downloading data through API REST (including authentication), and how to transform the raw html data into clear finance data (OCHL) table format. Another topic would be recommendation on how to store the data in a structured way. Often the data will be used for backtest and the you would need to have different sets of data (or a method of having a datawarehouse thinking and setup a tool for change of time frame or queries of data)
08/20/16 3:45 PM |
marcusrockel
sounds nice :)
07/25/16 1:56 PM |