% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_market.R
\name{get_public_insurance_fund}
\alias{get_public_insurance_fund}
\title{Get security fund balance information}
\usage{
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
)
}
\arguments{
\item{inst_type}{Character. Instrument type, such as `"MARGIN"`, `"SWAP"`,
`"FUTURES"`, or `"OPTION"`.}

\item{type}{Character or `NULL`. Fund update type filter.}

\item{inst_family}{Character or `NULL`. Instrument family filter for
derivatives.}

\item{ccy}{Character or `NULL`. Currency filter for margin data.}

\item{before}{Character or `NULL`. Pagination cursor for newer rows.}

\item{after}{Character or `NULL`. Pagination cursor for older rows.}

\item{limit}{Integer or `NULL`. Number of rows to request.}

\item{config}{Optional list. Public endpoint request options, such as
`timeout`; credentials are not required.}

\item{tz}{Character. Time zone for parsing timestamps. Default `"Asia/Hong_Kong"`.}
}
\value{
A `data.frame` with top-level fund totals; nested per-currency detail
  rows are JSON-encoded in `details`.
}
\description{
Retrieve public insurance-fund or security-fund balance information.
}
