Publications by Jack Tortolani
Code Along 3 Charting TdGet
#load packages library(tidyverse) # core functions ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5.1 ✔ tibble 3.2.1 ## ✔ lubrid...
59 sym R (2303 sym/8 pcs) 3 img
Reproduce Finance with r
Provide Major Takeaways from Ch1 in 50 words In reproducible finance goal is to replicate data and code in a way that can replicated and understood efficiently. There are 3 Universes xts, tidyverse, and tidyquant which each is the structure to our code. The amount of Packages R has makes it so powerful as it’s built on work of thousands of ind...
361 sym
Apply it to your data 2
Import stock prices stocks <- tq_get(c("BALY", "GE", "NVDA", "SNAP", "CRON", "XOM"), get = "stock.prices", from = "2018-01-01", to = "2024-06-01") stocks ## # A tibble: 9,335 × 8 ## symbol date open high low close volume adjusted ## <chr> <date> <dbl> <dbl> <dbl> <dbl> ...
200 sym Python (5070 sym/17 pcs) 1 img
Code Along 2 Chapter5
#Import Data flights ## # A tibble: 336,776 × 19 ## year month day dep_time sched_dep_time dep_delay arr_time sched_arr_time ## <int> <int> <int> <int> <int> <dbl> <int> <int> ## 1 2013 1 1 517 515 2 830 819 ## 2 2013 1 1 533 529 ...
569 sym Python (20211 sym/51 pcs) 1 img
Code Along 2 Chapter4
Coding basics R as a calculator 69^2 ## [1] 4761 x<- 69/420 # x assignment symbol What’s in a name? Calling functions Use of TAB seq(from = 1, to = 10, by = 1) ## [1] 1 2 3 4 5 6 7 8 9 10 continuation character, + seq(from = 1, to = 10) ## [1] 1 2 3 4 5 6 7 8 9 10 Printing to screen y <- seq(from = 1, to = 10)...
170 sym Python (186 sym/8 pcs)
Apply it to your data 1
Import stock prices stocks <- tq_get(c("BALY", "GE", "NVDA", "SNAP", "CRON", "XOM"), get = "stock.prices", from = "2018-01-01", to = "2024-06-01") stocks ## # A tibble: 9,335 × 8 ## symbol date open high low close volume adjusted ## <chr> <date> <dbl> <dbl> <dbl> <dbl> ...
50 sym Python (1108 sym/3 pcs) 1 img
Week 2 Code Along
Welcome Ch1 Introduction The data science project workflow Prerequisites R RStudio r packages Install the tidyverse package Running R code 1+2 ## [1] 3 Getting help Google Stackoverflow Ch2 Introduction to Data Exploration Ch3 Data Visualization Set up library(tidyverse) data mpg ## # A tibble: 234 × 11 ## manufacturer model d...
1400 sym R (4987 sym/31 pcs) 8 img
Best Practices 1
Chapter 1 It’s Not Just about Forecasting The following are the key points in the chapter. Elaborate on each point in at least 30 words. Understanding economics can help you to diagnose the causes of increases or decreases in sales volumes and costs. Economics can help us diagnose the causes of sales increases or decreases because say the...
1653 sym
Real world applications 1
Company Grappone Automotive Group Characteristics of the company The Company I am researching is Grappone Automotive Group. The Company was founded in 1925 and since then has ammassed a total of 99 Employees. Amanda Grappone leads the company as CEO, with Larry Haynes as President and James Snedeker as Business Manager. The company last repo...
547 sym
Best Practice 2
## # A tibble: 1,096 × 5 ## # Groups: symbol [8] ## symbol date price change text ## <chr> <date> <dbl> <dbl> <glue> ## 1 GDPC1 1947-01-01 2034. NA 1947.1, ## Growth: NA ## 2 GDPC1 1947-04-01 2029. -0.00267 1947.2, ## Growth: -0.3% ## 3 GDPC1 1947-07-01 2025. -0.00207 1...
3766 sym 1 tbl