% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_market.R
\name{get_public_funding_rate_history}
\alias{get_public_funding_rate_history}
\title{Get funding rate history}
\usage{
get_public_funding_rate_history(
  inst_id,
  before = NULL,
  after = NULL,
  limit = 400,
  config = NULL,
  tz = .okx_default_tz
)
}
\arguments{
\item{inst_id}{Character. Instrument ID, e.g. `"BTC-USDT-SWAP"`.}

\item{before}{Optional cursor for records earlier than the supplied value.}

\item{after}{Optional cursor for records later than the supplied value.}

\item{limit}{Integer. Number of records to request. Default `400`.}

\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` containing funding rate history rows returned by OKX.
}
\description{
Retrieve historical funding rate entries for a perpetual swap instrument.
}
