← Back to Skills Marketplace
alan1121-j

Stock Selecter

by alan1121-J · GitHub ↗ · v3.3.2 · MIT-0
cross-platform ⚠ suspicious
120
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install stock-selecter
Description
统一选股技能包,整合14种策略(ROE筛选、MACD底背离、高股息、低估值、 费雪成长股、长期低位、近期放量、趋势分析、K线形态、布林带下轨、筹码集中、 现金流质量、北向资金、股东增持、分析师目标价),支持单策略、多策略组合筛选。 触发词(精准触发,覆盖明确选股意图): 按策略名:ROE选股、ROE筛选、MACD...
Usage Guidance
This package largely does what it says (a multi-strategy stock screener) and requires installing Python dependencies and supplying a Tushare token. Before installing or running it: 1) Be aware you must provide a TUSHARE token (either set environment variable TUSHARE_TOKEN or put it in config.json) — the registry metadata omits this requirement, so double-check you supply it. 2) The code currently posts the token to http://api.tushare.pro (plain HTTP). That can expose your token in transit; prefer to change the endpoint to HTTPS (https://api.tushare.pro) or otherwise confirm the transport is secure before using a real token. 3) Review output_dir default (Desktop) and change it if you don't want results saved to that location. 4) Install dependencies in an isolated environment (virtualenv) and scan the provided files yourself for any hardcoded endpoints or secrets. If you need higher assurance, ask the publisher to (a) correct the metadata to declare the required env var, and (b) update the code to use HTTPS and document the exact endpoints used.
Capability Analysis
Type: OpenClaw Skill Name: stock-selecter Version: 3.3.2 The stock-selecter skill bundle is a legitimate and well-structured A-share stock screening tool. It integrates 14 distinct financial and technical strategies (such as ROE, MACD, and Northbound Flow) using data from the Tushare Pro API. The code follows its stated purpose, implementing features like concurrent execution for technical analysis and interactive HTML report generation. No evidence of malicious intent, data exfiltration, or unauthorized system access was found; the tool responsibly handles API tokens and includes rate-limiting protections. Minor security observations, such as the use of HTTP for API calls and dynamic path loading in `utils/loader.py`, are common in this context and do not indicate malice.
Capability Assessment
Purpose & Capability
Name/description, CLI usage, SKILL.md, and the included Python code consistently implement a multi-strategy stock screener using Tushare data. The requested Python dependencies (pandas, numpy, requests, tushare) are proportionate to the stated functionality. However, the registry metadata claims no required environment variables while the code clearly requires a TUSHARE token (read from environment TUSHARE_TOKEN or config.json). This metadata mismatch is an incoherence that should be corrected.
Instruction Scope
The SKILL.md instructions and code are focused on screening stocks and generating reports. Runtime instructions reference only the Tushare API, config.json, and local output files (JSON/CSV/HTML). The skill explicitly excludes individual stock/price queries and doesn't instruct unrelated file reads or sending data to unknown external endpoints beyond the documented data source.
Install Mechanism
No remote install/downloads are specified; the package is delivered as code with a requirements.txt listing standard Python packages (tushare, requests, pandas, numpy, scipy). This is a normal distribution model (source bundle + pip deps) and not high-risk by itself.
Credentials
The code requires a TUSHARE token (via environment variable TUSHARE_TOKEN or config.json) to call the data API, but the skill metadata declared 'Required env vars: none' — an inconsistency. Critically, stock_utils.py sets the TUSHARE_API_URL to 'http://api.tushare.pro' and POSTs the token over plain HTTP, exposing the token to network eavesdropping or MitM. Using an unencrypted transport for an API token is a substantive security concern and disproportionate risk relative to the stated purpose.
Persistence & Privilege
The skill does not request always:true, does not claim to modify other skills or global agent settings, and is user-invocable only. It writes result files to an output directory (default Desktop) which is expected behaviour for a reporting tool but worth noting.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-selecter
  3. After installation, invoke the skill by name or use /stock-selecter
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.3.2
stock-selecter v3.3.2 修复API接口可疑问题
v3.3.0
**新增3大选股策略,拓展能力至14种策略** - 新增北向资金(northbound_flow)、股东增持(shareholder_buyback)、分析师目标价(analyst_target)三大选股策略,支持A股资金动向、持有人行为和分析师预期筛选。 - 支持相关新策略的全部参数配置与筛查,丰富单策略与多策略组合能力。 - 更新文档描述、触发词和策略表,正式纳入14种主流量化/基本面筛选体系。 - 提升综合评分和策略并发处理的灵活性与精准匹配。
v3.2.0
**Summary: Version 3.2.0 introduces three new stock screening strategies and significant enhancements in usability, combinability, and reporting.** - 新增三种策略:布林带下轨、筹码集中、现金流质量,支持共11种选股算法。 - 所有策略支持单独、任意组合(AND/OR/SCORE)筛选,并允许并发加速。 - 明确场景触发与排除范围,防止与个股分析/行情查询混淆。 - 全面丰富参数配置,所有策略专属参数均可命令行或接口单独设置。 - 支持生成 HTML 可视化报告,结果自动保存为 JSON/CSV/HTML。 - 返回结果结构标准化,便于开发或手动分析后处理。
Metadata
Slug stock-selecter
Version 3.3.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Stock Selecter?

统一选股技能包,整合14种策略(ROE筛选、MACD底背离、高股息、低估值、 费雪成长股、长期低位、近期放量、趋势分析、K线形态、布林带下轨、筹码集中、 现金流质量、北向资金、股东增持、分析师目标价),支持单策略、多策略组合筛选。 触发词(精准触发,覆盖明确选股意图): 按策略名:ROE选股、ROE筛选、MACD... It is an AI Agent Skill for Claude Code / OpenClaw, with 120 downloads so far.

How do I install Stock Selecter?

Run "/install stock-selecter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Stock Selecter free?

Yes, Stock Selecter is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Stock Selecter support?

Stock Selecter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Stock Selecter?

It is built and maintained by alan1121-J (@alan1121-j); the current version is v3.3.2.

💬 Comments