with one click
stock-filter-skills
股票多条件筛选、热门因子管理、Jiuyan 数据查询和抖音热点分析。提供 17 个 CLI 工具覆盖四大模块。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
股票多条件筛选、热门因子管理、Jiuyan 数据查询和抖音热点分析。提供 17 个 CLI 工具覆盖四大模块。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Professional trading strategy guides for prediction markets and crypto. Risk management, trend analysis, and best practices.
Manage Steven's A-share shadow trading dashboard. Triggers on: (1) "影子盘看板", "交易看板", "持仓状况", (2) placing or updating a simulated trade (buy/sell/止损/止盈), (3) updating positions or equity data, (4) reviewing trade history or P&L. Reads and writes to the shadow trading system under trade/.
Log every trade with full context (thesis, entry, exit, PnL, emotion, lesson). Generate weekly and monthly performance reports. Identify patterns in wins/losses. Use when recording a new trade, reviewing performance, running a weekly debrief, or updating the trading strategy based on results.
Institutional-grade options trading system with 10 strategy templates, interactive strategy router, IV analyzer, and portfolio manager. Get real-time trade recommendations based on market conditions.
Trading strategy development sandbox. User describes trading intent in natural language, agent writes a Python backtest strategy and returns results.
专业级智能股票监控预警系统 V2.1。支持收盘日报自动生成、反爬虫优化(Session级UA、多数据源冗余)、成本百分比预警、均线金叉死叉、RSI超买超卖、成交量异动监控、智能错误提醒。符合中国投资者习惯(红涨绿跌)。Use when user needs stock market monitoring, price alerts, daily reports, or automated trading notifications for A-shares and ETFs.
| name | stock-filter-skills |
| description | 股票多条件筛选、热门因子管理、Jiuyan 数据查询和抖音热点分析。提供 17 个 CLI 工具覆盖四大模块。 |
| metadata | {"openclaw":{"requires":{"bins":["node"],"env":["STOCK_API_BASE_URL"]},"primaryEnv":"STOCK_API_KEY","emoji":"📈"}} |
股票多条件筛选、热门因子管理、Jiuyan 数据查询和抖音热点分析。
当用户提到股票筛选、股票搜索、股票详情、股票对比、批量查询、股票分析、热门因子、因子预设、jiuyan/韭研、抖音热点等话题时,使用本技能。
安装依赖:
cd {baseDir} && npm install
需要配置以下环境变量(在 OpenClaw config 中设置 skills.entries.stock-filter-skills.env):
STOCK_API_BASE_URL: API 服务地址(必填)STOCK_API_KEY: API 认证密钥(必填,联系后端管理员申请)STOCK_API_TIMEOUT: 请求超时秒数(可选,默认 30)所有工具通过 CLI 调用,格式为:
node src/main.js <tool_name> '<JSON 参数>'
无参数的工具直接调用:
node src/main.js <tool_name>
工作目录必须为 {baseDir}。
stock_filter — 多条件筛选股票,支持分页排序
node src/main.js stock_filter '{"filters": {"market": ["sh"]}, "page": 1, "page_size": 20, "sort_field": "pe", "sort_order": "asc"}'
参数: filters(object, 筛选条件), page(int, 页码), page_size(int, 每页数量), sort_field(string, 排序字段), sort_order(string, asc/desc)
stock_filter_options — 获取所有可用筛选维度和选项(无参数)
node src/main.js stock_filter_options
使用 stock_filter 前应先调用本工具了解有哪些维度可用。
stock_search — 按关键词搜索股票
node src/main.js stock_search '{"keyword": "贵州茅台", "limit": 10}'
参数: keyword(string, 必填, 搜索关键词), limit(int, 可选, 返回上限默认10)
stock_detail — 获取股票详细指标(PE/PB/ROE/毛利率/负债率/营收/净利润/大单/概念板块)
node src/main.js stock_detail '{"code": "600519"}'
参数: code(string, 必填, 股票代码)
stock_detail_batch — 批量获取多只股票详情,并发请求提高效率
node src/main.js stock_detail_batch '{"codes": ["600519", "000858", "000333"]}'
参数: codes(array, 必填, 股票代码列表)
需要同时查看多只股票时使用本工具,比逐个调用 stock_detail 更高效。单只股票失败不影响其他结果。
stock_compare — 对比多只股票的指标,可指定对比字段
node src/main.js stock_compare '{"codes": ["600519", "000858"], "fields": ["pe", "pb", "roe", "gross_margin"]}'
参数: codes(array, 必填, 股票代码列表), fields(array, 可选, 对比字段列表)
不传 fields 则返回所有指标。传入 fields 时仅返回指定字段的对比数据,结果更精简易读。
hot_factor_list — 获取因子预设列表(无参数)
node src/main.js hot_factor_list
hot_factor_create — 创建因子预设
node src/main.js hot_factor_create '{"name": "成长股筛选", "factors": ["roe_high", "revenue_growth"]}'
参数: name(string, 必填, 预设名称), factors(array, 必填, 因子ID列表)
hot_factor_update — 更新因子预设
node src/main.js hot_factor_update '{"preset_id": "xxx", "name": "新名称"}'
参数: preset_id(string, 必填), name(string, 可选), factors(array, 可选)
hot_factor_delete — 删除因子预设(不可恢复)
node src/main.js hot_factor_delete '{"preset_id": "xxx"}'
参数: preset_id(string, 必填)
hot_factor_use — 使用预设并增加计数
node src/main.js hot_factor_use '{"preset_id": "xxx"}'
参数: preset_id(string, 必填)
hot_factor_sort — 调整预设排序
node src/main.js hot_factor_sort '{"preset_ids": ["id1", "id2", "id3"]}'
参数: preset_ids(array, 必填, 按期望顺序排列的ID列表)
jiuyan_stock_analysis — 获取股票综合分析
node src/main.js jiuyan_stock_analysis '{"stock_code": "300236"}'
参数: stock_code(string, 必填, 股票代码)
jiuyan_stock_theme — 获取股票主题/题材数据
node src/main.js jiuyan_stock_theme '{"stock_code": "300236"}'
参数: stock_code(string, 必填, 股票代码)
jiuyan_articles — 批量获取文章详情
node src/main.js jiuyan_articles '{"article_ids": "id1,id2,id3"}'
参数: article_ids(string, 必填, 逗号分隔的文章ID)
douyin_hotspot_list — 获取抖音热点列表
node src/main.js douyin_hotspot_list '{"page": 1, "page_size": 20}'
参数: page(int, 可选, 默认1), page_size(int, 可选, 默认20)
douyin_hotspot_detail — 获取热点详情
node src/main.js douyin_hotspot_detail '{"aweme_id": "xxx"}'
参数: aweme_id(string, 必填, 热点ID)
所有工具返回 JSON。错误时格式为 {"error": "描述"}。常见错误:认证失败(检查 API Key)、连接失败(检查服务是否启动)、参数错误。