% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/patterns.R
\name{demo_ohlcv}
\alias{demo_ohlcv}
\title{Example OHLCV Data}
\usage{
demo_ohlcv(n = 120, seed = 123)
}
\arguments{
\item{n}{Number of rows to generate.}

\item{seed}{Random seed.}
}
\value{
A data frame with \code{date}, \code{open}, \code{high}, \code{low}, \code{close}, \code{volume}.
}
\description{
Produces reproducible synthetic OHLCV data for examples and tests.
}
\examples{
d <- demo_ohlcv(60, seed = 99)
head(d, 3)
}
