Publications by Name

Apply4FinancialAnalytics

17.02.2023

1 Import stock prices of your choice 2 Convert prices to returns by quarterly ## # A tibble: 264 × 3 ## asset date returns ## <chr> <date> <dbl> ## 1 QQQ 2012-03-30 0.173 ## 2 QQQ 2012-06-29 -0.0492 ## 3 QQQ 2012-09-28 0.0693 ## 4 QQQ 2012-12-31 -0.0459 ## 5 QQQ 2013-03-28 0.0596 ## 6 QQQ 20...

566 sym 1 img

Apply to you data 3 Skewness

09.02.2023

# Load packages library(tidyverse) library(tidyquant) 1 Get stock prices and convert to returns Ra <- c("AMZN", "TSLA", "NFLX") %>% tq_get(get = "stock.prices", from = "2022-01-01") %>% group_by(symbol) %>% tq_transmute(select = adjusted, mutate_fun = periodReturn, period ...

248 sym R (3306 sym/11 pcs)

DAT3000_CodeAlong3

08.02.2023

0.1 What can RMarkdown be used for? HTML Reports & PDF Reports HTML Slide Decks & PowerPoint Interactive Dashboards Books with bookdown Websites with blogdown 0.2 Key Resources RMarkdown Website with Gallery Key Reference: RMarkdown - The Definitive Guide PDF Printing Setup: tinytex # PDF Knitting Setup: https://yihui.name/tinytex/ ...

1172 sym Python (2187 sym/8 pcs) 3 img 1 tbl

CodeAlong3 Performance Analysis With Tidyquant

09.02.2023

# Load packages library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.4.0 ✔ purrr 1.0.1 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 ## ✔ tidyr 1.3.0 ✔ stringr 1.5.0 ## �...

142 sym R (4307 sym/12 pcs)

DAT3000_Apply3

08.02.2023

Import data # excel file data <- read_excel("data/myData.xlsx") data ## # A tibble: 10,846 × 8 ## team team_name year total home away week weekly_attendance ## <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <chr> ## 1 Arizona Cardinals 2000 893926 387475 506451 1 77434 ## 2 Arizona Cardina...

107 sym 1 img

Code Along 1

29.01.2023

Welcome Ch1 Introduction The data science project workflow Prerequisites R RStudio r packages Install the tidyverse package Running R code Getting help Google Stackoverflow Ch2 Introduction to Data Exploration Ch3 Data Visualization Set up library(tidyverse) data mpg ## # A tibble: 234 × 11 ## manufacturer model displ year ...

1378 sym R (1799 sym/10 pcs) 7 img

Apply1

29.01.2023

Import stock prices stocks <- tq_get(c("CRM", "PYPL", "ABNB"), get = "stock.prices", from = "2016-01-01") stocks ## # A tibble: 4,096 × 8 ## symbol date open high low close volume adjusted ## <chr> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> ## 1 CRM 2016-01-04 77.1 77.2 75...

50 sym Python (1066 sym/3 pcs) 1 img