% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_market.R
\name{get_public_premium_history}
\alias{get_public_premium_history}
\title{Get premium history}
\usage{
get_public_premium_history(
  inst_id,
  after = NULL,
  before = NULL,
  bar = NULL,
  limit = NULL,
  config = NULL,
  tz = .okx_default_tz
)
}
\arguments{
\item{inst_id}{Character. Instrument ID.}

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

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

\item{bar}{Character or `NULL`. Bar size such as `"1m"` or `"1H"`.}

\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 `instId`, `premium`, and `ts`.
}
\description{
Retrieve premium-index history for an instrument.
}
