candlestick-convert
Version:
OHLCV Candlestick converter and batcher with Typescript support
5 lines (4 loc) • 468 B
TypeScript
import { IntervalFunction, IOHLCV, OHLCV } from "../interfaces";
export declare const batchCandles: (candleData: OHLCV[], baseFrame?: number, newFrame?: number, includeOpenCandle?: boolean) => OHLCV[];
export declare const batchCandlesWithCustomInterval: (candleData: OHLCV[], intervalFunction: IntervalFunction, includeOpenCandle?: boolean) => OHLCV[];
export declare const batchCandlesJSON: (candleData: IOHLCV[], baseFrame?: number, newFrame?: number) => IOHLCV[];