Create a Buy Signal using RSI in R with the Quantmod Package

58 ratings
Offered By
Coursera Project Network
2,602 already enrolled
In this Guided Project, you will:

How to Pull down Stock Data using the R Quantmod Package

Ability to quickly calculate daily returns on stocks chosen

Ability to create Buy/Sell Signals based on RSI Index

Clock2 Hours
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 1-hour long project-based course, you will learn how to pull down Stock Data using the R quantmod package. You will also learn how to perform analytics and pass financial risk functions to the data. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Data AnalysisR ProgrammingStock Analysis

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Task 1: In this task the Learner will be introduced to the Course Objectives, which is to how to pull Stock Data for analytics using the R quantmod Package and create a Buy Filter (Trading Rule) based on an RSI Technical Indicator. There will be a short discussion about the Interface and an Instructor Bio.

  2. Task 2: The Learner will load the needed packages. An exercise on how to build a simple filter will be illustrated and practiced as well.

  3. Task 3: The Learner will build the RSI Filter.

  4. Task 4: The for loop will be used to apply the RSI filter to the Daily Returns.

  5. Task 5: Trade signals will be created .

  6. Task 6: The learner will get exposure to the performanceanalytics package and visually see the drawdown of their RSI filter.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step


Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.