Stock Analyzer for Openclaw

An all-in-one financial intelligence tool for real-time market data, fundamental analysis, and automated PDF report generation for A-share and Hong Kong markets.

hitjcl
v1.0.0
Apr 30, 2026
0
854
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install stock-analyzer-v2

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 stock-analyzer-v2 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 Stock Analyzer?

Stock Analyzer is a robust tool designed for Openclaw Skills that bridges the gap between raw market data and actionable investment insights. It integrates AkShare for zero-config real-time price tracking and JoinQuant (JQData) for deep fundamental metrics like PE, PB, and ROE.

The skill is built with a focus on security and automation, allowing developers and investors to generate comprehensive markdown reports and distribute them via email (Gmail/QQ) without hardcoding sensitive credentials. It provides a professional-grade workflow for monitoring market movements in the Shanghai, Shenzhen, and Hong Kong stock exchanges.

Stock Analyzer Use Cases

  • Real-time monitoring of stock prices, market caps, and trading volumes for specific tickers.
  • Automating fundamental research by fetching ROE, revenue growth, and valuation ratios.
  • Generating deep-dive analytical reports for multiple stocks simultaneously.
  • Setting up automated email alerts and report delivery for portfolio management.

How Stock Analyzer Works

  1. The agent parses the user request to identify specific stock codes (e.g., 03690.HK or 600519.SH).
  2. It fetches real-time market snapshots using the AkShare integration.
  3. If fundamental data is requested, it authenticates with JoinQuant to retrieve financial health metrics.
  4. The tool synthesizes the gathered data into a structured markdown report based on pre-defined templates.
  5. Finally, it utilizes SMTP protocols to securely email the generated report to the user.

Stock Analyzer Setup

To get started with this skill from the Openclaw Skills collection, install the dependencies and configure your environment variables:

pip install -r scripts/requirements.txt

# Configure financial data provider (JoinQuant)
export JQDATA_PHONE="your_phone_number"
export JQDATA_PASSWORD="your_password"

# Configure email delivery
export QQ_EMAIL_AUTH_CODE="your_auth_code"
export GMAIL_APP_PASSWORD="your_app_password"

Stock Analyzer Data Schema & Taxonomy

The skill organizes data through a clear directory structure and specific naming conventions for stocks:

Market Format Example
HK Stocks XXXXX.HK 03690.HK (Meituan)
Shenzhen (A) XXXXXX.SZ 300413.SZ (Mango Excellent Media)
Shanghai (A) XXXXXX.SH 600519.SH (Kweichow Moutai)

Generated reports are stored as .md files in the output directory, utilizing references/report_template.md for consistent taxonomy.

Stock Analyzer Advanced Features

  • Multi-market support covering HK, SZ, and SH exchanges within a single command.
  • Interactive credential management via jq_login.py for secure, non-persistent sessions.
  • Custom markdown templating for professional investment report styling.
  • Dual-source data verification combining real-time spot prices with historical fundamental data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*