% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_post_asset.R
\name{post_asset_convert_trade}
\alias{post_asset_convert_trade}
\title{Execute an Asset Convert Trade}
\usage{
post_asset_convert_trade(
  quote_id,
  base_ccy,
  quote_ccy,
  side,
  sz,
  sz_ccy,
  cl_t_req_id = NULL,
  tag = NULL,
  convert_mode = NULL,
  tz = .okx_default_tz,
  config
)
}
\arguments{
\item{quote_id}{Quote ID returned by [post_asset_convert_estimate_quote()].}

\item{base_ccy}{Base currency.}

\item{quote_ccy}{Quote currency.}

\item{side}{Trade side, such as `"buy"` or `"sell"`.}

\item{sz}{Trade size.}

\item{sz_ccy}{Currency in which `sz` is specified.}

\item{cl_t_req_id}{Optional client trade request ID.}

\item{tag}{Optional request tag.}

\item{convert_mode}{Optional OKX convert mode.}

\item{tz}{Timezone used for any timestamp parsing.}

\item{config}{API credential list.}
}
\value{
A `data.frame` describing the executed conversion trade.
}
\description{
Execute a confirmed asset conversion against a previously quoted price.
}
