% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_get_copy_trade.R
\name{get_copy_trade_my_leaders}
\alias{get_copy_trade_my_leaders}
\title{Get my lead traders}
\usage{
get_copy_trade_my_leaders(
  inst_type = NULL,
  config,
  tz = .okx_default_tz,
  instType = inst_type
)
}
\arguments{
\item{inst_type}{Character or `NULL`. Filter by instrument type
(e.g., `"SWAP"`, `"MARGIN"`, `"SPOT"`). If `NULL`, returns all.}

\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"`.}

\item{instType}{Deprecated alias for `inst_type`.}
}
\value{
A `data.frame` with fields such as `nickName` and `uniqueCode`.
}
\description{
Retrieve the list of lead traders you are currently copying.
}
\details{
Wraps `/api/v5/copytrading/current-lead-traders`. Returns one row per
lead trader followed by your account.
}
\note{
Since okxr 0.1.2
}
\examples{
\dontrun{
cfg <- list(api_key = "xxx", secret_key = "xxx", passphrase = "xxx")
get_copy_trade_my_leaders(inst_type = "SWAP", config = cfg)
}

}
\seealso{
[get_copy_trade_settings()], [get_copy_trade_current_subpos()]

Other okxr-copytrading: 
\code{\link{get_copy_trade_current_subpos}()},
\code{\link{get_copy_trade_historical_subpos}()},
\code{\link{get_copy_trade_settings}()}
}
\concept{okxr-copytrading}
