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.

16 lines (15 loc) 594 B
import type { CandleSetStats, ChartLabels } from '../types/candlestick.js'; export declare class InfoBar { name: string; labels: ChartLabels; constructor(name: string); private formatPrice; private renderPriceField; renderAverage(stats: CandleSetStats): string; renderHighest(stats: CandleSetStats): string; renderLowest(stats: CandleSetStats): string; renderPrice(stats: CandleSetStats): string; renderVariation(stats: CandleSetStats): string; renderVolume(stats: CandleSetStats): string; render(stats: CandleSetStats, width: number): string; }