% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_post_configure.R
\name{post_account_position_margin_balance}
\alias{post_account_position_margin_balance}
\title{Adjust Position Margin Balance}
\usage{
post_account_position_margin_balance(
  inst_id,
  pos_side,
  type,
  amt,
  ccy = NULL,
  tz = .okx_default_tz,
  config
)
}
\arguments{
\item{inst_id}{Instrument ID.}

\item{pos_side}{Position side.}

\item{type}{Margin adjustment type, typically `"add"` or `"reduce"`.}

\item{amt}{Amount to add or reduce.}

\item{ccy}{Optional currency for isolated margin orders.}

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

\item{config}{A list containing API credentials.}
}
\value{
A `data.frame` describing the applied margin adjustment.
}
\description{
Increase or reduce margin for an existing position.
}
