UNPKG

pricehistory

Version:

Transforms raw OHLCV series data into enriched candles with technical indicators, pattern recognition, and trend analysis.

11 lines 569 B
import { type DataPoint, type Option, type Candle } from "./interfaces.js"; /** * Processes a series of raw OHLCV data points into enriched candles with technical indicators. * @example * pricehistory(series, { price: true, rsi: true, ema: true, macd: true }) * pricehistory(series, { price: true, color: true, candlestick: true }) * pricehistory(series, { open: "o", high: "h", low: "l", close: "c", volume: "v" }) */ declare function pricehistory(series?: DataPoint[], option?: Option): Candle[]; export default pricehistory; //# sourceMappingURL=index.d.ts.map