2022-05-01から1ヶ月間の記事一覧

$SOXLと$XOMのGeneralized Additive Model解析

最近チャートを見ている$SOXLと$XOMのGeneralized Additive Model解析を行った。 library(tidyquant) library(mgcv) soxl <- tidyquant::tq_get("SOXL") soxl$year <- as.integer(format(as.Date(soxl$date), "%Y")) soxl$month <- as.integer(format(as.Dat…

tidyquant (quantmod)でError in new.session()が出る場合

github.com remotes::install_github("joshuaulrich/quantmod@358-getsymbols-new.session")