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.

20 lines (19 loc) 599 B
import type { RGBColor } from '../types/candlestick.js'; import { Chart } from '../chart/chart.js'; export declare class ChartRenderer { bearishColor: RGBColor; bullishColor: RGBColor; private colorize; private renderChartContent; private renderCandle; private determineCandleCharacter; private renderUpperCandlePart; private renderLowerCandlePart; private addColoredField; private renderLabels; render(chart: Chart): Promise<string>; private renderChartBody; private renderChartLine; private renderVolumePane; private renderVolumeLine; }