data-raw/create_internal_data.R

# Script to recreate ADM data to be used in testing. 
# Gets 6 months of 2018 AMD stock data from yahoo. 

library(quantmod)
ADM <- getSymbols("ADM", from = "2018-01-01", to = "2018-06-30", auto.assign = FALSE)

save(ADM, file = "tests/testthat/ADM.rda")
pverspeelt/Quantfunctions documentation built on Oct. 10, 2021, 1:01 p.m.