agent-stock

AI 量化交易技能包。提供了股市实时数据获取工具,如市场概览、行业热力图、板块涨跌、个股资讯、日K/技术指标、资金流向与股票搜索等;还提供了交易决策的工作流,为用户提供股票交易建议。

3,891 stars

Best use case

agent-stock is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

AI 量化交易技能包。提供了股市实时数据获取工具,如市场概览、行业热力图、板块涨跌、个股资讯、日K/技术指标、资金流向与股票搜索等;还提供了交易决策的工作流,为用户提供股票交易建议。

Teams using agent-stock should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/agent-stock/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/anoyix/agent-stock/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/agent-stock/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How agent-stock Compares

Feature / Agentagent-stockStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

AI 量化交易技能包。提供了股市实时数据获取工具,如市场概览、行业热力图、板块涨跌、个股资讯、日K/技术指标、资金流向与股票搜索等;还提供了交易决策的工作流,为用户提供股票交易建议。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# AI 量化交易 agent-stock

利用 `stock` 命令获取市场、个股实时数据,再根据用户需求进行交易决策。

## 命令行工具 - stock

可以通过 `stock --help` 或 `stock <子命令> --help` 查看帮助。

### 市场数据

```bash
stock index --market <market>             # 大盘主要指数总览
stock chgdiagram --market <market>        # 涨跌分布
stock search <keyword>                    # 股票搜索,仅限股票名称、股票代码、股票简称搜索
stock query <condition>                   # 条件选股

# 仅限A股使用的命令
stock rank --sort <sort> --count <count>  # 市场股票排序,sort 默认值 turnover
stock pt --sort <ptSort> --count <count>  # 申万行业板块排序,sort 默认值:priceRatio

# 参数说明:
# - market: 市场,可选 ab|us|hk,默认 ab
# - sort: 排序类型,可选 turnover|amplitude|volumeRatio|exchange|priceRatio
# - count: 排序数量,默认 20,取值范围 1 - 100
# - keyword: 关键词,示例:腾讯、tengxun等
# - condition: 自然语言的条件语句,示例:"MACD金叉;KDJ金叉;非ST;非涨停;市盈率大于0;市盈率小于100;市值大于50亿;"
# - ptSort: 排序类型 price|priceRatio|priceRatioD5|priceRatioD20|priceRatioD60|priceRatioW52|priceRatioY
```

### 个股数据

```bash
stock detail <symbol>               # 个股详情,包含股票基本信息、实时行情、相关板块、资讯、日K数据、技术指标、资金流向等
stock quote <symbols>               # 个股实时行情(支持批量查询)
stock plate <symbol>                # 个股相关板块涨跌幅(地域/行业/概念)
stock news <symbol>                 # 个股最新新闻
stock kline <symbol>                # 日K数据以及技术指标(EMA/BOLL/KDJ/RSI)
stock fundflow <symbol>             # 资金分布与每日主力/散户净流向

# 参数说明:
# - symbol: 股票代码,支持 A 股、港股、美股
#   - A股:6 位数字,如 600519、000001
#   - 港股:5 位数字,如 00700
#   - 美股:us.<ticker>,如 us.aapl、us.msft(大小写不敏感)
# - symbols: 单个或多个股票代码,用逗号分隔,如 000001,00700,us.aapl
```

### 常用示例(映射到命令)

```bash
stock search 腾讯
stock detail 000001
stock quote 000001
stock quote 000001,600519
stock quote us.aapl
stock plate 600519
stock news 600519
stock kline 600519 --count 60
stock fundflow 600519
stock chgdiagram --market ab
stock rank --sort turnover --count 20
```

## 短线交易决策

### 工作流

- 1、参考文档 [references/trade.md](references/trade.md),了解交易决策流程。
- 2、根据用户提供的股票代码,使用 `stock` 命令获取实时数据。
- 3、根据获取到的数据,参考文档中的交易建议,进行交易决策。

Related Skills

openclaw-stock-skill

3891
from openclaw/skills

使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。

Data & Research

us-stock-analyst

3891
from openclaw/skills

Professional US stock analysis with financial data, news, social sentiment, and multi-model AI. Comprehensive reports at $0.02-0.10 per analysis.

Data & Research

stock-watchlist

3891
from openclaw/skills

Query real-time stock prices, basic quote fields, and manage a Markdown watchlist for A-share, Hong Kong, and US stocks. Use when users ask in Chinese or by ticker/code to search stocks, inspect current price and quote basics, or maintain a watchlist stored in a Markdown file.

Personal Finance

jarvis-stock-price - 股票价格查询

3880
from openclaw/skills

**版本**: 1.0.0

Data & Research

jarvis-stock-monitor

3880
from openclaw/skills

全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。

Finance & Trading

SKILL: stock-checker

3891
from openclaw/skills

## Description

akshare-a-stock

3891
from openclaw/skills

A股量化数据分析工具,基于AkShare库获取A股、港股、美股行情、财务数据、板块分析等。用于回答关于股票查询、行情数据、财务分析、资金流向、龙虎榜、涨停跌停、新股IPO、融资融券等问题。

Stock Skill - 股票查询

3891
from openclaw/skills

获取A股、港股、美股的实时行情数据。

stock-query

3891
from openclaw/skills

查询全球主要市场股票实时行情:A 股、港股、美股,以及场内 ETF、场外基金、主要指数。 需要:curl(HTTP 请求)、iconv(GBK→UTF-8 转码)。 Use when: 用户要求查询股价、基金净值、ETF 价格、大盘指数,或需要计算持仓市值时。 NOT for: 加密货币、期货、期权、外汇。

cn-stock-query

3891
from openclaw/skills

查询中国 A 股股票、场内 ETF 及场外基金的实时行情与最新净值。 Use when: 用户要求查询股价、基金净值、ETF 价格,或需要计算持仓市值时。 NOT for: 美股(含中概 ADR)、港股、加密货币、期货、期权。

openclaw-livestock-assistant

3891
from openclaw/skills

AI-powered livestock management assistant for Spanish-speaking farmers. Provides expert advice on herd management, animal health, reproduction, genetics, nutrition, and breed selection for bovine, ovine, caprine, porcine, equine, and poultry. Includes a Node.js REST API for persistent herd record-keeping (animal registration, health records, reproduction events). Use when the user asks about livestock, cattle, ganadería, herd management, animal health, veterinary advice, breeds, reproduction, nutrition, forage, or any livestock-related topic.

stock-prices

3891
from openclaw/skills

Query real-time stock prices and market data using the Stock Prices API. Responses are in TOON format—decode with @toon-format/toon. Use when fetching stock quotes, analyzing market data, or working with symbols like AAPL, NVDA, GOOGL, or any ticker symbols.