Coursera Project Network
Stock Analysis: Create a Buy Signal Filter using R and the Quantmod Package
Coursera Project Network

Stock Analysis: Create a Buy Signal Filter using R and the Quantmod Package

Taught in English

Chris Shockley

Instructor: Chris Shockley

4,378 already enrolled

Included with Coursera Plus

Guided Project

Learn, practice, and apply job-ready skills with expert guidance

Beginner level

Recommended experience

2 Hours
Learn at your own pace
No downloads or installation required
Only available on desktop
Hands-on learning
4.7

(81 reviews)

What you'll learn

  • 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

Details to know

Shareable certificate

Add to your LinkedIn profile

Guided Project

Learn, practice, and apply job-ready skills with expert guidance

Beginner level

Recommended experience

2 Hours
Learn at your own pace
No downloads or installation required
Only available on desktop
Hands-on learning
4.7

(81 reviews)

See how employees at top companies are mastering in-demand skills

Placeholder

Learn, practice, and apply job-ready skills in less than 2 hours

  • Receive training from industry experts
  • Gain hands-on experience solving real-world job tasks
  • Build confidence using the latest tools and technologies
Placeholder

About this Guided Project

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). There will be a short discussion about the Interface and an Instructor Bio.

  2. Task 2: The Learners will learn how to pull Stock Data and construct an xts object using the getsymbols function in the quantmod package.

  3. Task 3: The Learner will explore the lag function in R and how it is used to calculate a percentage stock change for a specified period.

  4. Task 4: The Learner will build a histogram that will help in the threshold for the model Buy signal.

  5. Task 5: The Learner will create a new vector using a For Loop over the data passing the Buy signal parameters. This will return a binary.

  6. Task 6: The learner will tie the Buy Signals to the data. A graph will then be created that will show both the buy signals and how the Signal performed on the specified data.

Recommended experience

Finance Background.

1 project image

Instructor

Instructor ratings
4.0 (5 ratings)
Chris Shockley
Coursera Project Network
10 Courses24,559 learners

Offered by

How you'll learn

  • Skill-based, hands-on learning

    Practice new skills by completing job-related tasks.

  • Expert guidance

    Follow along with pre-recorded videos from experts using a unique side-by-side interface.

  • No downloads or installation required

    Access the tools and resources you need in a pre-configured cloud workspace.

  • Available only on desktop

    This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

Showing 3 of 81

4.7

81 reviews

  • 5 stars

    75.30%

  • 4 stars

    20.98%

  • 3 stars

    3.70%

  • 2 stars

    0%

  • 1 star

    0%

NS
5

Reviewed on Jul 29, 2020

New to Data Analysis? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions