Facai Stock Monitor for Openclaw

A comprehensive AI agent skill for real-time A-share stock market analysis, watchlist management, and automated price monitoring.

liuwenchang
v1.0.0
Mar 5, 2026
0
873
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install facai-stock

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 facai-stock 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 Facai Stock Monitor?

Facai Stock is a specialized technical integration designed for AI agents to interact directly with the A-share market. It provides a robust framework for querying real-time financial data, including price changes, trading volumes, and market capitalization. By utilizing this skill, developers can empower their agents to provide professional-grade market insights and manage user portfolios with high precision.

As a part of the Openclaw Skills ecosystem, Facai Stock features a persistent watchlist system and a dedicated monitoring engine. It operates autonomously during trading hours, scanning for market movements and delivering notifications based on customizable volatility thresholds, making it an essential tool for automated financial tracking.

Facai Stock Monitor Use Cases

  • Querying real-time A-share stock details using 6-digit codes or company names.
  • Managing persistent stock watchlists for personalized market tracking.
  • Automated monitoring of price fluctuations with real-time alerts.
  • Building financial bots that push notifications via Openclaw Skills when stocks move more than 2%.

How Facai Stock Monitor Works

  1. The skill initializes by setting a persistent monitoring target (OpenID) in the local configuration file.
  2. Users query stock data through the AI agent, which uses fuzzy search or exact code matching to retrieve market details.
  3. The agent can add or remove stocks from a watchlist stored in a structured JSON format.
  4. A background monitoring process is activated, which polls the market every 10 seconds during active trading hours.
  5. When a price deviation exceeds the defined threshold (default 2%), the system triggers an alert via the Openclaw Skills messaging protocol.

Facai Stock Monitor Setup

First, configure your notification target by setting your unique OpenID:

python -c "import config; config.set('monitor_target', 'user:your_open_id')"

To start the real-time monitoring engine with default settings:

python -c "from monitor import start_monitor; start_monitor()"

You can also customize the interval and alert threshold:

python -c "from monitor import start_monitor; start_monitor(interval=30, threshold=1.5)"

Facai Stock Monitor Data Schema & Taxonomy

The skill manages data across several key files to ensure persistence and traceability:

Component File Path Description
Configuration data/config.json Stores the monitor target and global settings.
Watchlist data/watchlist.json Lists all tracked stock codes and their metadata.
Logs logs/monitor_*.log Captures monitoring events with a 2MB rotation limit.
Real-time Data Memory/JSON Handles latest price, change percentage, and volume.

Facai Stock Monitor Advanced Features

  • Hot-reloading watchlists: The monitoring process automatically detects changes to the watchlist file without requiring a restart.
  • High-frequency polling: Configurable intervals (down to 10s) for capturing rapid market movements.
  • Independent process management: The monitoring engine runs as a separate sub-process, ensuring stability and independent logging.
  • Error resilience: Automatically skips failed queries (e.g., rate limits) without interrupting the overall monitoring lifecycle.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*