@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.
12 lines (11 loc) • 345 B
TypeScript
import type { Candle, RGBColor } from '../types/candlestick.js';
export declare class VolumePane {
height: number;
enabled: boolean;
bearishColor: RGBColor;
bullishColor: RGBColor;
unicodeFill: string;
constructor(height: number);
private colorize;
render(candle: Candle, y: number, maxVolume: number): string;
}