% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_trade.R
\name{get_trade_orders_history_archive}
\alias{get_trade_orders_history_archive}
\title{Get archived trade orders history}
\usage{
get_trade_orders_history_archive(
  inst_type,
  inst_family = NULL,
  inst_id = NULL,
  ord_type = NULL,
  state = NULL,
  category = NULL,
  after = NULL,
  before = NULL,
  begin = NULL,
  end = NULL,
  limit = NULL,
  config,
  tz = .okx_default_tz
)
}
\arguments{
\item{inst_type}{Character. Instrument type.}

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

\item{inst_id}{Character or `NULL`. Instrument ID filter.}

\item{ord_type}{Character or `NULL`. Order type filter.}

\item{state}{Character or `NULL`. Order state filter.}

\item{category}{Character or `NULL`. Order category filter.}

\item{after}{Character or `NULL`. Pagination cursor for earlier records.}

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

\item{begin}{Character or `NULL`. Begin timestamp in milliseconds.}

\item{end}{Character or `NULL`. End timestamp in milliseconds.}

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

\item{config}{List. API credentials/config.}

\item{tz}{Character. Time zone for parsing timestamps.}
}
\value{
A `data.frame` with archived order rows.
}
\description{
Retrieve completed orders from the last 3 months.
}
