Coursera Project Network
Analyze Stock Data using R and Quantmod Package
Coursera Project Network

Analyze Stock Data using R and Quantmod Package

Taught in English

Chris Shockley

Instructor: Chris Shockley

4,517 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.3

(152 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 graph the stocks and calculate a Sharpe Ratio for risk evaluation

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.3

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

  2. Task 2: The Learners will first download stock data using quantmod and the Yahoo Finance API. The Learner will then get practice with the syntax of quantmod by sub-setting the stock data.

  3. Task 3: The Learner will get more experience manipulating the data using some R sub-setting functions.

  4. Task 4: The Learner will be introduced to Data Frames and Time Series Objects and learn the difference between them. Moreover the learner will get practice converting between the two.

  5. Task 5: The Learner will get practice pulling down adjusted daily return stock data using Microsoft's stock. The Instructor will teach you how to calculate the daily returns as well.

  6. Task 6: The Learner will get practice combining data for comparison. FB and Microsoft will be the two companies used. Remember this is more difficult than it appears since Microsoft has been around longer than Facebook (unequal rows). The Instructor will show you how to merge the data as to not have errors.

  7. Task 7: Learners will get practice calculating the Sharp Ratio on multiple stocks to see which stock is truly the riskier asset or the stock with the best risk return profile.

Recommended experience

Finance Background.

1 project image

Instructor

Instructor ratings
3.4 (6 ratings)
Chris Shockley
Coursera Project Network
10 Courses24,459 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 152

4.3

152 reviews

  • 5 stars

    62.50%

  • 4 stars

    23.02%

  • 3 stars

    6.57%

  • 2 stars

    1.31%

  • 1 star

    6.57%

AC
5

Reviewed on May 22, 2020

HB
4

Reviewed on Jun 1, 2020

K
5

Reviewed on Sep 9, 2022

You might also like

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