← 返回 Skills 市场
90
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install conditional-order-tool
功能描述
[何时使用]当用户问'XX代码怎么投''条件单怎么设''ETF推荐什么策略'时;当用户说'帮我分析这个ETF''我的资金怎么配置条件单'时;当检测到股票代码+投资问题组合时。[不适合]场外基金赎回(周期长)、期货/期权(高风险衍生品)、个股深度基本面分析(需财报数据)。
使用说明 (SKILL.md)
条件单投资助手 📊
帮助用户根据 ETF/股票代码自动识别品种类型,推荐条件单策略,生成具体参数设置。
适用场景:
- 用户持有某只 ETF/股票,想知道用什么条件单
- 用户想了解 6 种条件单的适用场景和具体用法
- 用户需要根据资金量和风险偏好配置条件单组合
- 用户想了解不同品种(债券/黄金/行业/宽基)的条件单差异
边界条件:
- 不替代专业投资建议,参数仅供参考
- 不处理场外基金(赎回周期长,不适合条件单)
- 不处理期货/期权等高风险衍生品
- 个股分析仅限于条件单策略,不含基本面深度分析
- 实时价格依赖 API,网络不通时需手动输入
⚠️ 常见错误
错误 1:用网格交易做石油/资源 ETF
问题:
• 石油/资源类波动大,容易单边暴涨或暴跌
• 网格在单边行情中会被打穿,越买越套或早早卖飞
• 用户误以为"所有 ETF 都适合网格"
解决:
✓ 石油/资源类只用定价买入 + 定价卖出
✓ 分两批买卖,不做网格
✓ 必须设 -6% 止损
错误 2:股票不设止损
问题:
• ETF 不会退市,股票可能暴雷退市
• 股票可能单边下跌不回头
• 用户用 ETF 的思路做股票,不设止损
解决:
✓ 股票必须设定价卖出止损(-6%~-8%)
✓ 股票不做网格(除非高股息大盘蓝筹,且小仓位)
✓ 股票不做定投(除非超高股息,如国有大行)
错误 3:跨境 ETF 溢价 >5% 还买入
问题:
• 跨境 ETF(纳指/恒生/标普)有溢价风险
• 溢价 >5% 意味着你多付了 5% 以上
• 用户只看价格走势,忽略溢价率
解决:
✓ 跨境 ETF 溢价 >5% 绝对不买
✓ 买入前先查 IOPV 溢价率
✓ 回落卖出幅度设大一些(2%~3%,因为跨境波动大)
错误 4:债券网格格距设太大
问题:
• 债券 ETF 价格波动极小(每天可能只有 0.001~0.003)
• 格距设 1% 永远触发不了
• 用户用宽基 ETF 的格距做债券
解决:
✓ 债券格距设 0.003~0.005(固定值,不是百分比)
✓ 价格区间设 ±0.01
✓ 每笔委托 1000 份起
错误 5:条件单"一劳永逸"不调整
问题:
• 市场环境变化后,原条件单参数不再合理
• 品种走出单边行情,网格失效
• 用户设完就不管了
解决:
✓ 每月复盘一次条件单参数
✓ 品种走出区间后及时调整
✓ 网格在单边行情中手动暂停
🧪 使用示例
输入:
帮我分析 518880 怎么投,资金 5 万
预期输出:
- 识别:518880 = 黄金 ETF
- 推荐策略:网格交易(⭐⭐⭐⭐⭐)+ 定价买入(⭐⭐⭐⭐)+ 回落卖出(⭐⭐⭐)
- 不适合:定价卖出止损(黄金不止损)
- 具体参数:
- 网格:区间 ±4%,格距 0.5%~0.8%,每笔 2%~3% 资金
- 定价买入:分两档(小跌 97% 买 40%,大跌 94% 买 60%)
- 回落卖出:涨幅 ≥8% 后回落 1.5% 卖 30%
- 免责声明
输入:
513100 条件单怎么设?
预期输出:
- 识别:513100 = 纳指 100 ETF(跨境宽基)
- 推荐策略:反弹买入 + 回落卖出 + 定价买入
- 不适合:网格交易(溢价风险)+ 定投(汇率风险)
- 关键提醒:⚠️ 溢价 >5% 绝对不买
- 具体参数 + 免责声明
🔗 相关资源
scripts/conditional_order.py- 核心分析引擎(品种识别 + 策略推荐 + 参数生成)scripts/fetch_price.py- 实时价格获取(东方财富 API)references/strategy-matrix.md- 6 种条件单完整对比表references/etf-database.md- ETF 代码数据库
🔧 故障排查
| 问题 | 检查项 |
|---|---|
| 价格获取失败 | 检查网络,东方财富 API 可能被墙,需手动输入价格 |
| 代码未识别 | 检查代码是否在 ETF_DATABASE 中,不在则需手动指定类型 |
| 策略不触发 | 检查 description 是否包含触发词("怎么投""条件单""策略") |
| 参数不合理 | 检查当前价格是否正确,价格错误会导致参数全部偏差 |
| 脚本无权限 | chmod +x scripts/*.py |
安全使用建议
This package appears coherent with its purpose, but before installing: (1) note it will make outbound network requests to EastMoney and Tencent public APIs—if you restrict network access for skills, expect price fetching to fail and the tool to fall back to reference values; (2) the source/homepage is missing—while the repository includes readable Python code, confirm you trust the publisher before enabling autonomous use; (3) the skill does not execute trades or request broker credentials, so it cannot place orders, but do not provide trading account keys or secrets to it; (4) review the ETF_DATABASE for completeness and correctness for your markets, and test outputs on non-sensitive examples first.
功能分析
Type: OpenClaw Skill
Name: conditional-order-tool
Version: 1.0.1
The skill bundle is a financial analysis tool designed to recommend investment strategies and conditional order parameters for stocks and ETFs. The core logic in scripts/conditional_order.py and scripts/fetch_price.py uses standard Python libraries to fetch market data from public, reputable financial APIs (East Money and Tencent Finance). There is no evidence of malicious intent, data exfiltration, or dangerous execution sinks like eval() or os.system(). The instructions in SKILL.md are strictly focused on the financial domain, and the included test artifacts (evolve-test/) demonstrate a standard development and validation process.
能力评估
Purpose & Capability
Name/description (conditional-order ETF helper) match the included artifacts: an ETF database, strategy references, and two scripts (price fetch + strategy engine). Network access to market quote APIs is reasonable and expected for generating price-dependent parameters.
Instruction Scope
SKILL.md and tests instruct identification, strategy recommendation, and parameter generation. Runtime instructions and code reference only the ETF DB, strategy matrix, and price APIs; there are no directives to read unrelated system files, environment secrets, or to send data to unknown endpoints beyond the quoted market APIs.
Install Mechanism
No install spec; this is an instruction+script bundle. The code files are plain Python and do not download or execute external archives. Network fetches are limited to public market data endpoints (eastmoney, qt.gtimg.cn), which is expected for this use case.
Credentials
The skill requests no environment variables, credentials, or config paths. It uses public, unauthenticated HTTP APIs for price and premium data; no keys or sensitive tokens are required.
Persistence & Privilege
Flags show default behavior (always:false, agent can invoke autonomously). The skill does not request permanent/system-wide privileges or attempt to modify other skills; test scripts write local output files only within the repository (expected for test artifacts).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install conditional-order-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/conditional-order-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
修复 description 显示问题,优化参数生成逻辑
v1.0.0
初始版本:6种条件单策略推荐+参数生成
元数据
常见问题
条件单投资助手 是什么?
[何时使用]当用户问'XX代码怎么投''条件单怎么设''ETF推荐什么策略'时;当用户说'帮我分析这个ETF''我的资金怎么配置条件单'时;当检测到股票代码+投资问题组合时。[不适合]场外基金赎回(周期长)、期货/期权(高风险衍生品)、个股深度基本面分析(需财报数据)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。
如何安装 条件单投资助手?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install conditional-order-tool」即可一键安装,无需额外配置。
条件单投资助手 是免费的吗?
是的,条件单投资助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
条件单投资助手 支持哪些平台?
条件单投资助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 条件单投资助手?
由 lj22503(@lj22503)开发并维护,当前版本 v1.0.1。
推荐 Skills