% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_account.R
\name{get_account_trade_fee}
\alias{get_account_trade_fee}
\title{Get account trade fee rates}
\usage{
get_account_trade_fee(
  inst_type,
  inst_id = NULL,
  inst_family = NULL,
  group_id = NULL,
  config,
  tz = .okx_default_tz
)
}
\arguments{
\item{inst_type}{Character. Instrument type. One of `"SPOT"`, `"MARGIN"`,
`"SWAP"`, `"FUTURES"`, `"OPTION"`, or `"EVENTS"`.}

\item{inst_id}{Character or `NULL`. Instrument ID for spot or margin.}

\item{inst_family}{Character or `NULL`. Instrument family for futures, swaps,
or options.}

\item{group_id}{Character or `NULL`. Trading fee group ID.
Use this by itself.}

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

\item{tz}{Character. Time zone for parsing timestamps. Default `"Asia/Hong_Kong"`.}
}
\value{
A `data.frame` with fee level, fee-rate columns, and any nested
  `feeGroup` or deprecated `fiat` details JSON-encoded as strings.
}
\description{
Retrieve the account's trade fee schedule for a specific instrument type and
optional instrument, instrument family, or trading fee group.
}
