- Introduction to Quantitative Trading
- Quantitative Trading - Advantages and Disadvantages
- Types of Quantitative Trading Strategies
- Momentum Strategies
- Mean Reversion Strategies
- Market Making Strategies and Day Trading Strategies
- How to Generate Trading Ideas
- Designing A Trading Strategy For Profit
- Backtesting a Trading Strategy - Considerations
- Risk Management of a Trading Strategy
- Risk Indicators - VIX Index and TED Spread
- Plotting the VIX Index and TED Spread in R
- Introduction to Quantmod in R
- Downloading Data Using Quantmod Package in R
- Creating Charts with Quantmod
- Data Analysis with Quantmod in R
- Measuring Overall ETFs Performance
- Quantstrat Example in R - EMA Crossover Strategy
- Quantstrat - EMA Crossover Strategy - Performance and Risk Metrics
- Quantstrat Example in R - RSI Strategy
- Quantstrat Case Study - Multiple Symbol Portfolio
Introduction to Quantmod in R
The quantmod package for R is designed to assist the quantitative traders in the development, testing, and deployment of statistics based trading models. Using quantmod, quant traders can quickly explore and build trading models.
The important features of quantmod that we will use are divided into three categories: 1) downloading data, 2) charting, and 3) technical indicators and other functions.
The Quantmod package provides useful tools for loading, and managing data in R. With Quantmod we can download data from public sources such as Yahoo, Oanda, Google, the Federal Reserve Economic Data(FRED), and also from SQL databases and CSV files.
The package has great capabilities for creating charts and we can plot different graphs types such as lines, bars and candlestick. Once we have the charts, we can add technical indicators into it to analyze signals, entry and exit points from a specific trading rules.
Technical Indicators and Trading Signals
Quantmod has a wide list of technical indicators (MACD, RSI, EMA, SMA, ROC, and ADX, among others) that we can plot together with the price series or price candlestick charts. Finally, it is possible to create trading signals with the indicators and plot them into the chart.
To start using the Quantmod library, you can install and load it in your R environment using the following commands in R console or R Studio (Preferred).
Free Guides - Getting Started with R and Python
Enter your name and email address below and we will email you the guides for R programming and Python.