% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_account.R
\name{get_account_config}
\alias{get_account_config}
\title{Get account configuration}
\usage{
get_account_config(config, tz = .okx_default_tz)
}
\arguments{
\item{config}{List. API credentials/config, typically containing
`api_key`, `secret_key`, and `passphrase`.}

\item{tz}{Character. Time zone for parsing timestamps. Default `"Asia/Hong_Kong"`.}
}
\value{
A `data.frame` with columns like `uid`, `mainUid`, `acctLv`, `posMode`,
`autoLoan`, etc.
}
\description{
Retrieve account-level configuration information.
}
\details{
Wraps `/api/v5/account/config`. Includes account ID, mode, and position
mode flags. Returns one row.
}
\note{
Since okxr 0.1.2
}
\examples{
\dontrun{
cfg <- list(api_key = "xxx", secret_key = "xxx", passphrase = "xxx")
cfg_info <- get_account_config(config = cfg)
cfg_info
}

}
\seealso{
[get_account_balance()], [get_account_leverage_info()]
}
