search_stock | R Documentation |
Search for stocks and securities using company names, isin and cusip codes or tickers. Useful to get the exact tickers yahoo finance uses in order to query other financial data.
search_stock(search_term, keep_results = "all")
search_term |
The name, cusip code, isin code or stock ticker of a security. |
keep_results |
Set "top" for the first result per search, or "all" for all search results. |
Search results of securities matching the query. Available data: exchange name, shortname, ticker symbol, security type and more.
search_stock("Nike", keep_results = "all")
search_stock(c("Nike", "adidas"), keep_results = "top")
search_stock(search_term = "US4581401001", keep_results = "top")
search_stock(search_term = "594918104", keep_results = "top")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.