get_data | R Documentation |
A function to get data from the Yahoo Finance API using the specified payload.
get_data(payload = NULL)
payload |
list. Payload that contains search criteria created using
the |
A data frame that contains data from the Yahoo Finance API for the specified search criteria.
filters <- list(
list("eq", list("region", "us")),
list("btwn", list("intradaymarketcap", 2000000000, 10000000000)),
list("btwn", list("intradaymarketcap", 10000000000, 100000000000)),
list("gt", list("intradaymarketcap", 100000000000)),
list("gt", list("dayvolume", 5000000))
)
query <- create_query(filters)
payload <- create_payload("equity", query)
data <- get_data(payload)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.