% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_post_configure.R
\name{post_account_set_collateral_assets}
\alias{post_account_set_collateral_assets}
\title{Set Account Collateral Assets}
\usage{
post_account_set_collateral_assets(
  type,
  collateral_enabled,
  ccy_list = NULL,
  tz = .okx_default_tz,
  config
)
}
\arguments{
\item{type}{Type of update, typically `"all"` or `"custom"`.}

\item{collateral_enabled}{Logical. Whether the selected assets should be
collateral-enabled.}

\item{ccy_list}{Optional character vector of currencies. Required when
`type = "custom"`.}

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

\item{config}{A list containing API credentials.}
}
\value{
A `data.frame` confirming the applied collateral asset setting.
}
\description{
Configure whether all or selected assets are treated as collateral.
}
