% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_account.R
\name{get_account_position_risk}
\alias{get_account_position_risk}
\title{Get account and position risk snapshot}
\usage{
get_account_position_risk(
  inst_type = NULL,
  config,
  tz = .okx_default_tz
)
}
\arguments{
\item{inst_type}{Character or `NULL`. Instrument type filter. One of
`"MARGIN"`, `"SWAP"`, `"FUTURES"`, or `"OPTION"`.}

\item{config}{List. API credentials/config.}

\item{tz}{Character. Time zone for parsing timestamps. Default `"Asia/Hong_Kong"`.}
}
\value{
A `data.frame` with one row per OKX risk snapshot. Nested balance and
  position payloads are returned as JSON strings in `balData` and `posData`.
}
\description{
Retrieve account-level adjusted equity together with same-snapshot balance
and position risk payloads.
}
