
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@neabyte/candlestick-cli
Advanced tools
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.
Creating professional candlestick charts directly in your terminal, built with modern TypeScript and designed for developers who need real-time financial data visualization without leaving their terminal environment.
See CHANGELOG.md for version history and updates.
npm install @neabyte/candlestick-cli
Or clone and install locally:
git clone https://github.com/NeaByteLab/Candlestick-CLI.git
cd Candlestick-CLI
npm install
import { Chart } from '@neabyte/candlestick-cli'
const candles = [
{ open: 100, high: 105, low: 99, close: 103, volume: 1000, timestamp: 1640995200000, type: 1 },
{ open: 103, high: 108, low: 102, close: 106, volume: 1200, timestamp: 1640998800000, type: 1 },
{ open: 106, high: 110, low: 104, close: 109, volume: 1500, timestamp: 1641002400000, type: 1 }
]
const chart = new Chart(candles, { title: 'BTC/USDT', width: 120, height: 30 })
chart.draw() // Renders beautiful Unicode candlestick chart in terminal
# Install globally
npm install -g @neabyte/candlestick-cli
# Display chart from CSV file
candlestick-cli -f data.csv -t "BTC/USDT"
# Display chart from JSON file with custom colors
candlestick-cli -f data.json --bear-color "#ff6b6b" --bull-color "#51cf66"
# Display chart without volume pane
candlestick-cli -f data.csv --no-volume
# Display chart with custom dimensions
candlestick-cli -f data.csv -w 120 -h 30
# Live market data from cryptocurrency exchange
candlestick-cli -s BTC/USDT --timeframe 4h --limit 200
# Perpetual futures trading
candlestick-cli -s BTC/USDT:USDT --timeframe 1h --limit 150
# Watch mode with real-time updates
candlestick-cli -s BTC/USDT --watch --interval 30
# Export chart as PNG image (dark theme)
candlestick-cli -s BTC/USDT -o chart.png --background dark
# Export chart as PNG image (light theme)
candlestick-cli -s BTC/USDT -o chart.png --background light
# Export chart as text file
candlestick-cli -f data.csv -o chart.txt
# Custom volume height
candlestick-cli -f data.csv --volume-height 12
# Multiple timeframes
candlestick-cli -s BTC/USDT --timeframe 1m --limit 100
candlestick-cli -s BTC/USDT --timeframe 15m --limit 200
candlestick-cli -s BTC/USDT --timeframe 1d --limit 50
**Note**: Export dimensions are automatically optimized for best quality.
# Run with npx (if not installed globally)
npx @neabyte/candlestick-cli -f data.csv -t "BTC/USDT"
# Live data with npx
npx @neabyte/candlestick-cli -s BTC/USDT --timeframe 1h --limit 100
Contributions are welcome! Please see CONTRIBUTING.md for detailed guidelines on:
MIT License - see LICENSE for details.
[1.1.2] - 2025-08-04
--scale
Parameter - Completely removed scale parameter from CLI and API
scale
property from CliOptions
interface--scale
argumentcalculateCanvasDimensions
to use actual ASCII chart dimensionscalculateChartArea
to derive pixel dimensions from character dimensionsgetTerminalSize()
to reduce cognitive complexityprocess
references to use globalThis.process
--scale
references from CLI examplesFAQs
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.
We found that @neabyte/candlestick-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.