Publications by Daniel Lee
code along 13
# Load packages # Core library(tidyverse) library(tidyquant) # time series library(timetk) Goal Simulate future portfolio returns five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” market: “SPY” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symb...
414 sym R (8885 sym/35 pcs) 2 img
Document
# Load packages # Core library(tidyverse) library(tidyquant) # time series library(timetk) Goal Simulate future portfolio returns five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” market: “SPY” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symb...
447 sym R (9073 sym/36 pcs) 2 img
Real World Applications 11
Summarize article The Forbes article goes over how there is likely going to be a recession in the future, but that this will not be coming very soon and likely will take time. Through the article it focuses on the fact that a recession could be avoided but it is very unlikely, and that only policy actions can deter one but it would worsen the rat...
1440 sym
Code Along 13
# Load packages # Core library(tidyverse) library(tidyquant) # time series library(timetk) Goal Simulate future portfolio returns five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” market: “SPY” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symb...
414 sym R (8884 sym/35 pcs) 2 img
Apply 12
# Load packages # Core library(tidyverse) library(tidyquant) library(readr) # Time series library(lubridate) library(tibbletime) # modeling library(broom) Goal Examine how each asset contributes to portfolio standard deviation. This is to ensure that our risk is not concentrated in any one asset. 1 Import stock prices symbols <- c("TGT", "AM...
869 sym R (6264 sym/8 pcs) 1 img
Apply it to your data 13
# Load packages # Core library(tidyverse) library(tidyquant) # Source function source("../00_scripts/simulate_accumulation.R") 1 Import stock prices Revise the code below. Replace symbols with your stocks. Replace the from and the to arguments to date from 2012-12-31 to present. symbols <- c("WMT", "AMZN", "TGT") prices <- tq_get(x = sym...
1268 sym R (5225 sym/26 pcs) 2 img
Real World Applications 12
Summarize article This article focuses on the question. “Did globalization bring down inflation in the 90’s and 2000’s”. While also posing the question will de-globalization push inflation up when we go into these upcoming decades. We start to understand the affects on supply chains, and prices due to globalization and how with a possibil...
1673 sym
real world applications 13
Summarize article This article starts off by saying that inflation has jumped massively over the course of time from 1.4% to 8.2% currently, the author then questioned how its going to have the possible inflation hedges be performed. The article then goes to give examples about inflation and how over time the price of different goods would be dif...
1245 sym
Real World Applications 14
Summarize article In this article the author expresses that home prices and renting prices will be declining within the coming year. The reason for this is due to there being way more people in the population than there is will housing expansion. In the article it expresses that from the people who own property that mortgage rates are getting hig...
1802 sym
Real World Applications 15
Summarize article A global economic outlook is dwindling. Inflation-fighting efforts were in vain by the central bank due to the war between Russia and Ukraine. China is prioritizing political control over economic growth, and we can expect that there will end up being a global recession in the near future. In the article by Forbes the author exp...
2617 sym