← Back to Skills Marketplace
Position Risk Manager
by
George Tao
· GitHub ↗
· v1.3.0
· MIT-0
334
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install position-risk-manager
Description
股票仓位管理与风控专家。不负责选股,专注仓位管理和头寸调度。提供移动跟踪止盈、阶梯式止盈、核心 - 卫星策略、动态再平衡等经典模型。适用于大幅浮盈、深度套牢、震荡洗盘等各种持仓场景,给出冷酷理性的买卖和调仓建议。使用场景:用户已有持仓,需要止盈/止损建议、仓位调整、风险控制、心理疏导时触发。
Usage Guidance
简明建议:
- 文档与包内文件不一致:SKILL.md 提到的脚本(scripts/trailing_stop.py、scripts/scaled_exit.py)和某些参考文件在清单中缺失。安装前向发布者确认完整文件或更新版,否则功能可能不完整。
- 第三方依赖与网络访问:主脚本会尝试导入 akshare(用于获取行情),如果你安装该库,它会发起网络请求以获取市场数据。仅在信任 akshare 包来源(PyPI)并了解其行为时才安装,或在隔离环境/虚拟环境中运行以降低风险。
- 代码审查:虽然当前脚本看起来只做本地计算且不上传数据,但在安装前最好手动打开并快速审查 scripts/position_calculator.py(已包含)以确认没有隐藏的外联或泄露行为。
- 运行建议:首次运行请在受限环境(虚拟机或容器)或虚拟环境中执行;如需联网获取实时报价,可考虑手工提供价格参数而不安装 akshare。
- 信任来源:源码作者与主页未知(source/homepage 均未提供),这增加了供应链信任的不确定性;如果你依赖该技能用于重要决策,要求作者提供完整源码和说明将有助于降低风险。
如果你愿意,我可以:
- 帮你检查 scripts/position_calculator.py 的完整内容(已经部分包含),列出所有可能的网络调用点;
- 或者帮助你构造一个隔离的运行步骤(虚拟环境/容器)来安全试用该脚本。
Capability Analysis
Type: OpenClaw Skill
Name: position-risk-manager
Version: 1.3.0
The skill bundle is a legitimate stock position and risk management tool. The core logic in `scripts/position_calculator.py` performs financial calculations and optionally fetches real-time market data using the standard `akshare` library. The instructions in `SKILL.md` and the reference documents provide sound trading strategies and psychological guidance consistent with the stated purpose, with no evidence of malicious intent, data exfiltration, or harmful prompt injection.
Capability Assessment
Purpose & Capability
名称与描述(仓位管理与风控)与主脚本 scripts/position_calculator.py 的功能相符:计算盈亏、仓位占比并生成操作建议。_meta.json 也提到支持 AKShare 获取股价,与脚本中尝试导入 akshare 一致。唯一值得注意的是 SKILL.md 和资源表中提及了额外的脚本(scripts/trailing_stop.py、scripts/scaled_exit.py)及某些参考文件名(如 scaled-exit-patterns.md),但这些文件在清单中并不存在,表明包的文档与实际内容不一致。
Instruction Scope
SKILL.md 指示运行本地 Python 脚本(示例:python3 scripts/position_calculator.py --cost ...),并没有要求读取系统凭据或其它敏感路径。脚本本身进行本地计算并根据输入生成建议,未发现指示将数据发送到外部自定义端点。但脚本会尝试使用 akshare(若安装)以获取行情,这涉及网络访问来拉取市场数据;SKILL.md 没有明确说明何时或如何调用网络数据来源。
Install Mechanism
技能为说明性 + 附带脚本,无安装说明(无 install spec)。这降低了隐蔽下载的风险,但脚本提示用户安装 akshare/pandas(pip),第三方包会从 PyPI 安装并可能包含网络行为。shebang 指向 /home/linuxbrew/.linuxbrew/bin/python3.10(非标准但非恶意),可能影响可移植性。没有发现下载自不明 URL 或压缩包提取的高风险安装步骤。
Credentials
清单中未请求任何环境变量或凭据(requires.env 空),脚本也未读取外部凭据或敏感配置。只有潜在的网络请求来自 akshare(用于获取行情),但这与技能目的相符且不涉及用户秘密。
Persistence & Privilege
flags 中没有 always:true,也没有请求修改其他技能或系统配置的指示。默认的自主调用权限未见与其它可疑权限叠加的情况。技能不会强制常驻或提升权限。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install position-risk-manager - After installation, invoke the skill by name or use
/position-risk-manager - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
**Version 1.3.0**
- Enhanced the position_calculator.py script with new logic or improvements (details unspecified).
- Updated metadata to reflect the new version.
- No documentation or output template changes beyond version and meta updates.
v1.0.0
position-risk-manager v1.0.0
- 四大核心仓位管理模型:移动跟踪止盈、阶梯式止盈、核心-卫星策略、动态再平衡
- 标准持仓分析工作流,包括风险评估、趋势判断及策略匹配
- 提供标准化操作建议输出模板
- 包含实用脚本工具及经典风控与心理疏导资源
- 明确仓位管理铁律与操作纪律
Metadata
Frequently Asked Questions
What is Position Risk Manager?
股票仓位管理与风控专家。不负责选股,专注仓位管理和头寸调度。提供移动跟踪止盈、阶梯式止盈、核心 - 卫星策略、动态再平衡等经典模型。适用于大幅浮盈、深度套牢、震荡洗盘等各种持仓场景,给出冷酷理性的买卖和调仓建议。使用场景:用户已有持仓,需要止盈/止损建议、仓位调整、风险控制、心理疏导时触发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 334 downloads so far.
How do I install Position Risk Manager?
Run "/install position-risk-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Position Risk Manager free?
Yes, Position Risk Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Position Risk Manager support?
Position Risk Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Position Risk Manager?
It is built and maintained by George Tao (@georgetao730); the current version is v1.3.0.
More Skills