View source: R/HistoricalMarketCapitalization.R
get_historical_market_capitalization_data | R Documentation |
This function retrieves stock market tick data from the API.
get_historical_market_capitalization_data(
api_token,
ticker,
from_date = NULL,
to_date = NULL
)
api_token |
The API token for authentication. |
ticker |
is the ticker code and it consists of two parts: SYMBOL_NAME.EXCHANGE_ID |
from_date |
Format: YYYY-MM-DD. |
to_date |
Format: YYYY-MM-DD. |
A list containing the stock market tick data.
api_token <- "demo"
from_date <- "2017-09-10"
to_date <- "2017-09-12"
ticker <- "AAPL"
result <- get_historical_market_capitalization_data(api_token, ticker, from_date, to_date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.