Description Usage Arguments Value
Pull the most recent quote for a security/ies and specify the fields to pull
1 2 3 4 5 6 | yfinQuotes(
securities,
regions = "US",
fields = c("currency", "symbol", "longName", "regularMarketPrice", "bid", "ask",
"marketState")
)
|
securities |
String or vector of strings, maximum 10 securities. Must be all from the same region. |
fields |
Default c("currency", "symbol", "longName", "regularMarketPrice", "bid", "ask", "marketState") |
region |
Default: US; selects the stock exchanges to get security from. |
Data frame of stock market quote data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.