Crypto Real-Time USD Charting for Openclaw

A high-performance real-time WebSocket feed providing 1-second OHLC ticks and USD pricing for thousands of tokens across eight major blockchain networks.

divyn
v1.0.5
Mar 27, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install crypto-chart-usd

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install crypto-chart-usd using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Crypto Real-Time USD Charting?

The crypto-chart-usd skill provides developers with a direct pipeline to real-time market data without the latency of polling. By leveraging the Bitquery Trading.Tokens API, this Openclaw Skills addition streams 1-second interval candles (OHLC), volume metrics, and moving averages directly into your development environment. It serves as a unified interface for the crypto ecosystem, covering networks from Ethereum and Solana to Layer 2 solutions like Base and Arbitrum.

This tool is designed for high-frequency data requirements, offering millisecond-level granularity for developers building trading interfaces or analytics engines. By consolidating multi-chain data into a single WebSocket stream, it eliminates the need for managing multiple API connections, providing a streamlined path to professional-grade financial data.

Crypto Real-Time USD Charting Use Cases

  • Power live multi-token dashboards with sub-second price updates across different blockchains simultaneously.
  • Monitor USD-denominated volume and liquidity for specific tokens to identify market trends as they happen.
  • Build automated technical analysis bots that utilize real-time SMA, EMA, and Weighted moving averages.
  • Track cross-chain price discrepancies and volatility for arbitrage or risk management systems.

How Crypto Real-Time USD Charting Works

  1. The system validates the BITQUERY_API_KEY environment variable to ensure authorized access to the Bitquery Trading.Tokens API.
  2. A WebSocket connection is established with the token embedded as a query parameter for secure session initialization.
  3. A GraphQL subscription is dispatched to the endpoint, requesting specific fields such as OHLC prices and volume for a 1-second duration.
  4. The server pushes real-time JSON payloads containing market data whenever a new tick is generated on-chain.
  5. The skill parses the incoming stream, providing metadata for the token, block timing, and price averages for immediate consumption or logging.

Crypto Real-Time USD Charting Setup

To get started with this skill, ensure you have your API key ready and your environment configured.

# Export your Bitquery API Key
export BITQUERY_API_KEY=your_api_token_here

# Install the necessary WebSocket client for Python
pip install 'gql[websockets]'

# Execute the streaming script provided by Openclaw Skills
python ~/.openclaw/skills/crypto-chart-usd/scripts/stream_crypto_chart.py

Crypto Real-Time USD Charting Data Schema & Taxonomy

The skill returns a structured data object for every tick in the stream. Below is the primary metadata and pricing taxonomy:

Category Fields Description
Token Metadata Address, Name, Network, Symbol Identifies the specific asset and its native blockchain.
Block Info Date, Time, Timestamp Provides exact synchronization with the blockchain state.
Interval Start, End, Duration Defines the timeframe for the candle (default is 1 second).
Volume Base, Quote, Usd Quantifies the amount traded in various denominations.
Price Data Open, High, Low, Close The standard OHLC candle data for charting.
Averages SMA, EMA, Mean Pre-calculated moving averages for technical analysis.

Crypto Real-Time USD Charting Advanced Features

  • Multi-Chain Aggregation: Monitor Ethereum, Solana, BSC, Arbitrum, Base, Matic, Tron, and Optimism in a single stream.
  • Built-in Moving Averages: Access Exponential and Simple Moving Averages directly from the API without manual calculation.
  • USD Pricing Logic: Automatic identification of USD-quoted tokens for simplified financial reporting and dashboarding.
  • Flexible Intervals: Support for various candle durations beyond 1 second by modifying the subscription where clause.
  • Low-Latency Streaming: Uses WebSocket protocols to push data immediately, bypassing the overhead of traditional REST polling.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*