market-signals
Skill0 starsChanged 3 months agoMITView on GitHub
技术信号扫描器 v1.1.0。从价格数据计算RSI(14)、均线(5/10/20)、 成交量异动、ATR波动率、MACD、布林带(±2σ)、VWAP。 综合评分(0-100)给出买入/关注/观望/回避建议。 支持多股票一键扫描(scan)、信号历史追踪(history)、支撑/阻力位识别。
In this repository6 other files it gives its agents.
- backtest-analyzerSkill
- fund-flowSkill
- market-sentimentSkill
- stock-plannerSkill
- stock-screenerSkill
- trade-trackerSkill
The file
Files
⚠️ 免责声明:本工具为辅助性参考工具,不构成投资建议,不构成法律建议。市场有风险,投资需谨慎;据此操作,风险自担。正式合规意见请咨询具备资质的律师。最终决策与责任由使用者自行承担。 仅供学习研究参考;> 仅供参考,不构成任何操作依据;市场有风险,投资需谨慎,据此操作风险自担。
📈 Market Signals
Overview
从价格数据自动计算8大技术指标,综合评分并给出操作建议。支持同时分析多只股票(按name列分组)、信号历史追踪、支撑/阻力位识别。
Usage
# 单只股票详细分析
python3 scripts/market_signals.py --file stock.csv --price-col close
# 多股票一键扫描(按name列自动分组)
python3 scripts/market_signals.py --file portfolio.csv --scan
# 信号历史追踪
python3 scripts/market_signals.py --file stock.csv --history --max-hist 60
# 查看股票列表
python3 scripts/market_signals.py --file portfolio.csv --list
# ASCII价格走势图
python3 scripts/market_signals.py --file stock.csv --chart
# 输出JSON
python3 scripts/market_signals.py --file stock.csv --output signals.json输出示例
📈 技术信号扫描
================================================================================
代码 现价 涨跌 RSI 均线 量 布林%b 评分 建议
--------------------------------------------------------------------------------
比亚迪 268.50 ↑2.3% 42.3 空头排列↓ 缩量↓↓ 0.1 35 回避
宁德时代 198.00 ↑1.5% 35.8 空头排列↓ 正常 0.2 30 回避
茅台 1,850 ↓0.5% 62.3 多头排列↑ 正常 0.6 75 买入
东方财富 15.20 ↑3.2% 28.5 短线偏弱 放量↑↑ 0.9 70 关注指标详解
| 指标 | 计算方式 | 信号含义 |
| RSI(14) | 14日相对强弱指数 | >70超买, <30超卖 |
| MA5/10/20 | 简单移动平均 | 多头排列↑(5>10>20), 空头排列↓(20>10>5) |
| 成交量 | 当日/5日均量比 | >2倍放量↑↑, >1.5倍放量↑, <0.5缩量↓↓ |
| ATR(14) | 14日平均真实波幅 | 占价格百分比,反映波动率 |
| MACD(12,26,9) | 指数均线差 | 金叉(hist>0), 死叉(hist<0) |
| 布林带(20,2) | MA20±2σ | %b<0.2下轨附近(超卖), %b>0.8上轨附近(超买) |
| VWAP | 成交量加权均价 | 当前价格相对VWAP的偏离度 |
| 支撑/阻力 | 20日局部极值 | 距当前价格的百分比距离 |
评分规则
| 信号 | 加分/减分 |
| RSI超卖(<30) | +15 |
| RSI超买(>70) | -15 |
| 多头排列 | +20 |
| 空头排列 | -20 |
| MACD金叉 | +10 |
| MACD死叉 | -10 |
| 放量↑↑ | +12 |
| 缩量↓↓ | -8 |
| 布林下轨附近(%b<0.1) | +12 |
| 布林上轨附近(%b>0.9) | -10 |
命令详解
| 命令 | 说明 |
| (默认) | 单股票或多股票分析 |
| --scan | 多股票一键扫描,综合排名 |
| --history | 逐日信号历史追踪 |
| --chart | ASCII价格走势图 |
| --list | 列出文件中的股票列表 |
| --json | JSON格式输出 |
| --output | 输出到文件 |
Security
- ✅ 纯本地运行,无网络请求
- ✅ 只读CSV价格文件
- ❌ 无任意代码执行
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
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.

