agentleFS
wwumitwwumit/skills-stock/skills/stock-screener/SKILL.md

stock-screener

Skill0 starsChanged 3 months agoMITView on GitHub

🔎 多因子选股器 v1.0.2。连接 fund-flow / market-signals → stock-planner 的桥梁。 支持按 RSI、均线信号、量比、主力资金、PE、PB、市值、价格、涨跌幅等条件多因子筛选, 以及综合评分排序、单股明细分析、因子相关性分析。

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use technical-analysis.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Bhala-SrinivashSkill

    technical-analysis

    Systematic chart reading and technical analysis for NSE/BSE Indian equities. Covers trend identification, support/resistance mapping, volume analysis, indicator dashboards, and probabilistic scenario building. Uses Groww MCP for live data and yfinance for history.

    Also in 4 projects that use this

The file

Files
SKILL.md

⚠️ 免责声明:本工具为辅助性参考工具,不构成投资建议,不构成法律建议。市场有风险,投资需谨慎;据此操作,风险自担。正式合规意见请咨询具备资质的律师。最终决策与责任由使用者自行承担。 仅供学习研究参考;> 仅供参考,不构成任何操作依据;市场有风险,投资需谨慎,据此操作风险自担。

🔎 Stock Screener

Overview

多因子选股器,支持从CSV数据中根据技术面、资金面、基本面条件筛选股票,并输出综合评分。设计为连接 fund-flow / market-signals 与 stock-planner 的桥接工具。

5大子命令

命令功能适用场景
filter多条件筛选(RSI、均线、量比、资金、PE/PB、价格、市值等)快速定位符合指定条件的股票
rank多维加权评分排序(技术40%+资金30%+基本面30%)对候选池做综合排名
score单只股票详细评分(含各维度明细)深入研究某只个股
summary数据摘要统计(分布、均值、Top/Bottom 5)了解整体池状态
correlation因子相关性矩阵发现因子间的关联关系

评分模型

综合评分 = 技术面(40%) + 资金面(30%) + 基本面(30%)

技术面 = RSI评分(35%) + 均线信号评分(35%) + 量比评分(30%)
资金面 = 主力资金百分位评分(100%)
基本面 = PE评分(35%) + PB评分(30%) + 涨跌幅评分(35%)

Usage

# 1. 多条件筛选:RSI 30-70,量比>1.5,主力净流入>0
python3 scripts/screener.py filter --file stocks.csv \
  --rsi-min 30 --rsi-max 70 --volume-ratio-min 1.5 --fundflow-min 0

# 2. 综合评分排序(带权重调节)
python3 scripts/screener.py rank --file stocks.csv \
  --weight-tech 0.4 --weight-fund 0.3 --weight-basic 0.3

# 3. 单只股票明细
python3 scripts/screener.py score --file stocks.csv --code 600519

# 4. 数据摘要
python3 scripts/screener.py summary --file stocks.csv

# 5. 因子相关性分析
python3 scripts/screener.py correlation --file stocks.csv

工作流示例

从技术扫描到交易计划

# Step 1: 扫描技术信号
python3 scripts/market_signals.py --file portfolio.csv --scan

# Step 2: 用筛选器过滤出优质候选
python3 scripts/screener.py filter --file portfolio.csv \
  --rsi-min 40 --rsi-max 60 --ma-signal bullish --volume-ratio-min 1.2

# Step 3: 评分排序
python3 scripts/screener.py rank --file portfolio.csv --output candidates.csv

# Step 4: 生成交易计划
python3 scripts/stock_planner.py --positions candidates.csv

列名识别

自动识别中/英文列名,支持以下标准字段:

  • 代码: code, stock, symbol, 代码
  • RSI: rsi, RSI, rsi_14
  • 均线信号: ma_signal, MA信号
  • 量比: volume_ratio, 量比
  • 主力资金: main_flow, fundflow, 主力净流入
  • PE/PB: pe/PE/市盈率, pb/PB/市净率
  • 市值: market_cap, mcap, 总市值
  • 涨跌幅: change_pct, 涨跌幅

输出兼容性

  • filter --output 输出的CSV可直接用于 stock-planner 的 --positions 参数
  • rank --output 额外包含评分列,可用于后续分析

法律声明

本工具仅为辅助分析参考,不构成任何投资建议。数据来源于用户输入,所有筛选和评分结果仅供进一步分析使用。投资有风险,入市需谨慎。

版本历史

  • v1.0.0 (2026-07-19): 初始版本,支持filter/rank/score/summary/correlation 5个子命令

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.