View source: R/wrappers_get_market.R
| get_market_index_components | R Documentation |
Retrieve component-exchange information for an index.
get_market_index_components(
index,
config = NULL,
tz = .okx_default_tz
)
index |
Character. Index identifier, e.g. '"BTC-USD"'. |
config |
Optional list. Public endpoint request options, such as 'timeout'; credentials are not required. |
tz |
Character. Time zone for parsing timestamps. Default '"Asia/Hong_Kong"'. |
A one-row 'data.frame' with 'index', 'last', 'ts', and JSON-encoded 'components'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.