% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/endpoints-spot-market.R
\name{spot_get_klines}
\alias{spot_get_klines}
\title{Get Binance Spot klines}
\usage{
spot_get_klines(
  symbol,
  interval,
  startTime = NULL,
  endTime = NULL,
  timeZone = NULL,
  limit = 500,
  json_list = FALSE,
  config = config_spot()
)
}
\arguments{
\item{symbol}{Trading pair symbol, for example \code{"BTCUSDT"}.}

\item{interval}{Kline interval string.}

\item{startTime}{Optional start time in milliseconds since Unix epoch.}

\item{endTime}{Optional end time in milliseconds since Unix epoch.}

\item{timeZone}{Optional timezone string accepted by Binance.}

\item{limit}{Maximum number of rows to return.}

\item{json_list}{If \code{TRUE}, return the parsed list instead of a \code{data.table}.}

\item{config}{A spot configuration created by \code{\link[=config_spot]{config_spot()}}.}
}
\value{
A \code{data.table} by default, or a parsed list when \code{json_list = TRUE}.
}
\description{
Get Binance Spot klines
}
