Publications by Matt Bodi

Quiz 1

11.02.2020

Use the given code below to answer the questions. ## Load package library(tidyverse) # for cleaning, plotting, etc library(tidyquant) # for financial analysis ## Import data stocks <- tq_get("AAPL", get = "stock.prices", from = "2016-01-01") stocks ## Visualize stocks %>% ggplot(aes(x = date, y = adjusted)) + geom_line() Q1 Import Netflix ...

2352 sym R (1447 sym/5 pcs) 2 img

Mock Quiz 1

05.02.2020

Use the given code below to answer the questions. Q1 Get Walmart stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol for Walmart. You may find the ticker symbol for Microsoft from Yahoo Finance. ## # A tibble: 1,029 x 7 ## date open high...

1777 sym R (760 sym/1 pcs) 1 img

My First RMarkdown with Code

30.01.2020

Use the given code below to answer the questions. ## Load package library(tidyverse) # for cleaning, plotting, etc library(tidyquant) # for financial analysis ## Import data stocks <- tq_get("AAPL", get = "stock.prices", from = "2016-01-01") stocks ## # A tibble: 1,025 x 7 ## date open high low close volume adjusted ## <date> ...

1357 sym R (2697 sym/8 pcs) 2 img

My First Publication

23.01.2020

Q1 What is R? R is a coding engine that can run many functions Q2 What is RStudio? R is an open source coding application that provides its users with a friendly coding interface. Q3 What is R packages? **aye its some apps added to R studio** Note: For help with RMarkdown syntax, go Help > Cheatsheets > R Markdown Reference Guide. ...

158 sym R (183 sym/3 pcs)

Clean data

18.02.2020

In this exercise you will learn to clean data using the dplyr package. To this end, you will follow through the codes in one of our e-texts, Data Visualization with R. The given example code below is from Chapter 1.2 Cleaning data. Q1 select Keep the variables name, eye_color, and films. ## # A tibble: 87 x 3 ## name eye_color f...

986 sym R (4037 sym/8 pcs)

Quiz4-a

10.04.2020

The code for the moving average analysis below is taken from: https://www.r-bloggers.com/tidyquant-bringing-quantitative-financial-analysis-to-the-tidyverse/. library(tidyquant) library(tidyverse) # Conduct the trend analysis (moving average) for the Apple stock. # Import data from = today() - years(1) stock <- tq_get("AMZN", get = "stock.pric...

2375 sym R (9924 sym/21 pcs) 3 img

Bollinger Bands Analysis

10.04.2020

Q1 Import Walmart for the same period. Save the result under stock and print it. Hint: Use tq_get() from the tidyquant package. Q2 Calculate 20-day moving averages and 20-day running standard deviation. Save the result under stock and print it. Hint: Take stock, pipe it to tidyquant::tq_mutate to calculate 20-day moving averages, pipe it to tidy...

2563 sym 2 img

Term Project

01.05.2020

Q1 What is the title of the finance student competition you may consider competing? CFI Financial Modeling Case Competition. Q2 Describe the eligibility requirements, if any (e.g., undergraduate college student). There are three tiers for eligibility, Student, Professional, and Team. The first option, Student, is for anyone enrolled in a FMVA p...

2963 sym R (4462 sym/8 pcs)