Publications by Jeromey Rancourt

Code along 10

01.11.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols...

443 sym R (4777 sym/18 pcs) 3 img

code along 9

01.11.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols...

443 sym R (4777 sym/18 pcs) 3 img

Code Along 8

25.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols...

427 sym R (3823 sym/16 pcs) 3 img

apply 7

19.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock two stocks: “TSLA”, “NKE” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("TSLA", "NKE") prices <- tq_get(x = symbols, get = "stock.prices", ...

344 sym R (1763 sym/13 pcs)

code along 7

18.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols, ...

429 sym R (4393 sym/18 pcs) 3 img

Apply 6

12.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock Choose your stocks. from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("TSLA", "NKE") prices <- tq_get(x = symbols, get = "stock.prices", from = "2012-1...

411 sym R (3777 sym/21 pcs) 2 img

Code Along 6

11.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols, ...

397 sym R (4015 sym/21 pcs) 2 img

Apply 5

06.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock Choose your stocks. from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("TSLA", "NKE") prices <- tq_get(x = symbols, get = "stock.prices", from = "2012-1...

453 sym R (1829 sym/12 pcs) 1 img

Code Along 5

04.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Collect individual returns into a portfolio by assigning a weight to each stock five stocks: “SPY”, “EFA”, “IJS”, “EEM”, “AGG” from 2012-12-31 to 2017-12-31 1 Import stock prices symbols <- c("SPY", "EFA", "IJS", "EEM", "AGG") prices <- tq_get(x = symbols, ...

350 sym R (2542 sym/14 pcs) 3 img

Apply 4 revised

04.10.2023

# Load packages # Core library(tidyverse) library(tidyquant) Goal Take raw prices of five individual stocks and transform them into monthly returns two stocks “NKE”, “TSLA”. 1 Import stock prices # Choose stocks symbols <- c("NKE", "TSLA") prices <- tq_get(x = symbols, get = "stock.prices", from = "2...

336 sym R (1450 sym/5 pcs) 1 img