Skip to main content

stock-data-skill

CLI tool and OpenClaw skill for stock/crypto data analysis. Provides 47 data tools covering A-shares, HK stocks, US stocks, and cryptocurrencies with multi-source failover.

Install

# Via pip
pip install stock-data-skill

Usage

# List all 47 available tools
stock-data --list

# A-share examples
stock-data stock_prices symbol=600519 market=sh limit=60
stock-data stock_realtime symbol=600519 market=sh
stock-data search keyword=茅台
stock-data stock_chip symbol=300058
stock-data stock_fund_flow symbol=300058

# US stock
stock-data stock_overview_us symbol=AAPL
stock-data stock_prices_global symbol=AAPL market=us limit=30

# Crypto
stock-data okx_prices instId=BTC-USDT bar=1D limit=60
stock-data binance_ai_report symbol=BTC

# Market overview
stock-data stock_news_global

# Health Check
stock-data data_source_status

Configuration

For standalone CLI usage, set environment variables in your shell:

export TUSHARE_TOKEN=your_token
export ALPHA_VANTAGE_API_KEY=your_key

OpenClaw automatically loads environment variables from ~/.openclaw/.env. Copy the example file and fill in your API keys:

cp .env.example ~/.openclaw/.env
# Edit ~/.openclaw/.env with your keys

See .env.example for all supported variables and how to obtain API keys.

OpenClaw Skill

Manually copy to your skills directory:

cp -r SKILL.md references/ ~/.openclaw/workspace/skills/stock-data/

Tool Categories

Category Count Examples
A-Stock Price & Quotes 3 stock_prices, stock_realtime, stock_batch_realtime
A-Stock Info & Search 4 search, stock_info, stock_indicators, get_current_time
A-Stock Market Flow 7 stock_zt_pool, stock_north_flow, stock_margin_trading
A-Stock Analysis 5 stock_chip, stock_fund_flow, stock_sector_spot
A-Stock Valuation 7 stock_valuation_compare, stock_dividend_history
A-Stock Shareholders 4 stock_locked_shares, stock_top10_holders
A-Stock Quant 3 stock_screener, trading_signals, backtest_strategy
US/HK Stock 7 stock_overview_us, stock_financials_us
Crypto 4 okx_prices, okx_loan_ratios, binance_ai_report
Market & System 3 stock_news, stock_news_global, data_source_status

License

MIT

Metadata

Release files for stock-data-skill 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stock-data-skill 0.0.2
File Size Uploaded Provenance
stock_data_skill-0.0.2.tar.gz 23.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stock-data-skill 0.0.2
File Interpreter ABI Platform
stock_data_skill-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / stock_data_skill-0.0.2.tar.gz

Download URL stock_data_skill-0.0.2.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ed658740514a33cf4daf5f3827f8bc378e8febf52c86647beb43da96a3355ecb
BLAKE2b-256 checksum
How to use checksums
897568c42998cb29de3d829b833a0199c650a4aa48cc05d6a7dc2c5b0149a436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / stock_data_skill-0.0.2-py3-none-any.whl

Download URL stock_data_skill-0.0.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f68a5fb3260ff5af6a7d5e9244f0430446d87d07497e35c6af9e4f4218f453b1
BLAKE2b-256 checksum
How to use checksums
fdb6ae9d78708a04338df566f44f9d70bb4b34f264987fff1ffa847396e8df97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for stock-data-skill 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page