View source: R/wrappers_get_market.R
| get_public_insurance_fund | R Documentation |
Retrieve public insurance-fund or security-fund balance information.
get_public_insurance_fund(
inst_type,
type = NULL,
inst_family = NULL,
ccy = NULL,
before = NULL,
after = NULL,
limit = NULL,
config = NULL,
tz = .okx_default_tz
)
inst_type |
Character. Instrument type, such as '"MARGIN"', '"SWAP"', '"FUTURES"', or '"OPTION"'. |
type |
Character or 'NULL'. Fund update type filter. |
inst_family |
Character or 'NULL'. Instrument family filter for derivatives. |
ccy |
Character or 'NULL'. Currency filter for margin data. |
before |
Character or 'NULL'. Pagination cursor for newer rows. |
after |
Character or 'NULL'. Pagination cursor for older rows. |
limit |
Integer or 'NULL'. Number of rows to request. |
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 top-level fund totals; nested per-currency detail rows are JSON-encoded in 'details'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.