View source: R/wrappers_get_market.R
| get_market_tickers | R Documentation |
Retrieve ticker snapshots for all instruments under an instrument type.
get_market_tickers(
inst_type,
uly = NULL,
inst_family = NULL,
config = NULL,
tz = .okx_default_tz
)
inst_type |
Character. Instrument type, e.g. '"SPOT"', '"SWAP"', '"FUTURES"', or '"OPTION"'. |
uly |
Character or 'NULL'. Underlying. Optional filter for derivatives. |
inst_family |
Character or 'NULL'. Instrument family. Optional filter for derivatives and options. |
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 'data.frame' with one row per ticker.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.