% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_account.R
\name{get_account_risk_state}
\alias{get_account_risk_state}
\title{Get account risk state}
\usage{
get_account_risk_state(config, tz = .okx_default_tz)
}
\arguments{
\item{config}{List. API credentials/config.}

\item{tz}{Character. Time zone for parsing timestamps. Default `"Asia/Hong_Kong"`.}
}
\value{
A one-row `data.frame` with the account risk flag and JSON-encoded
  risk-unit arrays.
}
\description{
Retrieve portfolio-margin account risk flags and affected risk units.
}
