Nothing
test_that("can get fundamentals metrics", {
skip_if_no_token()
x <- riingo_fundamentals_metrics(c("AAPL", "MSFT"), start_date = "2020-01-01")
cols <- c(
"ticker", "date", "marketCap", "enterpriseVal", "peRatio",
"pbRatio", "trailingPEG1Y"
)
expect_identical(all(cols %in% names(x)), TRUE)
expect_identical(unique(x$ticker), c("AAPL", "MSFT"))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.