diff --git a/articles/TQ00-introduction-to-tidyquant.html b/articles/TQ00-introduction-to-tidyquant.html index 89b4ab1e..0e19e2c5 100644 --- a/articles/TQ00-introduction-to-tidyquant.html +++ b/articles/TQ00-introduction-to-tidyquant.html @@ -101,7 +101,7 @@
vignettes/TQ00-introduction-to-tidyquant.Rmd
TQ00-introduction-to-tidyquant.Rmd
vignettes/TQ01-core-functions-in-tidyquant.Rmd
TQ01-core-functions-in-tidyquant.Rmd
aapl_prices <- tq_get("AAPL", get = "stock.prices", from = " 1990-01-01")
aapl_prices
-## # A tibble: 8,501 × 8
+## # A tibble: 8,502 × 8
## symbol date open high low close volume adjusted
## <chr> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 AAPL 1990-01-02 0.315 0.335 0.312 0.333 183198400 0.264
@@ -232,7 +232,7 @@ 2.1 Yahoo! Finance## 8 AAPL 1990-01-11 0.324 0.324 0.308 0.308 211052800 0.244
## 9 AAPL 1990-01-12 0.306 0.310 0.301 0.308 171897600 0.244
## 10 AAPL 1990-01-15 0.308 0.319 0.306 0.306 161739200 0.243
-## # ℹ 8,491 more rows
+## # ℹ 8,492 more rows
Yahoo Japan stock prices can be retrieved using a similar call,
get = "stock.prices.japan"
.
diff --git a/articles/TQ02-quant-integrations-in-tidyquant.html b/articles/TQ02-quant-integrations-in-tidyquant.html index cb30ce68..073fea6e 100644 --- a/articles/TQ02-quant-integrations-in-tidyquant.html +++ b/articles/TQ02-quant-integrations-in-tidyquant.html @@ -101,7 +101,7 @@Excel Users
Matt Dancho
-2023-09-29
+2023-10-01
Source:vignettes/TQ02-quant-integrations-in-tidyquant.Rmd
@@ -699,7 +699,7 @@TQ02-quant-integrations-in-tidyquant.Rmd
E ## 7 META 2013-07-31 0.479 0.0373 ## 8 META 2013-08-30 0.122 -0.0104 ## 9 META 2013-09-30 0.217 0.0253 -## 10 META 2013-10-31 -0.000398 0.0502 +## 10 META 2013-10-31 -0.000398 0.0503 ## # ℹ 182 more rows
The TTR::runCor
function can be used to evaluate rolling
correlations using the xy pattern. Looking at the documentation
@@ -928,12 +928,12 @@
vignettes/TQ03-scaling-and-modeling-with-tidyquant.Rmd
TQ03-scaling-and-modeling-with-tidyquant.Rmd
## # A tibble: 8,112 × 15
+## # A tibble: 8,115 × 15
## symbol company identifier sedol weight sector shares_held local_currency
## <chr> <chr> <chr> <chr> <dbl> <chr> <dbl> <chr>
## 1 UNH UNITEDHEALT… 91324P102 2917… 0.0996 - 5477820 USD
@@ -272,7 +272,7 @@ Method 2B: Use index or exchange## 8 UNH UNITEDHEALT… 91324P102 2917… 0.0996 - 5477820 USD
## 9 UNH UNITEDHEALT… 91324P102 2917… 0.0996 - 5477820 USD
## 10 UNH UNITEDHEALT… 91324P102 2917… 0.0996 - 5477820 USD
-## # ℹ 8,102 more rows
+## # ℹ 8,105 more rows
## # ℹ 7 more variables: date <date>, open <dbl>, high <dbl>, low <dbl>,
## # close <dbl>, volume <dbl>, adjusted <dbl>
You can use any applicable “getter” to get data for every
@@ -429,7 +429,7 @@ Analyze a Single Stock##
## Coefficients:
## (Intercept) year(date)
-## 58.86281 -0.02915
+## 58.86280 -0.02915
We can utilize the broom
package to get “tidy” data from
the model. There’s three primary functions:
## # A tibble: 5,408 × 8
+## # A tibble: 5,410 × 8
## symbol date open high low close volume adjusted
## <chr> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 AAPL 2013-01-02 19.8 19.8 19.3 19.6 560518000 16.8
@@ -601,7 +601,7 @@ Bad Apples Fail Gracefully, tq_get## 8 AAPL 2013-01-11 18.6 18.8 18.5 18.6 350506800 15.9
## 9 AAPL 2013-01-14 18.0 18.1 17.8 17.9 734207600 15.3
## 10 AAPL 2013-01-15 17.8 17.8 17.3 17.4 876772400 14.9
-## # ℹ 5,398 more rows
+## # ℹ 5,400 more rows
Now switching complete_cases = FALSE
will retain any
errors as NA
values in a nested data frame. Notice that the
error message and output change. The error message now states that the
@@ -615,7 +615,7 @@
## # A tibble: 5,409 × 8
+## # A tibble: 5,411 × 8
## symbol date open high low close volume adjusted
## <chr> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 AAPL 2013-01-02 19.8 19.8 19.3 19.6 560518000 16.8
@@ -628,7 +628,7 @@ Bad Apples Fail Gracefully, tq_get## 8 AAPL 2013-01-11 18.6 18.8 18.5 18.6 350506800 15.9
## 9 AAPL 2013-01-14 18.0 18.1 17.8 17.9 734207600 15.3
## 10 AAPL 2013-01-15 17.8 17.8 17.3 17.4 876772400 14.9
-## # ℹ 5,399 more rows
+## # ℹ 5,401 more rows
In both cases, the prudent user will review the warnings to determine
what happened and whether or not this is acceptable. In the
complete_cases = FALSE
example, if the user attempts to
diff --git a/articles/TQ03-scaling-and-modeling-with-tidyquant_files/figure-html/unnamed-chunk-15-1.png b/articles/TQ03-scaling-and-modeling-with-tidyquant_files/figure-html/unnamed-chunk-15-1.png
index 059eb055..0e32484b 100644
Binary files a/articles/TQ03-scaling-and-modeling-with-tidyquant_files/figure-html/unnamed-chunk-15-1.png and b/articles/TQ03-scaling-and-modeling-with-tidyquant_files/figure-html/unnamed-chunk-15-1.png differ
diff --git a/articles/TQ04-charting-with-tidyquant.html b/articles/TQ04-charting-with-tidyquant.html
index f3cec43f..5d74595a 100644
--- a/articles/TQ04-charting-with-tidyquant.html
+++ b/articles/TQ04-charting-with-tidyquant.html
@@ -101,7 +101,7 @@
vignettes/TQ04-charting-with-tidyquant.Rmd
TQ04-charting-with-tidyquant.Rmd
vignettes/TQ05-performance-analysis-with-tidyquant.Rmd
TQ05-performance-analysis-with-tidyquant.Rmd