npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

hummingbot-dashboard

v0.0.12

Published

Professional TradingView-style market data visualization dashboard for Hummingbot trading bots

Downloads

69

Readme

🐦 Hummingbot Dashboard (Beta)

Professional TradingView-style market data visualization dashboard for Hummingbot trading bots.

Features

  • 📊 TradingView-style Charts: Interactive candlestick and line charts using lightweight-charts v5.0.9
  • 🔄 Real-time Data: Live market data from multiple connectors (Binance, Hyperliquid, etc.)
  • 📈 Technical Analysis: Comprehensive market statistics and insights
  • 🎨 Modern UI: Beautiful, responsive design with dark mode support built on React 19 + Next.js 15
  • Fast: Optimized with TanStack React Query for efficient data fetching and caching
  • 🔍 Smart Startup: Automatic API connectivity check, colorful status messages, and graceful error handling

Quick Start

npx hummingbot-dashboard

The dashboard will:

  • Display a startup banner with version info
  • Check Hummingbot API connectivity
  • Show configuration details
  • Start the server on http://localhost:3002

Requirements

  • Node.js >= 18.0.0
  • Hummingbot instance running with API enabled (default: localhost:8000)

Configuration

Custom Port

npx hummingbot-dashboard --port=4000

Custom Hummingbot API

npx hummingbot-dashboard --api-url=http://192.168.1.100:9000

More Examples

# Show help
npx hummingbot-dashboard --help

# Custom port
npx hummingbot-dashboard --port=4000

# Custom API URL
npx hummingbot-dashboard --api-url=http://localhost:9000

# Custom port and API URL
npx hummingbot-dashboard --port=4000 --api-url=http://api.example.com:8080

Command Line Options

| Option | Description | Default | |--------|-------------|---------| | --port=<number> | Port to run dashboard | 3002 | | --api-url=<url> | Hummingbot API URL | http://localhost:8000 | | --help, -h | Show help message | - |

Usage

  1. Start Hummingbot with API enabled (default: http://localhost:8000)
  2. Run the dashboard: npx hummingbot-dashboard
  3. The dashboard will automatically check API connectivity and start
  4. Open your browser to http://localhost:3002
  5. Navigate to Market page for historical data analysis
  6. Select connector and trading pair to view interactive charts

Features in Detail

Market Data Page (/market)

  • Dynamic Configuration: Select from multiple connectors and trading pairs
  • Professional Charts: TradingView-style candlestick visualization with zoom, pan, and crosshair
  • Flexible Timeframes: Choose from 1m to 1d intervals with custom date/time ranges
  • Quick Time Ranges: 1 hour, 6 hours, 1 day, 7 days shortcut buttons
  • Comprehensive Statistics: Price changes, volume data, high/low analysis
  • Chart Types: Toggle between candlestick and line chart views

API Integration

  • Historical Candles: POST /market-data/historical-candles
  • Connector Discovery: GET /connectors/
  • Trading Rules: GET /connectors/{connector}/trading-rules
  • Error Handling: Robust error recovery with user feedback
  • Efficient Caching: React Query for optimized data management

Technical Architecture

  • Frontend: React 19 + Next.js 15 + TypeScript
  • Styling: Tailwind CSS + shadcn/ui components
  • Charts: Lightweight Charts (TradingView style)
  • State Management: TanStack React Query + Zustand
  • UI Components: Radix UI for accessibility

Troubleshooting

Cannot connect to Hummingbot API

The dashboard automatically checks API connectivity on startup and displays helpful status messages. If you see a connection warning:

  1. Make sure Hummingbot is running with API enabled
  2. Verify the API is accessible:
    curl http://localhost:8000/connectors/
  3. If using a custom API URL:
    npx hummingbot-dashboard --api-url=http://your-hummingbot-host:port

The dashboard will start regardless, but some features may not work without API access.

Port already in use

Use a different port:

npx hummingbot-dashboard --port=4000

No data showing in charts

  1. Verify your Hummingbot instance has the selected connector configured
  2. Check that the trading pair exists on the selected connector
  3. Ensure the time range contains trading activity

Documentation

For more information and development guides: