UNPKG

@neabyte/candlestick-cli

Version:

Beautiful terminal candlestick charts with real-time trading data. Create stunning ASCII art charts directly in your terminal with support for live market data, custom colors, and professional trading visualization.

8 lines (7 loc) 569 B
import type { Candle, Candles } from '../types/candlestick.js'; export declare function validateCandle(candle: Candle): void; export declare function validateCandles(candles: Candles): void; export declare function validateRGBColor(r: number, g: number, b: number): void; export declare function validateChartDimensions(width: number, height: number): void; export declare function validateMargins(top: number, right: number, bottom: number, left: number): void; export declare function validateTimeRange(startIndex: number, endIndex: number, maxLength: number): void;