Overview
- Skill Key
- chenweiw09/marcus-investment-skill
- Author
- chenweiw09
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/chenweiw09/marcus-investment-skill
- Latest Commit SHA
- 5b1eabd70ffc7423d6e9dd03023e389f83432e3f
Marcus 投资分析技能 - 基于缠论+MACD+RSI 的 A 股投资策略。用于股票分析、回测、投资建议。触发词:分析股票、回测策略、投资建议、Marcus 策略。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 marcus-investment-analyst 技能。 若已安装,则直接安装 marcus-investment-analyst 技能。
# Marcus 投资分析技能 **版本**: v6.0 **策略类型**: 缠论+MACD+RSI+ 追踪止损 --- ## 🎯 何时使用 使用此技能当用户需要: 1. 分析 A 股股票(技术指标、缠论中枢、买卖点) 2. 执行策略回测(历史数据验证) 3. 获取投资建议(仓位配置、行业配置) 4. 下载/更新股票指标数据(MACD、RSI、KDJ) --- ## 📋 核心策略参数 ```yaml 策略名称:优化版 5-存储芯片专用 缠论中枢: 周期:60 日均线 区间:±8% MACD: 快线:12 慢线:26 信号:9 RSI: 周期:6 超卖:20 超买:80 止损止盈: 止损:5% 止盈:15% 追踪:8% ``` --- ## 📈 买入条件 (需同时满足) 1. ✅ 价格在缠论中枢内 (60 日均线×0.92 ~ 60 日均线×1.08) 2. ✅ MACD 金叉 (DIF 上穿 DEA) 3. ✅ RSI6 < 20 (超卖) --- ## 📉 卖出条件 (满足任一) 1. ❌ 盈利 ≥ 15% (止盈) 2. ❌ 亏损 ≥ 5% (止损) 3. ❌ 从最高点回撤 ≥ 8% (追踪止损) 4. ❌ MACD 死叉 (DIF 下穿 DEA) 5. ❌ 价格跌破中枢下沿 --- ## 🎯 股票池 (20 支) ### 核心配置 (55-60%) | 股票 | 代码 | 行业 | 仓位 | |------|------|------|------| | 江波龙 | 301308 | 存储芯片 | 25-30% | | 兆易创新 | 603986 | 存储芯片 | 20-25% | ### 卫星配置 (25-30%) | 股票 | 代码 | 行业 | 仓位 | |------|------|------|------| | 东山精密 | 002384 | 消费电子 | 10-15% | | 金风科技 | 002202 | 风电 | 10% | | 四方精创 | 300468 | 软件 | 10% | | 云天化 | 600096 | 化工 | 8% | | 宝丰能源 | 600989 | 化工 | 8% | | 万向钱潮 | 000559 | 汽配 | 5% | | 中国铝业 | 601600 | 有色 | 5% | ### 回避 - 广汇能源 (600256) - 创新医疗板块 --- ## 🚀 使用脚本 ### 1. 运行策略回测 ```bash cd /root/.openclaw/workspace/skills/marcus-investment-analyst/scripts python3 marcus_ultimate_optimized_strategy.py ``` **输出**: 20 支股票的回测结果,包含收益、夏普比率、胜率 ### 2. 缠论分析单只股票 ```bash python3 marcus_chan_theory.py <股票代码> # 示例:python3 marcus_chan_theory.py 301308 ``` **输出**: 缠论中枢、背驰、买卖点分析 ### 3. 缠论回测 ```bash python3 marcus_backtest_chan.py <股票代码> # 示例:python3 marcus_backtest_chan.py 301308 ``` **输出**: 缠论策略历史回测结果 ### 4. 下载指标数据 ```bash python3 data_indicator_fetcher....
# Marcus 投资分析技能
**版本**: 6.0.0
**作者**: Marcus AI Agent
**许可**: MIT
---
## 📖 简介
Marcus 投资分析技能是一个基于缠论+MACD+RSI 的 A 股投资策略工具。提供股票分析、策略回测、投资建议等功能。
**核心策略**: 缠论中枢 + MACD 金叉 + RSI 超卖 + 追踪止损
---
## ✨ 功能特性
- 📊 **股票分析**: 缠论中枢、背驰检测、买卖点识别
- 📈 **策略回测**: 历史数据验证,夏普比率、胜率分析
- 💡 **投资建议**: 行业配置、个股推荐、仓位管理
- 📉 **指标下载**: 自动下载 MACD、RSI、KDJ 指标数据
---
## 🚀 使用方式
### 作为 OpenClaw 技能调用
```
"分析一下江波龙"
"回测 Marcus 策略"
"有什么投资建议?"
```
### 直接运行脚本
```bash
# 策略回测
python3 scripts/marcus_ultimate_optimized_strategy.py
# 个股分析
python3 scripts/marcus_chan_theory.py 301308
```
---
## 📊 回测表现 (2023-2026)
| 指标 | 数值 |
|------|------|
| 年化收益 | 21.96% |
| 夏普比率 | 0.56 |
| 胜率 | 75.0% |
---
## ⚠️ 风险提示
- 历史业绩不代表未来
- 投资有风险,需谨慎
- 建议分散配置
---
## 📁 文件结构
```
marcus-investment-analyst/
├── SKILL.md
├── LICENSE
├── README.md
├── scripts/
│ ├── marcus_ultimate_optimized_strategy.py
│ ├── marcus_chan_theory.py
│ ├── marcus_backtest_chan.py
│ └── data_indicator_fetcher.py
├── references/
│ ├── strategy.md
│ └── optimization_report.md
└── assets/
└── backtest_data.json
```
---
## 📞 支持
问题反馈:请通过 OpenClaw 社区反馈
---
**最后更新**: 2026-03-12
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.